teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm.spec

Bill Nottingham 20e997
# build against xz?
Bill Nottingham 20e997
%bcond_without xz
Panu Matilainen cbac7f
# just for giggles, option to build with internal Berkeley DB
Jindrich Novy 871a78
%bcond_with int_bdb
Panu Matilainen 9ea2c1
# run internal testsuite?
Igor Gnatenko 9e41d4
%bcond_with check
Panu Matilainen 7c2b7d
# build with plugins?
Panu Matilainen 7c2b7d
%bcond_without plugins
Panu Matilainen 7c2b7d
# build with libarchive? (needed for rpm2archive)
Panu Matilainen 7c2b7d
%bcond_without libarchive
Florian Festi 592510
# build with libimaevm.so
Florian Festi 592510
%bcond_without libimaevm
Igor Gnatenko 7defdb
# build with new db format
Igor Gnatenko 7defdb
%bcond_with ndb
Panu Matilainen cae5fc
# build with zstd support?
Panu Matilainen cae5fc
%bcond_without zstd
Panu Matilainen cae5fc
# build with lmdb support?
Panu Matilainen cae5fc
%bcond_with lmdb
Panu Matilainen cbac7f
Panu Matilainen f780b8
%define rpmhome /usr/lib/rpm
cvsdist 02edfd
Panu Matilainen 0a7d17
%global rpmver 4.14.90
Panu Matilainen 0a7d17
%global snapver git14653
Igor Gnatenko 7b8121
%global rel 11
Panu Matilainen 0cd499
Igor Gnatenko 76e0e5
%global srcver %{version}%{?snapver:-%{snapver}}
Florian Festi ebc711
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
Panu Matilainen cbac7f
Jindrich Novy 16864e
%define bdbver 5.3.15
Panu Matilainen cbac7f
Panu Matilainen 3f8142
# Build-dependency on systemd for the sake of one macro would be a bit much...
Panu Matilainen 3f8142
%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
Panu Matilainen 3f8142
Paul Nasrat b1ecff
Summary: The RPM package management system
cvsdist 1bdb86
Name: rpm
Panu Matilainen cbac7f
Version: %{rpmver}
Panu Matilainen d4f7fd
Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
Paul Nasrat b1ecff
Url: http://www.rpm.org/
Florian Festi ebc711
Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
Panu Matilainen cbac7f
%if %{with int_bdb}
Panu Matilainen cbac7f
Source1: db-%{bdbver}.tar.gz
Panu Matilainen cbac7f
%endif
Panu Matilainen cbac7f
Panu Matilainen b1b48b
# Disable autoconf config.site processing (#962837)
Igor Gnatenko 81c625
Patch1: rpm-4.15.x-siteconfig.patch
Panu Matilainen 53b8b3
# In current Fedora, man-pages pkg owns all the localized man directories
Panu Matilainen ae9bea
Patch3: rpm-4.9.90-no-man-dirs.patch
Panu Matilainen 2176e2
# Temporary band-aid for rpm2cpio whining on payload size mismatch (#1142949)
Panu Matilainen 2176e2
Patch5: rpm-4.12.0-rpm2cpio-hack.patch
Igor Gnatenko adbe36
# https://github.com/rpm-software-management/rpm/pull/473
Igor Gnatenko adbe36
Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
Igor Gnatenko c06560
# https://github.com/rpm-software-management/rpm/issues/742
Igor Gnatenko 7b8121
#Patch7: 0001-Revert-Run-binary-package-generation-in-parallel-thr.patch
Igor Gnatenko 7b8121
Patch7: 0001-Only-permit-one-thread-at-a-time-in-addFileToTag.patch
Igor Gnatenko 82285f
Patch8: test.diff
Panu Matilainen 8b3e87
Panu Matilainen 44dace
# Patches already upstream:
Panu Matilainen d4f7fd
Jesse Keating 3bb32d
# These are not yet upstream
Igor Gnatenko 53960f
Patch906: rpm-4.7.1-geode-i686.patch
Adam Jackson 4dd6dd
# Probably to be upstreamed in slightly different form
Panu Matilainen 0a7d17
Patch907: rpm-4.15.x-ldflags.patch
Panu Matilainen ac1dca
Panu Matilainen cbac7f
# Partially GPL/LGPL dual-licensed and some bits with BSD
Igor Gnatenko 268821
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
Panu Matilainen 412a63
License: GPLv2+
Panu Matilainen 412a63
Panu Matilainen d9ecae
Requires: coreutils
Jindrich Novy e0e4c4
%if %{without int_bdb}
Panu Matilainen 61eecf
# db recovery tools, rpmdb_util symlinks
Panu Matilainen 106f86
Requires: %{_bindir}/db_stat
Jindrich Novy e0e4c4
%endif
Panu Matilainen c45828
Requires: popt%{_isa} >= 1.10.2.1
Panu Matilainen cbac7f
Requires: curl
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%if %{without int_bdb}
Panu Matilainen 106f86
BuildRequires: libdb-devel
Panu Matilainen cbac7f
%endif
cvsdist 9eb5b2
Panu Matilainen b60210
%if %{with check}
Panu Matilainen b4ee37
BuildRequires: fakechroot gnupg2
Panu Matilainen b60210
%endif
Panu Matilainen b60210
Panu Matilainen f780b8
# XXX generally assumed to be installed but make it explicit as rpm
Panu Matilainen f780b8
# is a bit special...
Panu Matilainen 0a7d17
BuildRequires: redhat-rpm-config >= 94
Panu Matilainen 29c140
BuildRequires: gcc make
Panu Matilainen 223b2f
BuildRequires: gawk
Tom Callaway cbf52c
BuildRequires: elfutils-devel >= 0.112
Tom Callaway cbf52c
BuildRequires: elfutils-libelf-devel
Tom Callaway cbf52c
BuildRequires: readline-devel zlib-devel
Igor Gnatenko 7f2780
BuildRequires: openssl-devel
Panu Matilainen cbac7f
# The popt version here just documents an older known-good version
Tom Callaway cbf52c
BuildRequires: popt-devel >= 1.10.2
Tom Callaway cbf52c
BuildRequires: file-devel
Tom Callaway cbf52c
BuildRequires: gettext-devel
Tom Callaway cbf52c
BuildRequires: ncurses-devel
Tom Callaway cbf52c
BuildRequires: bzip2-devel >= 0.9.0c-2
Tom Callaway cbf52c
BuildRequires: lua-devel >= 5.1
Tom Callaway cbf52c
BuildRequires: libcap-devel
Tom Callaway cbf52c
BuildRequires: libacl-devel
Panu Matilainen 0cd499
%if %{with xz}
Tom Callaway cbf52c
BuildRequires: xz-devel >= 4.999.8
Panu Matilainen cbac7f
%endif
Panu Matilainen 0cd499
%if %{with libarchive}
Panu Matilainen 7c2b7d
BuildRequires: libarchive-devel
Panu Matilainen 7c2b7d
%endif
Panu Matilainen cae5fc
%if %{with zstd}
Panu Matilainen cae5fc
BuildRequires: libzstd-devel
Panu Matilainen cae5fc
%endif
Panu Matilainen cae5fc
%if %{with lmdb}
Panu Matilainen cae5fc
BuildRequires: lmdb-devel
Panu Matilainen cae5fc
%endif
Panu Matilainen 5d52c2
# Couple of patches change makefiles so, require for now...
Panu Matilainen 953065
BuildRequires: automake libtool
Panu Matilainen 412a63
Panu Matilainen 7c2b7d
%if %{with plugins}
Panu Matilainen 7c2b7d
BuildRequires: libselinux-devel
Panu Matilainen 7c2b7d
BuildRequires: dbus-devel
Panu Matilainen 0a7d17
BuildRequires: audit-libs-devel
Panu Matilainen 7c2b7d
%endif
Panu Matilainen 7c2b7d
Florian Festi 592510
%if %{with libimaevm}
Panu Matilainen 85cd9c
BuildRequires: ima-evm-utils-devel >= 1.0
Florian Festi 592510
%endif
Florian Festi 592510
cvsdist 1bdb86
%description
cvsdist 73bf5c
The RPM Package Manager (RPM) is a powerful command line driven
cvsdist 1bdb86
package management system capable of installing, uninstalling,
cvsdist b1db19
verifying, querying, and updating software packages. Each software
cvsdist 1bdb86
package consists of an archive of files along with information about
cvsdist 1bdb86
the package like its version, a description, etc.
cvsdist 1bdb86
cvsdist 98655b
%package libs
Paul Nasrat b1ecff
Summary:  Libraries for manipulating RPM packages
Panu Matilainen 412a63
License: GPLv2+ and LGPLv2+ with exceptions
Igor Gnatenko 62c1bd
Requires: %{name} = %{version}-%{release}
cvsdist 98655b
cvsdist 98655b
%description libs
cvsdist 98655b
This package contains the RPM shared libraries.
cvsdist 98655b
Panu Matilainen f29fc6
%package build-libs
Igor Gnatenko 99d668
Summary:  Libraries for building RPM packages
Panu Matilainen f29fc6
License: GPLv2+ and LGPLv2+ with exceptions
Panu Matilainen f29fc6
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen f29fc6
Panu Matilainen f29fc6
%description build-libs
Igor Gnatenko 99d668
This package contains the RPM shared libraries for building packages.
Igor Gnatenko 99d668
Igor Gnatenko 99d668
%package sign-libs
Igor Gnatenko 99d668
Summary:  Libraries for signing RPM packages
Igor Gnatenko 99d668
License: GPLv2+ and LGPLv2+ with exceptions
Igor Gnatenko 99d668
Requires: rpm-libs%{_isa} = %{version}-%{release}
Igor Gnatenko 99d668
Requires: %{_bindir}/gpg2
Igor Gnatenko 99d668
Igor Gnatenko 99d668
%description sign-libs
Igor Gnatenko 99d668
This package contains the RPM shared libraries for signing packages.
Panu Matilainen f29fc6
cvsdist 1bdb86
%package devel
Paul Nasrat b1ecff
Summary:  Development files for manipulating RPM packages
Panu Matilainen 412a63
License: GPLv2+ and LGPLv2+ with exceptions
Igor Gnatenko a3e712
Requires: %{name} = %{version}-%{release}
Igor Gnatenko 76e0e5
Requires: %{name}-libs%{_isa} = %{version}-%{release}
Igor Gnatenko 76e0e5
Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
Igor Gnatenko 99d668
Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
Panu Matilainen 3025ee
Requires: popt-devel%{_isa}
cvsdist 1bdb86
cvsdist 1bdb86
%description devel
cvsdist b1db19
This package contains the RPM C library and header files. These
cvsdist b1db19
development files will simplify the process of writing programs that
cvsdist 1bdb86
manipulate RPM packages and databases. These files are intended to
cvsdist 1bdb86
simplify the process of creating graphical package managers or any
cvsdist 1bdb86
other tools that need an intimate knowledge of RPM packages in order
cvsdist 1bdb86
to function.
cvsdist 1bdb86
cvsdist 1bdb86
This package should be installed if you want to develop programs that
cvsdist 1bdb86
will manipulate RPM packages and databases.
cvsdist 1bdb86
cvsdist 1bdb86
%package build
Paul Nasrat b1ecff
Summary: Scripts and executable programs used to build packages
Panu Matilainen 61cb76
Requires: rpm = %{version}-%{release}
Panu Matilainen 61cb76
Requires: elfutils >= 0.128 binutils
Panu Matilainen 44830a
Requires: findutils sed grep gawk diffutils file patch >= 2.5
Florian Festi 026fff
Requires: tar unzip gzip bzip2 cpio xz
Florian Festi 026fff
%if %{with zstd}
Florian Festi 026fff
Requires: zstd
Florian Festi 026fff
%endif
Panu Matilainen 019f97
Requires: pkgconfig >= 1:0.24
Panu Matilainen 5e5b68
Requires: /usr/bin/gdb-add-index
Igor Gnatenko 268821
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
Igor Gnatenko 268821
Suggests: gdb-minimal
Panu Matilainen 6fb256
# Technically rpmbuild doesn't require any external configuration, but
Panu Matilainen 6fb256
# creating distro-compatible packages does. To make the common case
Panu Matilainen 6fb256
# "just work" while allowing for alternatives, depend on a virtual
Panu Matilainen 6fb256
# provide, typically coming from redhat-rpm-config.
Panu Matilainen 6fb256
Requires: system-rpm-config
cvsdist 1bdb86
cvsdist 1bdb86
%description build
cvsdist b1db19
The rpm-build package contains the scripts and executable programs
cvsdist b1db19
that are used to build packages using the RPM Package Manager.
cvsdist 1bdb86
Panu Matilainen f29fc6
%package sign
Panu Matilainen f29fc6
Summary: Package signing support
Igor Gnatenko 99d668
Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
Panu Matilainen f29fc6
Panu Matilainen f29fc6
%description sign
Panu Matilainen f29fc6
This package contains support for digitally signing RPM packages.
Panu Matilainen f29fc6
Igor Gnatenko 76e0e5
%package -n python2-%{name}
Panu Matilainen f5c5c3
Summary: Python 2 bindings for apps which will manipulate RPM packages
Igor Gnatenko 76e0e5
BuildRequires: python2-devel
Igor Gnatenko 76e0e5
%{?python_provide:%python_provide python2-%{name}}
Igor Gnatenko a3e712
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Igor Gnatenko 76e0e5
Provides: %{name}-python = %{version}-%{release}
Panu Matilainen ec7193
Obsoletes: %{name}-python < %{version}-%{release}
cvsdist a37c64
Igor Gnatenko 76e0e5
%description -n python2-%{name}
Thierry Vignaud 9e615f
The python2-rpm package contains a module that permits applications
cvsdist a37c64
written in the Python programming language to use the interface
cvsdist 02edfd
supplied by RPM Package Manager libraries.
cvsdist a37c64
Panu Matilainen f5c5c3
This package should be installed if you want to develop Python 2
Panu Matilainen f5c5c3
programs that will manipulate RPM packages and databases.
Panu Matilainen f5c5c3
Igor Gnatenko 76e0e5
%package -n python3-%{name}
Panu Matilainen f5c5c3
Summary: Python 3 bindings for apps which will manipulate RPM packages
Igor Gnatenko 76e0e5
BuildRequires: python3-devel
Igor Gnatenko 68f46e
%{?python_provide:%python_provide python3-%{name}}
Igor Gnatenko a3e712
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Igor Gnatenko 76e0e5
Provides: %{name}-python3 = %{version}-%{release}
Panu Matilainen ec7193
Obsoletes: %{name}-python3 < %{version}-%{release}
Igor Gnatenko 193c88
Obsoletes: platform-python-%{name} < %{version}-%{release}
Panu Matilainen f5c5c3
Igor Gnatenko 76e0e5
%description -n python3-%{name}
Thierry Vignaud 9e615f
The python3-rpm package contains a module that permits applications
Panu Matilainen f5c5c3
written in the Python programming language to use the interface
Panu Matilainen f5c5c3
supplied by RPM Package Manager libraries.
Panu Matilainen f5c5c3
Panu Matilainen f5c5c3
This package should be installed if you want to develop Python 3
cvsdist a37c64
programs that will manipulate RPM packages and databases.
cvsdist b60fd6
Panu Matilainen f780b8
%package apidocs
Panu Matilainen f780b8
Summary: API documentation for RPM libraries
Panu Matilainen 3c64bc
BuildArch: noarch
Panu Matilainen f780b8
Panu Matilainen f780b8
%description apidocs
Panu Matilainen f780b8
This package contains API documentation for developing applications
Panu Matilainen f780b8
that will manipulate RPM packages and databases.
Panu Matilainen f780b8
Panu Matilainen d9ecae
%package cron
Panu Matilainen d9ecae
Summary: Create daily logs of installed packages.
Panu Matilainen d9ecae
BuildArch: noarch
Panu Matilainen d9ecae
Requires: crontabs logrotate rpm = %{version}-%{release}
Panu Matilainen d9ecae
Panu Matilainen d9ecae
%description cron
Panu Matilainen d9ecae
This package contains a cron job which creates daily logs of installed
Panu Matilainen d9ecae
packages on a system.
Panu Matilainen d9ecae
Panu Matilainen 7c2b7d
%if %{with plugins}
Panu Matilainen 7c2b7d
%package plugin-selinux
Panu Matilainen 7c2b7d
Summary: Rpm plugin for SELinux functionality
Panu Matilainen 7c2b7d
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen 06f829
Requires: selinux-policy-base
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%description plugin-selinux
Igor Gnatenko 66e2ef
%{summary}.
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%package plugin-syslog
Panu Matilainen 7c2b7d
Summary: Rpm plugin for syslog functionality
Panu Matilainen 7c2b7d
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%description plugin-syslog
Igor Gnatenko 66e2ef
%{summary}.
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%package plugin-systemd-inhibit
Panu Matilainen 7c2b7d
Summary: Rpm plugin for systemd inhibit functionality
Panu Matilainen 7c2b7d
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%description plugin-systemd-inhibit
Florian Festi 6fa824
This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
Florian Festi 6fa824
transaction is running using the systemd-inhibit mechanism.
Florian Festi 592510
Florian Festi 592510
%package plugin-ima
Florian Festi 592510
Summary: Rpm plugin ima file signatures
Florian Festi 592510
Requires: rpm-libs%{_isa} = %{version}-%{release}
Florian Festi 592510
Florian Festi 592510
%description plugin-ima
Igor Gnatenko 66e2ef
%{summary}.
Florian Festi 592510
Panu Matilainen 353b5c
%package plugin-prioreset
Panu Matilainen 353b5c
Summary: Rpm plugin for resetting scriptlet priorities for SysV init
Panu Matilainen 353b5c
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen 353b5c
Panu Matilainen 353b5c
%description plugin-prioreset
Igor Gnatenko 66e2ef
%{summary}.
Panu Matilainen 353b5c
Panu Matilainen 353b5c
Useful on legacy SysV init systems if you run rpm transactions with
Panu Matilainen 353b5c
nice/ionice priorities. Should not be used on systemd systems.
Panu Matilainen 353b5c
Panu Matilainen 0a7d17
%package plugin-audit
Panu Matilainen 0a7d17
Summary: Rpm plugin for logging audit events on package operations
Panu Matilainen 0a7d17
Requires: rpm-libs%{_isa} = %{version}-%{release}
Panu Matilainen 0a7d17
Panu Matilainen 0a7d17
%description plugin-audit
Igor Gnatenko cb6bbe
%{summary}.
Panu Matilainen 0a7d17
Panu Matilainen 0a7d17
# with plugins
Panu Matilainen 0a7d17
%endif
Panu Matilainen 7c2b7d
cvsdist 1bdb86
%prep
Panu Matilainen 421823
%autosetup -n %{name}-%{srcver} %{?with_int_bdb:-a 1} -p1
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%if %{with int_bdb}
Panu Matilainen cbac7f
ln -s db-%{bdbver} db
Panu Matilainen cbac7f
%endif
Panu Matilainen 6d40e7
Panu Matilainen f780b8
%build
Panu Matilainen 0a7d17
%set_build_flags
Panu Matilainen 20231b
Panu Matilainen 953065
autoreconf -i -f
Panu Matilainen 953065
Lubos Kardos 8b1762
# Hardening hack taken from macro %%configure defined in redhat-rpm-config
Lubos Kardos 8b1762
for i in $(find . -name ltmain.sh) ; do
Lubos Kardos 8b1762
     %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i
Lubos Kardos 8b1762
done;
Lubos Kardos 8b1762
Panu Matilainen 20231b
# Using configure macro has some unwanted side-effects on rpm platform
Panu Matilainen 20231b
# setup, use the old-fashioned way for now only defining minimal paths.
Lubos Kardos 3d139e
./configure \
Lubos Kardos 3d139e
    --prefix=%{_usr} \
Lubos Kardos 3d139e
    --sysconfdir=%{_sysconfdir} \
Lubos Kardos 3d139e
    --localstatedir=%{_var} \
Lubos Kardos 3d139e
    --sharedstatedir=%{_var}/lib \
Lubos Kardos 3d139e
    --libdir=%{_libdir} \
Lubos Kardos 3d139e
    --build=%{_target_platform} \
Lubos Kardos 3d139e
    --host=%{_target_platform} \
Panu Matilainen ae9bea
    --with-vendor=redhat \
Panu Matilainen cbac7f
    %{!?with_int_bdb: --with-external-db} \
Panu Matilainen f29fc6
    %{!?with_plugins: --disable-plugins} \
Panu Matilainen cbac7f
    --with-lua \
Panu Matilainen cbac7f
    --with-selinux \
Panu Matilainen d9ecae
    --with-cap \
Panu Matilainen d9ecae
    --with-acl \
Igor Gnatenko 7defdb
    %{?with_ndb: --with-ndb} \
Panu Matilainen 37398b
    %{?with_libimaevm: --with-imaevm} \
Panu Matilainen cae5fc
    %{?with_zstd: --enable-zstd} \
Panu Matilainen cae5fc
    %{?with_lmdb: --enable-lmdb} \
Igor Gnatenko 7f2780
    --enable-python \
Igor Gnatenko 7f2780
    --with-crypto=openssl
cvsdist 87eb98
Panu Matilainen 2a29f1
%make_build
cvsdist 1bdb86
Panu Matilainen f5c5c3
pushd python
Igor Gnatenko bda494
%py2_build
Igor Gnatenko bda494
%py3_build
Panu Matilainen f5c5c3
popd
Panu Matilainen f5c5c3
cvsdist 1bdb86
%install
Panu Matilainen 2a29f1
%make_install
cvsdist 9eb5b2
Panu Matilainen f5c5c3
# We need to build with --enable-python for the self-test suite, but we
Panu Matilainen f5c5c3
# actually package the bindings built with setup.py (#531543#c26)
Panu Matilainen f5c5c3
pushd python
Igor Gnatenko bda494
%py2_install
Igor Gnatenko bda494
%py3_install
Panu Matilainen f5c5c3
popd
Panu Matilainen f5c5c3
Panu Matilainen f5c5c3
cvsdist 4370f6
# Save list of packages through cron
Panu Matilainen f780b8
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
Panu Matilainen f780b8
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
cvsdist 4370f6
Panu Matilainen f780b8
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
Panu Matilainen f780b8
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
cvsdist 4370f6
Panu Matilainen 2a29f1
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
Panu Matilainen 2a29f1
echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/rpm.conf
Panu Matilainen 15f014
Panu Matilainen f780b8
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
Panu Matilainen 191091
mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
cvsdist 1bdb86
Panu Matilainen d58b66
# init an empty database for %ghost'ing
Panu Matilainen d58b66
./rpmdb --dbpath=$RPM_BUILD_ROOT/var/lib/rpm --initdb
cvsdist 4370f6
Panu Matilainen c45828
# plant links to relevant db utils as rpmdb_foo for documention compatibility
Panu Matilainen 1fe007
%if %{without int_bdb}
Panu Matilainen c45828
for dbutil in dump load recover stat upgrade verify
Panu Matilainen 1fe007
do
Panu Matilainen 106f86
    ln -s ../../bin/db_${dbutil} $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_${dbutil}
Panu Matilainen 1fe007
done
Panu Matilainen 1fe007
%endif
Panu Matilainen 1fe007
Panu Matilainen 2c9332
%find_lang %{name}
Panu Matilainen 2c9332
Panu Matilainen cbac7f
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
Panu Matilainen f780b8
Panu Matilainen 7bc220
# These live in perl-generators and python-rpm-generators now
Panu Matilainen eb1281
rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
Panu Matilainen 7bc220
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
Panu Matilainen a83817
Panu Matilainen b60210
%if %{with check}
Panu Matilainen b60210
%check
Igor Gnatenko 055ecd
# https://github.com/rpm-software-management/rpm/issues/741
Igor Gnatenko 055ecd
make check || (cat tests/rpmtests.log; exit 0)
Panu Matilainen b60210
%endif
Panu Matilainen b60210
Panu Matilainen 2c9332
%files -f %{name}.lang
Panu Matilainen 54309b
%license COPYING
Panu Matilainen 353b5c
%doc CREDITS doc/manual/[a-z]*
Paul Nasrat b1ecff
Panu Matilainen 2a29f1
%{_tmpfilesdir}/rpm.conf
Panu Matilainen 1fc711
%dir %{_sysconfdir}/rpm
Paul Nasrat b1ecff
Panu Matilainen 1fc711
%attr(0755, root, root) %dir /var/lib/rpm
Panu Matilainen d58b66
%attr(0644, root, root) %ghost %config(missingok,noreplace) /var/lib/rpm/*
Panu Matilainen d58b66
%attr(0644, root, root) %ghost /var/lib/rpm/.*.lock
Panu Matilainen 3fd553
Panu Matilainen 353b5c
%{_bindir}/rpm
Panu Matilainen 7c2b7d
%{_bindir}/rpm2archive
Panu Matilainen 3fd553
%{_bindir}/rpm2cpio
Panu Matilainen 3fd553
%{_bindir}/rpmdb
Panu Matilainen f29fc6
%{_bindir}/rpmkeys
Panu Matilainen 3fd553
%{_bindir}/rpmquery
Panu Matilainen 3fd553
%{_bindir}/rpmverify
Panu Matilainen 3fd553
Panu Matilainen f780b8
%{_mandir}/man8/rpm.8*
Panu Matilainen f29fc6
%{_mandir}/man8/rpmdb.8*
Panu Matilainen f29fc6
%{_mandir}/man8/rpmkeys.8*
Panu Matilainen f780b8
%{_mandir}/man8/rpm2cpio.8*
Panu Matilainen 353b5c
%{_mandir}/man8/rpm-misc.8*
Paul Nasrat b1ecff
Panu Matilainen f780b8
# XXX this places translated manuals to wrong package wrt eg rpmbuild
Panu Matilainen cbac7f
%lang(fr) %{_mandir}/fr/man[18]/*.[18]*
Panu Matilainen cbac7f
%lang(ko) %{_mandir}/ko/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(ja) %{_mandir}/ja/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(pl) %{_mandir}/pl/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(ru) %{_mandir}/ru/man[18]/*.[18]*
Panu Matilainen f780b8
%lang(sk) %{_mandir}/sk/man[18]/*.[18]*
cvsdist 1bdb86
Panu Matilainen 1fc711
%attr(0755, root, root) %dir %{rpmhome}
Panu Matilainen cbac7f
%{rpmhome}/macros
Panu Matilainen 323b73
%{rpmhome}/macros.d
Igor Gnatenko 5460ad
%{rpmhome}/lua
Panu Matilainen cbac7f
%{rpmhome}/rpmpopt*
Panu Matilainen cbac7f
%{rpmhome}/rpmrc
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%{rpmhome}/rpmdb_*
Panu Matilainen cbac7f
%{rpmhome}/rpm.daily
Panu Matilainen cbac7f
%{rpmhome}/rpm.log
Panu Matilainen c9d591
%{rpmhome}/rpm.supp
Panu Matilainen cbac7f
%{rpmhome}/rpm2cpio.sh
Panu Matilainen cbac7f
%{rpmhome}/tgpg
Panu Matilainen cbac7f
Panu Matilainen cbac7f
%{rpmhome}/platform
Panu Matilainen cbac7f
Florian Festi 627b9b
%dir %{rpmhome}/fileattrs
Florian Festi 627b9b
cvsdist 98655b
%files libs
Panu Matilainen f29fc6
%{_libdir}/librpmio.so.*
Panu Matilainen f29fc6
%{_libdir}/librpm.so.*
Florian Festi 02c36c
%if %{with plugins}
Panu Matilainen 7c2b7d
%dir %{_libdir}/rpm-plugins
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%files plugin-syslog
Panu Matilainen 7c2b7d
%{_libdir}/rpm-plugins/syslog.so
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%files plugin-selinux
Panu Matilainen 7c2b7d
%{_libdir}/rpm-plugins/selinux.so
Panu Matilainen 7c2b7d
Panu Matilainen 7c2b7d
%files plugin-systemd-inhibit
Panu Matilainen 7c2b7d
%{_libdir}/rpm-plugins/systemd_inhibit.so
Panu Matilainen 353b5c
%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
Florian Festi 592510
Florian Festi 592510
%files plugin-ima
Florian Festi 592510
%{_libdir}/rpm-plugins/ima.so
Panu Matilainen 353b5c
Panu Matilainen 353b5c
%files plugin-prioreset
Panu Matilainen 353b5c
%{_libdir}/rpm-plugins/prioreset.so
Panu Matilainen 0a7d17
Panu Matilainen 0a7d17
%files plugin-audit
Panu Matilainen 0a7d17
%{_libdir}/rpm-plugins/audit.so
Panu Matilainen 0a7d17
# with plugins
Panu Matilainen 0a7d17
%endif
Panu Matilainen f29fc6
Panu Matilainen f29fc6
%files build-libs
Panu Matilainen f29fc6
%{_libdir}/librpmbuild.so.*
Igor Gnatenko 99d668
Igor Gnatenko 99d668
%files sign-libs
Panu Matilainen f29fc6
%{_libdir}/librpmsign.so.*
cvsdist 98655b
cvsdist 9eb5b2
%files build
Panu Matilainen 3fd553
%{_bindir}/rpmbuild
Panu Matilainen cbac7f
%{_bindir}/gendiff
Panu Matilainen f29fc6
%{_bindir}/rpmspec
Panu Matilainen f29fc6
Panu Matilainen cbac7f
%{_mandir}/man1/gendiff.1*
Panu Matilainen c45828
%{_mandir}/man8/rpmbuild.8*
Panu Matilainen c45828
%{_mandir}/man8/rpmdeps.8*
Panu Matilainen f29fc6
%{_mandir}/man8/rpmspec.8*
Panu Matilainen cbac7f
Panu Matilainen 3fd553
%{rpmhome}/brp-*
Panu Matilainen c45828
%{rpmhome}/check-*
Panu Matilainen 3fd553
%{rpmhome}/debugedit
Panu Matilainen 41d93d
%{rpmhome}/sepdebugcrcfix
Panu Matilainen 3fd553
%{rpmhome}/find-debuginfo.sh
Panu Matilainen 3fd553
%{rpmhome}/find-lang.sh
Panu Matilainen c45828
%{rpmhome}/*provides*
Panu Matilainen c45828
%{rpmhome}/*requires*
Panu Matilainen c45828
%{rpmhome}/*deps*
Panu Matilainen c45828
%{rpmhome}/*.prov
Panu Matilainen c45828
%{rpmhome}/*.req
Panu Matilainen c45828
%{rpmhome}/config.*
Panu Matilainen cbac7f
%{rpmhome}/mkinstalldirs
Florian Festi 627b9b
%{rpmhome}/fileattrs/*
Panu Matilainen f29fc6
Panu Matilainen f29fc6
%files sign
Panu Matilainen f29fc6
%{_bindir}/rpmsign
Panu Matilainen f29fc6
%{_mandir}/man8/rpmsign.8*
cvsdist 1bdb86
Igor Gnatenko 76e0e5
%files -n python2-%{name}
Iryna Shcherbina 412abe
%{python2_sitearch}/%{name}/
Iryna Shcherbina 412abe
%{python2_sitearch}/%{name}-%{version}*.egg-info
Panu Matilainen f5c5c3
Igor Gnatenko 76e0e5
%files -n python3-%{name}
Igor Gnatenko 76e0e5
%{python3_sitearch}/%{name}/
Panu Matilainen 353b5c
%{python3_sitearch}/%{name}-%{version}*.egg-info
cvsdist b60fd6
cvsdist 1bdb86
%files devel
Panu Matilainen f780b8
%{_mandir}/man8/rpmgraph.8*
Panu Matilainen 3fd553
%{_bindir}/rpmgraph
Panu Matilainen c45828
%{_libdir}/librp*[a-z].so
Igor Gnatenko 76e0e5
%{_libdir}/pkgconfig/%{name}.pc
Igor Gnatenko 76e0e5
%{_includedir}/%{name}/
Panu Matilainen cbac7f
Panu Matilainen d9ecae
%files cron
Panu Matilainen d9ecae
%{_sysconfdir}/cron.daily/rpm
Panu Matilainen d9ecae
%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
Panu Matilainen d9ecae
Panu Matilainen f780b8
%files apidocs
Panu Matilainen 54309b
%license COPYING
Panu Matilainen 54309b
%doc doc/librpm/html/*
cvsdist 1bdb86
cvsdist 1bdb86
%changelog
Igor Gnatenko c06560
* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
Igor Gnatenko c06560
- Revert generation of binary packages in parallel
Igor Gnatenko c06560
Panu Matilainen 0a7d17
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
Panu Matilainen 0a7d17
- Update to 4.15.0 alpha
Panu Matilainen 0a7d17
Panu Matilainen d958e9
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
Panu Matilainen d958e9
- Drop support for sanitizer build, it never really worked anyway
Panu Matilainen d958e9
- Drop leftover build-dependency on binutils-devel
Panu Matilainen d958e9
- Truncate changelog to rpm 4.14.x (last two years)
Panu Matilainen d958e9
Panu Matilainen 398bbf
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
Panu Matilainen 398bbf
- Drop support for Fedora < 28 builds
Panu Matilainen 398bbf
- Drop leftover BDB-related compiler flag foo
Panu Matilainen 398bbf
Panu Matilainen d90bd6
* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
Panu Matilainen d90bd6
- Use pre-determined buildhost in test-suite to avoid DNS usage
Panu Matilainen d90bd6
- Drop obsolete specspo and gpg2 related patches
Panu Matilainen d90bd6
Igor Gnatenko bda494
* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
Igor Gnatenko bda494
- Use py2/3 macros for building and installing the bindings
Igor Gnatenko bda494
Panu Matilainen 3abc97
* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
Panu Matilainen 3abc97
- Support build-id generation from compressed ELF files (#1650072)
Panu Matilainen 3abc97
Igor Gnatenko 268821
* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
Igor Gnatenko 268821
- Suggest gdb-minimal
Igor Gnatenko 268821
Panu Matilainen 81329c
* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
Panu Matilainen 81329c
- Replace deprecated __global_ldflags uses with build_ldflags macro
Panu Matilainen 81329c
Panu Matilainen c7bd80
* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
Panu Matilainen c7bd80
- Fix excessive reference counting on faked string .decode()
Panu Matilainen c7bd80
Panu Matilainen d4f7fd
* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
Panu Matilainen d4f7fd
- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
Panu Matilainen d4f7fd
  string objects instead of bytes (#1693751)
Panu Matilainen d4f7fd
- As a temporary crutch,  monkey-patch a .decode() method to returned strings
Panu Matilainen d4f7fd
  to give users time to migrate from the long-standing broken behavior
Panu Matilainen d4f7fd
Panu Matilainen 57b4e9
* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
Panu Matilainen 57b4e9
- Generate minidebug for PIE executables on file >= 5.33 too
Panu Matilainen 57b4e9
- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
Panu Matilainen 57b4e9
Fedora Release Engineering 9519e9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
Fedora Release Engineering 9519e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Fedora Release Engineering 9519e9
Panu Matilainen af9bdc
* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
Panu Matilainen af9bdc
- Backport the new modularity label tag (#1650286)
Panu Matilainen af9bdc
Panu Matilainen 1eb187
* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
Panu Matilainen 1eb187
- Take prefix into account when compressing man pages etc for Flatpak builds
Panu Matilainen 1eb187
Panu Matilainen 06f829
* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
Panu Matilainen 06f829
- Selinux plugin requires a base policy to work (#1641631)
Panu Matilainen 06f829
Panu Matilainen 4fa277
* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
Panu Matilainen 4fa277
- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
Panu Matilainen 4fa277
Igor Gnatenko 69ee4d
* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
Igor Gnatenko 69ee4d
- Push name/epoch/version/release macro before invoking depgens
Igor Gnatenko 69ee4d
Igor Gnatenko 5460ad
* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
Igor Gnatenko 5460ad
- Resurrect long since broken Lua library path
Igor Gnatenko 5460ad
Panu Matilainen 4ba57b
* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
Panu Matilainen 4ba57b
- Actually fail build on test-suite failures again
Panu Matilainen 4ba57b
- Invoke python2 explicitly from test-suite to unbreak build, part II
Panu Matilainen 4ba57b
Panu Matilainen 106f86
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
Panu Matilainen 106f86
- Drop duplicate BDB buildrequire
Panu Matilainen 106f86
- Drop nowadays unnecessary BDB macro foo
Panu Matilainen 106f86
- Drop nowadays unnecessary manual libcap dependency
Panu Matilainen 106f86
Panu Matilainen d58b66
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
Panu Matilainen d58b66
- Own all rpmdb files and ensure the list remains up to date
Panu Matilainen d58b66
- Drop redundant verify exclusions on rpmdb ghosts
Panu Matilainen 3f8142
- Fix build when systemd is not installed (duh)
Panu Matilainen d58b66
Panu Matilainen 2a29f1
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
Panu Matilainen 2a29f1
- Erm, really use the macro for tmpfiles.d path
Panu Matilainen 2a29f1
- Erm, don't nuke buildroot at beginning of %%install
Panu Matilainen 2a29f1
- Use modern build/install helper macros
Panu Matilainen 2a29f1
Panu Matilainen 85cd9c
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
Panu Matilainen 85cd9c
- Eh, selinux plugin dependency condition was upside down (#1493267)
Panu Matilainen 85cd9c
- Drop no longer necessary condition over imaevm name
Panu Matilainen 85cd9c
- Drop no longer necessary obsolete on compat-librpm3
Panu Matilainen 85cd9c
Panu Matilainen 9a8f20
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
Panu Matilainen 9a8f20
- Fix ancient Python GIL locking bug (#1632488)
Panu Matilainen 9a8f20
- Use the appropriate macro for tmpfiles.d now that one exists
Panu Matilainen 9a8f20
Panu Matilainen 06b8b7
* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
Panu Matilainen 06b8b7
- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
Panu Matilainen 06b8b7
Panu Matilainen 8d934f
* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
Panu Matilainen 8d934f
- Move python-macro-helper to main package where the macros are (#1577860)
Panu Matilainen 8d934f
Panu Matilainen cae019
* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
Panu Matilainen cae019
- Update to rpm 4.14.2-rc2
Panu Matilainen cae019
Igor Gnatenko adbe36
* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
Igor Gnatenko adbe36
- Decompress DWARF compressed ELF sections
Igor Gnatenko adbe36
Fedora Release Engineering 95db65
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
Fedora Release Engineering 95db65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 95db65
Miro Hrončok 8029c4
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
Miro Hrončok 8029c4
- Rebuilt for Python 3.7
Miro Hrončok 8029c4
Panu Matilainen 22e154
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
Panu Matilainen 22e154
- Update to rpm 4.14.2-rc1
Panu Matilainen 22e154
- Patching test-suite for python2 too painful, just sed it instead
Panu Matilainen 22e154
- Fix premature version increment from previous changelog entries, oops
Panu Matilainen 22e154
Panu Matilainen 22e154
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
Panu Matilainen e79d62
- Ehm, need to patch the autogenerated rpmtests script too for python2
Panu Matilainen e79d62
- Ehm, it's ldconfig_scriptlets not scripts
Panu Matilainen e79d62
- Drop the non-working python envvar magic from obsoleted change
Panu Matilainen e79d62
Panu Matilainen 22e154
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
Panu Matilainen 8b3e87
- Invoke python2 explicitly from test-suite to unbreak build
Panu Matilainen 8b3e87
Panu Matilainen 22e154
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
Panu Matilainen 7d7537
- Remove direct ldconfig calls, use compat macros instead
Panu Matilainen 7d7537
Miro Hrončok b86c75
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
Miro Hrončok b86c75
- Rebuilt for Python 3.7
Miro Hrončok b86c75
Miro Hrončok 364d03
* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
Miro Hrončok 364d03
- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
Miro Hrončok 364d03
  https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
Miro Hrončok 364d03
Mark Wielaard 43ea91
* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
Mark Wielaard 43ea91
- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
Mark Wielaard 43ea91
Igor Gnatenko 99d668
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
Igor Gnatenko 99d668
- Split rpm-build-libs to one more subpackage rpm-sign-libs
Igor Gnatenko 99d668
Panu Matilainen 29c140
* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
Panu Matilainen 29c140
- Explicitly BuildRequire gcc and make
Panu Matilainen 29c140
Igor Gnatenko 91f61a
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
Igor Gnatenko 91f61a
- Escape macros in %%changelog
Igor Gnatenko 91f61a
Panu Matilainen a83817
* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
Panu Matilainen a83817
- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
Panu Matilainen a83817
- Fix release of previous changelog entry
Panu Matilainen a83817
Panu Matilainen a83817
* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
0670d6
- Add envvar that will be present during RPM build,
0670d6
  Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
0670d6
  https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
0670d6
Petr Viktorin 3f65cd
* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
Petr Viktorin 3f65cd
- Skip automatic Python byte-compilation if *.py files are not present
Petr Viktorin 3f65cd
c6d1f7
* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
c6d1f7
- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
c6d1f7
Panu Matilainen eb1281
* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
Panu Matilainen eb1281
- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
Panu Matilainen eb1281
Panu Matilainen 8219d7
* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
Panu Matilainen 8219d7
- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
Panu Matilainen 8219d7
Igor Gnatenko 193c88
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
Igor Gnatenko 193c88
- Fix typo in Obsoletes
Igor Gnatenko 193c88
Igor Gnatenko e6d364
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
Igor Gnatenko e6d364
- Remove platform-python bits
Igor Gnatenko e6d364
Panu Matilainen 1a61b7
* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
Panu Matilainen 1a61b7
- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
Panu Matilainen 1a61b7
Panu Matilainen 7f79c1
* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
Panu Matilainen 7f79c1
- Dump out test-suite log in case of failures again
Panu Matilainen 7f79c1
- Don't assume per-user groups in test-suite
Panu Matilainen 7f79c1
Panu Matilainen 9c3c35
* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
Panu Matilainen 9c3c35
- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
Panu Matilainen 9c3c35
baaf8b
* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
baaf8b
- Cleanup spec file conditionals
baaf8b
Panu Matilainen cae5fc
* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
Panu Matilainen cae5fc
- Add build conditionals for zstd and lmdb support
Panu Matilainen cae5fc
- Enable zstd support
Panu Matilainen cae5fc
Panu Matilainen 0cd499
* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
Panu Matilainen 0cd499
- Spec cleanups
Panu Matilainen 0cd499
Panu Matilainen b4ee37
* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
Panu Matilainen b4ee37
- BuildRequire gnupg2 for the testsuite
Panu Matilainen b4ee37
Panu Matilainen 7e9150
* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
Panu Matilainen 7e9150
- ima-evm-utils only has a -devel package in fedora >= 28
Panu Matilainen 7e9150
Panu Matilainen 4e78f8
* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
Panu Matilainen 4e78f8
- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
Panu Matilainen 4e78f8
Panu Matilainen 822c26
* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
Panu Matilainen 822c26
- Fix Ftell() past 2GB on 32bit architectures (#1492587)
Panu Matilainen 822c26
Panu Matilainen 37398b
* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
Panu Matilainen 37398b
- Actually honor with/without libimaevm option
Panu Matilainen aa109f
- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
Panu Matilainen 37398b
Panu Matilainen 1dda23
* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
Panu Matilainen 1dda23
- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
Panu Matilainen 1dda23
- Re-enable SHA256 header digest generation (see #1480407)
Panu Matilainen 1dda23
Panu Matilainen fefe4f
* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
Panu Matilainen fefe4f
- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
Panu Matilainen fefe4f
Panu Matilainen 67d713
* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
Panu Matilainen 67d713
- Remove ugly kludges from posttrans script, BDB handles this now
Panu Matilainen 67d713
Panu Matilainen 6f54bf
* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
Panu Matilainen 6f54bf
- Silence harmless but bogus error message on noarch packages (#1482144)
Panu Matilainen 6f54bf
Miro Hrončok 4d1adc
* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
Miro Hrončok 4d1adc
- Build with platform_python
Miro Hrončok 4d1adc
Iryna Shcherbina 412abe
* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
Iryna Shcherbina 412abe
- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
Iryna Shcherbina 412abe
- Add platform python deps generator patch: platform-python-abi.patch
Iryna Shcherbina 412abe
- Add a platform-python subpackage and remove system python related declarations
Iryna Shcherbina 412abe
- Build rpm without platform_python for bytecompilation
Iryna Shcherbina 412abe
  (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
Iryna Shcherbina 412abe
Panu Matilainen 351ab4
* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
Panu Matilainen 351ab4
- Disable macro argument quoting as a band-aid to #1481025
Panu Matilainen 351ab4
Panu Matilainen 14f55d
* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
Panu Matilainen 14f55d
- Disable SHA256 header-only digest generation temporarily (#1480407)
Panu Matilainen 14f55d
Panu Matilainen 353b5c
* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
Panu Matilainen 353b5c
- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
Panu Matilainen 353b5c