richardphibel / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
DistroBaker 6ff1af
219cf7
# run internal testsuite?
DistroBaker 6ff1af
# fakechroot is severely broken beyond fedora 33, disable...
DistroBaker 6ff1af
%if 0%{?fedora} > 33 || 0%{?rhel} > 8
DistroBaker 29244e
%bcond_with check
DistroBaker 6ff1af
%else
DistroBaker 6ff1af
%bcond_without check
DistroBaker 6ff1af
%endif
DistroBaker 6ff1af
DistroBaker 6ff1af
# build against xz?
DistroBaker 6ff1af
%bcond_without xz
219cf7
# build with plugins?
219cf7
%bcond_without plugins
219cf7
# build with libarchive? (needed for rpm2archive)
219cf7
%bcond_without libarchive
219cf7
# build with libimaevm.so
219cf7
%bcond_without libimaevm
219cf7
# build with zstd support?
219cf7
%bcond_without zstd
219cf7
# build with ndb backend?
219cf7
%bcond_without ndb
219cf7
# build with sqlite support?
219cf7
%bcond_without sqlite
219cf7
# build with bdb support?
DistroBaker dd8545
%bcond_with bdb
219cf7
# build with internal Berkeley DB?
219cf7
%bcond_with int_bdb
219cf7
# build with bdb_ro support?
219cf7
%bcond_without bdb_ro
219cf7
219cf7
%define rpmhome /usr/lib/rpm
219cf7
DistroBaker b97f48
%global rpmver 4.16.1.3
219cf7
#global snapver rc1
Florian Festi d0e93a
%global rel 20
DistroBaker 6ff1af
%global sover 9
219cf7
219cf7
%global srcver %{rpmver}%{?snapver:-%{snapver}}
219cf7
%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
219cf7
219cf7
%if %{with bdb}
219cf7
%define bdbver 5.3.15
219cf7
219cf7
# Build-dependency on systemd for the sake of one macro would be a bit much...
219cf7
%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
219cf7
%endif
219cf7
219cf7
Summary: The RPM package management system
219cf7
Name: rpm
219cf7
Version: %{rpmver}
Michal Domonkos 6a3e59
Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
219cf7
Url: http://www.rpm.org/
219cf7
Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
219cf7
%if %{with bdb} && %{with int_bdb}
219cf7
Source1: db-%{bdbver}.tar.gz
219cf7
%endif
219cf7
219cf7
Source10: rpmdb-rebuild.service
219cf7
219cf7
# Disable autoconf config.site processing (#962837)
219cf7
Patch1: rpm-4.15.x-siteconfig.patch
219cf7
# In current Fedora, man-pages pkg owns all the localized man directories
219cf7
Patch3: rpm-4.9.90-no-man-dirs.patch
219cf7
# Temporary band-aid for rpm2cpio whining on payload size mismatch (#1142949)
219cf7
Patch5: rpm-4.12.0-rpm2cpio-hack.patch
219cf7
# https://github.com/rpm-software-management/rpm/pull/473
219cf7
Patch6: 0001-find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
DistroBaker 29244e
Patch7: 0001-Issue-deprecation-warning-when-creating-BDB-database.patch
219cf7
219cf7
# Patches already upstream:
Michal Domonkos 15e070
Patch100: rpm-4.16.1.3-imp-covscan-fixes.patch
Michal Domonkos 44ada8
Patch101: rpm-4.16.1.3-rpmsign-support-EdDSA-sig.patch
Michal Domonkos 205cd9
Patch102: rpm-4.16.1.3-add-fapolicyd-plugin.patch
Michal Domonkos df2666
Patch103: rpm-4.16.1.3-unblock-signals-in-forked-scriptlets.patch
Michal Domonkos e2e5e2
Patch104: rpm-4.16.1.3-support-bdb-hash-v8.patch
Michal Domonkos e2e5e2
Patch105: rpm-4.16.1.3-ELF-files-strip-when-debuginfo-disabled.patch
Michal Domonkos e2e5e2
Patch106: rpm-4.16.1.3-unbreak-checking-of-installed-rich-deps.patch
Michal Domonkos e2e5e2
Patch107: rpm-4.16.1.3-fix-IMA-sig-len-assumed-const.patch
Michal Domonkos e2e5e2
Patch108: rpm-4.16.1.3-validate-and-require-subkey-binding-sigs.patch
Michal Domonkos 1a9baf
Patch109: rpm-4.16.1.3-bump-rpmdb-cookie-hash-to-SHA256-for-FIPS.patch
Michal Domonkos 1a9baf
Patch110: rpm-4.16.1.3-add-path-query-option.patch
Michal Domonkos 1a9baf
Patch111: rpm-4.16.1.3-skip-recorded-symlinks-in-setperms.patch
Michal Domonkos 0b3e36
Patch112: rpm-4.16.1.3-fix-regression-reading-rpm-v3-pkgs.patch
Michal Domonkos 0b3e36
Patch113: rpm-4.16.1.3-fix-spurious-transfiletriggerpostun-execution.patch
Florian Festi 0a4ec8
Patch114: rpm-4.16.1.3-Make-rpm2cpio.sh-more-robust.patch
Michal Domonkos 6ea23e
Patch115: rpm-4.16.1.3-fapolicyd-make-write-nonblocking.patch
Florian Festi d0e93a
Patch116: rpm-4.16.1.3-bcond-macros.patch
Florian Festi f27d92
Patch117: rpm-4.16.1.3-caret-query.patch
Florian Festi f27d92
Patch118: rpm-4.16.1.3-caret-query2.patch
219cf7
219cf7
# These are not yet upstream
219cf7
Patch906: rpm-4.7.1-geode-i686.patch
219cf7
# Probably to be upstreamed in slightly different form
219cf7
Patch907: rpm-4.15.x-ldflags.patch
Florian Festi a654ea
Patch908: 0001-Give-warning-on-not-supported-hash-for-RSA-keys.patch
219cf7
DistroBaker 6ff1af
# Not yet (all) upstream, debugedit DWARF5
DistroBaker 7a85b5
# https://code.wildebeest.org/git/user/mjw/rpm/log/?h=gcc-dwarf5-4.16.1.2
DistroBaker 6ff1af
Patch911: 0001-NFC-debugedit-Protect-macro-arguments-by-parentheses.patch
DistroBaker 6ff1af
Patch912: 0002-NFC-debugedit-Move-code-from-edit_dwarf2-to-edit_inf.patch
DistroBaker 6ff1af
Patch913: 0003-debugedit-Fix-missing-relocation-of-.debug_types-sec.patch
DistroBaker 6ff1af
Patch914: 0004-NFC-debugedit-Move-code-to-separate-functions.patch
DistroBaker 6ff1af
Patch915: 0005-debugedit-Implement-DWARF-5-unit-header-and-new-form.patch
DistroBaker 6ff1af
Patch916: 0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
DistroBaker 6ff1af
Michal Domonkos c5168f
# Downstream-only patches
Michal Domonkos c5168f
Patch1000: rpm-4.16.1.3-hashtab-use-after-free-fix.patch
Nick Clifton a44688
Patch1001: rpm-4.16.1.3-find_debuginfo_vendor_opts.patch
Michal Domonkos c5168f
219cf7
# Partially GPL/LGPL dual-licensed and some bits with BSD
219cf7
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
219cf7
License: GPLv2+
219cf7
219cf7
Requires: coreutils
219cf7
Requires: popt%{_isa} >= 1.10.2.1
219cf7
Requires: curl
219cf7
Obsoletes: python2-rpm < %{version}-%{release}
219cf7
219cf7
%if %{with bdb} && %{without int_bdb}
219cf7
BuildRequires: libdb-devel
219cf7
%endif
219cf7
219cf7
%if %{with check}
219cf7
BuildRequires: fakechroot gnupg2
219cf7
%endif
219cf7
219cf7
# XXX generally assumed to be installed but make it explicit as rpm
219cf7
# is a bit special...
219cf7
BuildRequires: redhat-rpm-config >= 94
219cf7
BuildRequires: systemd-rpm-macros
219cf7
BuildRequires: gcc make
219cf7
BuildRequires: gawk
219cf7
BuildRequires: elfutils-devel >= 0.112
219cf7
BuildRequires: elfutils-libelf-devel
219cf7
BuildRequires: readline-devel zlib-devel
219cf7
BuildRequires: openssl-devel
219cf7
# The popt version here just documents an older known-good version
219cf7
BuildRequires: popt-devel >= 1.10.2
219cf7
BuildRequires: file-devel
219cf7
BuildRequires: gettext-devel
219cf7
BuildRequires: ncurses-devel
219cf7
BuildRequires: bzip2-devel >= 0.9.0c-2
219cf7
BuildRequires: lua-devel >= 5.1
219cf7
BuildRequires: libcap-devel
219cf7
BuildRequires: libacl-devel
219cf7
%if %{with xz}
219cf7
BuildRequires: xz-devel >= 4.999.8
219cf7
%endif
219cf7
%if %{with libarchive}
219cf7
BuildRequires: libarchive-devel
219cf7
%endif
219cf7
%if %{with zstd}
219cf7
BuildRequires: libzstd-devel
219cf7
%endif
219cf7
%if %{with sqlite}
219cf7
BuildRequires: sqlite-devel
219cf7
%endif
219cf7
# Couple of patches change makefiles so, require for now...
219cf7
BuildRequires: automake libtool
219cf7
219cf7
%if %{with plugins}
219cf7
BuildRequires: libselinux-devel
219cf7
BuildRequires: dbus-devel
219cf7
BuildRequires: audit-libs-devel
219cf7
%endif
219cf7
219cf7
%if %{with libimaevm}
219cf7
BuildRequires: ima-evm-utils-devel >= 1.0
219cf7
%endif
219cf7
219cf7
%description
219cf7
The RPM Package Manager (RPM) is a powerful command line driven
219cf7
package management system capable of installing, uninstalling,
219cf7
verifying, querying, and updating software packages. Each software
219cf7
package consists of an archive of files along with information about
219cf7
the package like its version, a description, etc.
219cf7
219cf7
%package libs
219cf7
Summary:  Libraries for manipulating RPM packages
219cf7
License: GPLv2+ and LGPLv2+ with exceptions
219cf7
Requires: %{name} = %{version}-%{release}
219cf7
219cf7
%description libs
219cf7
This package contains the RPM shared libraries.
219cf7
219cf7
%package build-libs
219cf7
Summary:  Libraries for building RPM packages
219cf7
License: GPLv2+ and LGPLv2+ with exceptions
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description build-libs
219cf7
This package contains the RPM shared libraries for building packages.
219cf7
219cf7
%package sign-libs
219cf7
Summary:  Libraries for signing RPM packages
219cf7
License: GPLv2+ and LGPLv2+ with exceptions
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
Requires: %{_bindir}/gpg2
219cf7
219cf7
%description sign-libs
219cf7
This package contains the RPM shared libraries for signing packages.
219cf7
219cf7
%package devel
219cf7
Summary:  Development files for manipulating RPM packages
219cf7
License: GPLv2+ and LGPLv2+ with exceptions
219cf7
Requires: %{name} = %{version}-%{release}
219cf7
Requires: %{name}-libs%{_isa} = %{version}-%{release}
219cf7
Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
219cf7
Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
219cf7
Requires: popt-devel%{_isa}
219cf7
219cf7
%description devel
219cf7
This package contains the RPM C library and header files. These
219cf7
development files will simplify the process of writing programs that
219cf7
manipulate RPM packages and databases. These files are intended to
219cf7
simplify the process of creating graphical package managers or any
219cf7
other tools that need an intimate knowledge of RPM packages in order
219cf7
to function.
219cf7
219cf7
This package should be installed if you want to develop programs that
219cf7
will manipulate RPM packages and databases.
219cf7
219cf7
%package build
219cf7
Summary: Scripts and executable programs used to build packages
219cf7
Requires: rpm = %{version}-%{release}
219cf7
Requires: elfutils >= 0.128 binutils
219cf7
Requires: findutils sed grep gawk diffutils file patch >= 2.5
219cf7
Requires: tar unzip gzip bzip2 cpio xz
219cf7
%if %{with zstd}
219cf7
Requires: zstd
219cf7
%endif
219cf7
Requires: pkgconfig >= 1:0.24
219cf7
Requires: /usr/bin/gdb-add-index
219cf7
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
219cf7
Suggests: gdb-minimal
219cf7
# Technically rpmbuild doesn't require any external configuration, but
219cf7
# creating distro-compatible packages does. To make the common case
219cf7
# "just work" while allowing for alternatives, depend on a virtual
219cf7
# provide, typically coming from redhat-rpm-config.
219cf7
Requires: system-rpm-config
219cf7
219cf7
%description build
219cf7
The rpm-build package contains the scripts and executable programs
219cf7
that are used to build packages using the RPM Package Manager.
219cf7
219cf7
%package sign
219cf7
Summary: Package signing support
219cf7
Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description sign
219cf7
This package contains support for digitally signing RPM packages.
219cf7
219cf7
%package -n python3-%{name}
219cf7
Summary: Python 3 bindings for apps which will manipulate RPM packages
219cf7
BuildRequires: python3-devel
219cf7
%{?python_provide:%python_provide python3-%{name}}
219cf7
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
219cf7
Provides: %{name}-python3 = %{version}-%{release}
219cf7
Obsoletes: %{name}-python3 < %{version}-%{release}
219cf7
Obsoletes: platform-python-%{name} < %{version}-%{release}
219cf7
219cf7
%description -n python3-%{name}
219cf7
The python3-rpm package contains a module that permits applications
219cf7
written in the Python programming language to use the interface
219cf7
supplied by RPM Package Manager libraries.
219cf7
219cf7
This package should be installed if you want to develop Python 3
219cf7
programs that will manipulate RPM packages and databases.
219cf7
219cf7
%package apidocs
219cf7
Summary: API documentation for RPM libraries
219cf7
BuildArch: noarch
219cf7
219cf7
%description apidocs
219cf7
This package contains API documentation for developing applications
219cf7
that will manipulate RPM packages and databases.
219cf7
219cf7
%package cron
219cf7
Summary: Create daily logs of installed packages.
219cf7
BuildArch: noarch
219cf7
Requires: crontabs logrotate rpm = %{version}-%{release}
219cf7
219cf7
%description cron
219cf7
This package contains a cron job which creates daily logs of installed
219cf7
packages on a system.
219cf7
219cf7
%if %{with plugins}
219cf7
%package plugin-selinux
219cf7
Summary: Rpm plugin for SELinux functionality
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
Requires: selinux-policy-base
219cf7
219cf7
%description plugin-selinux
219cf7
%{summary}.
219cf7
219cf7
%package plugin-syslog
219cf7
Summary: Rpm plugin for syslog functionality
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description plugin-syslog
219cf7
%{summary}.
219cf7
219cf7
%package plugin-systemd-inhibit
219cf7
Summary: Rpm plugin for systemd inhibit functionality
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description plugin-systemd-inhibit
219cf7
This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
219cf7
transaction is running using the systemd-inhibit mechanism.
219cf7
219cf7
%package plugin-ima
219cf7
Summary: Rpm plugin ima file signatures
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description plugin-ima
219cf7
%{summary}.
219cf7
Michal Domonkos 205cd9
%package plugin-fapolicyd
Michal Domonkos 205cd9
Summary: Rpm plugin for fapolicyd functionality
Michal Domonkos 205cd9
Requires: rpm-libs%{_isa} = %{version}-%{release}
Michal Domonkos 205cd9
Provides: fapolicyd-plugin
Michal Domonkos 205cd9
Obsoletes: fapolicyd-dnf-plugin
Michal Domonkos 205cd9
Michal Domonkos 205cd9
%description plugin-fapolicyd
Michal Domonkos 205cd9
%{summary}.
Michal Domonkos 205cd9
219cf7
%package plugin-prioreset
219cf7
Summary: Rpm plugin for resetting scriptlet priorities for SysV init
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description plugin-prioreset
219cf7
%{summary}.
219cf7
219cf7
Useful on legacy SysV init systems if you run rpm transactions with
219cf7
nice/ionice priorities. Should not be used on systemd systems.
219cf7
219cf7
%package plugin-audit
219cf7
Summary: Rpm plugin for logging audit events on package operations
219cf7
Requires: rpm-libs%{_isa} = %{version}-%{release}
219cf7
219cf7
%description plugin-audit
219cf7
%{summary}.
219cf7
219cf7
# with plugins
219cf7
%endif
219cf7
219cf7
%prep
219cf7
%autosetup -n rpm-%{srcver} %{?with_int_bdb:-a 1} -p1
219cf7
219cf7
%if %{with bdb} && %{with int_bdb}
219cf7
ln -s db-%{bdbver} db
219cf7
%endif
219cf7
219cf7
# switch to sqlite db by default, including during build-time tests
219cf7
%if %{with sqlite}
219cf7
sed -i -e "/_db_backend/ s/ bdb/ sqlite/g" macros.in
219cf7
%endif
219cf7
219cf7
%build
219cf7
%set_build_flags
219cf7
219cf7
autoreconf -i -f
219cf7
219cf7
# Hardening hack taken from macro %%configure defined in redhat-rpm-config
219cf7
for i in $(find . -name ltmain.sh) ; do
219cf7
     %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i
219cf7
done;
219cf7
219cf7
# Using configure macro has some unwanted side-effects on rpm platform
219cf7
# setup, use the old-fashioned way for now only defining minimal paths.
219cf7
./configure \
219cf7
    --prefix=%{_usr} \
219cf7
    --sysconfdir=%{_sysconfdir} \
219cf7
    --localstatedir=%{_var} \
219cf7
    --sharedstatedir=%{_var}/lib \
219cf7
    --libdir=%{_libdir} \
219cf7
    --build=%{_target_platform} \
219cf7
    --host=%{_target_platform} \
219cf7
    --with-vendor=redhat \
DistroBaker dd8545
    --enable-bdb=%{?with_bdb:yes}%{!?with_bdb:no} \
219cf7
    %{!?with_int_bdb: --with-external-db} \
219cf7
    %{!?with_plugins: --disable-plugins} \
219cf7
    --with-lua \
219cf7
    --with-selinux \
219cf7
    --with-cap \
219cf7
    --with-acl \
219cf7
    %{?with_ndb: --enable-ndb} \
Michal Domonkos e2e5e2
    %{!?with_libarchive: --without-archive} \
219cf7
    %{?with_libimaevm: --with-imaevm} \
219cf7
    %{?with_zstd: --enable-zstd} \
219cf7
    %{?with_sqlite: --enable-sqlite} \
219cf7
    %{?with_bdb_ro: --enable-bdb-ro} \
Michal Domonkos 205cd9
    --with-fapolicyd \
219cf7
    --enable-python \
219cf7
    --with-crypto=openssl
219cf7
219cf7
%make_build
219cf7
219cf7
pushd python
219cf7
%py3_build
219cf7
popd
219cf7
219cf7
%install
219cf7
%make_install
219cf7
219cf7
# We need to build with --enable-python for the self-test suite, but we
219cf7
# actually package the bindings built with setup.py (#531543#c26)
219cf7
pushd python
219cf7
%py3_install
219cf7
popd
219cf7
219cf7
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
219cf7
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
219cf7
219cf7
# Save list of packages through cron
219cf7
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
219cf7
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
219cf7
219cf7
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
219cf7
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
219cf7
219cf7
%if %{with bdb}
219cf7
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
219cf7
echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/rpm.conf
219cf7
%endif
219cf7
219cf7
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
219cf7
mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
219cf7
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
219cf7
219cf7
# init an empty database for %ghost'ing for all supported backends
219cf7
for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite} %{?with_bdb:bdb}; do
219cf7
    ./rpmdb --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
219cf7
    cp -va ${be}/. $RPM_BUILD_ROOT/var/lib/rpm/
219cf7
done
219cf7
219cf7
%find_lang rpm
219cf7
219cf7
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
219cf7
219cf7
# These live in perl-generators and python-rpm-generators now
219cf7
rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
219cf7
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
DistroBaker dd8545
rm -rf $RPM_BUILD_ROOT/var/tmp
Florian Festi e418fc
# This is installed by mistake by setup.py
Florian Festi e418fc
rm -f $RPM_BUILD_ROOT/usr/lib*/python*/site-packages/rpm/_rpm.so
219cf7
219cf7
%if %{with check}
219cf7
%check
219cf7
make check TESTSUITEFLAGS=-j%{_smp_build_ncpus} || (cat tests/rpmtests.log; exit 1)
219cf7
# rpm >= 4.16.0 testsuite leaves a read-only tree behind, clean it up
219cf7
make clean
219cf7
%endif
219cf7
219cf7
# Handle rpmdb rebuild service on erasure of old to avoid ordering issues
219cf7
# https://pagure.io/fesco/issue/2382
219cf7
%triggerun -- rpm < 4.15.90-0.git14971.10
219cf7
if [ -x /usr/bin/systemctl ]; then
219cf7
    systemctl --no-reload preset rpmdb-rebuild ||:
219cf7
fi
219cf7
219cf7
%posttrans
219cf7
if [ -f /var/lib/rpm/Packages ]; then
219cf7
    touch /var/lib/rpm/.rebuilddb
219cf7
fi
219cf7
219cf7
%files -f rpm.lang
219cf7
%license COPYING
219cf7
%doc CREDITS doc/manual/[a-z]*
219cf7
219cf7
%if %{with bdb}
219cf7
%{_tmpfilesdir}/rpm.conf
219cf7
%endif
219cf7
219cf7
%{_unitdir}/rpmdb-rebuild.service
219cf7
219cf7
%dir %{_sysconfdir}/rpm
219cf7
219cf7
%attr(0755, root, root) %dir /var/lib/rpm
219cf7
%attr(0644, root, root) %ghost %config(missingok,noreplace) /var/lib/rpm/*
219cf7
%attr(0644, root, root) %ghost /var/lib/rpm/.*.lock
219cf7
219cf7
%{_bindir}/rpm
Michal Domonkos e2e5e2
%if %{with libarchive}
219cf7
%{_bindir}/rpm2archive
Michal Domonkos e2e5e2
%endif
219cf7
%{_bindir}/rpm2cpio
219cf7
%{_bindir}/rpmdb
219cf7
%{_bindir}/rpmkeys
219cf7
%{_bindir}/rpmquery
219cf7
%{_bindir}/rpmverify
219cf7
219cf7
%{_mandir}/man8/rpm.8*
219cf7
%{_mandir}/man8/rpmdb.8*
219cf7
%{_mandir}/man8/rpmkeys.8*
Michal Domonkos e2e5e2
%if %{with libarchive}
219cf7
%{_mandir}/man8/rpm2archive.8*
Michal Domonkos e2e5e2
%endif
219cf7
%{_mandir}/man8/rpm2cpio.8*
219cf7
%{_mandir}/man8/rpm-misc.8*
219cf7
%{_mandir}/man8/rpm-plugins.8*
219cf7
219cf7
# XXX this places translated manuals to wrong package wrt eg rpmbuild
219cf7
%lang(fr) %{_mandir}/fr/man[18]/*.[18]*
219cf7
%lang(ko) %{_mandir}/ko/man[18]/*.[18]*
219cf7
%lang(ja) %{_mandir}/ja/man[18]/*.[18]*
219cf7
%lang(pl) %{_mandir}/pl/man[18]/*.[18]*
219cf7
%lang(ru) %{_mandir}/ru/man[18]/*.[18]*
219cf7
%lang(sk) %{_mandir}/sk/man[18]/*.[18]*
219cf7
219cf7
%attr(0755, root, root) %dir %{rpmhome}
219cf7
%{rpmhome}/macros
219cf7
%{rpmhome}/macros.d
219cf7
%{rpmhome}/lua
219cf7
%{rpmhome}/rpmpopt*
219cf7
%{rpmhome}/rpmrc
219cf7
219cf7
%{rpmhome}/rpmdb_*
219cf7
%{rpmhome}/rpm.daily
219cf7
%{rpmhome}/rpm.log
219cf7
%{rpmhome}/rpm.supp
219cf7
%{rpmhome}/rpm2cpio.sh
219cf7
%{rpmhome}/tgpg
219cf7
219cf7
%{rpmhome}/platform
219cf7
219cf7
%dir %{rpmhome}/fileattrs
219cf7
219cf7
%files libs
DistroBaker 6ff1af
%{_libdir}/librpmio.so.%{sover}
DistroBaker 6ff1af
%{_libdir}/librpm.so.%{sover}
DistroBaker 6ff1af
%{_libdir}/librpmio.so.%{sover}.*
DistroBaker 6ff1af
%{_libdir}/librpm.so.%{sover}.*
219cf7
%if %{with plugins}
219cf7
%dir %{_libdir}/rpm-plugins
219cf7
219cf7
%files plugin-syslog
219cf7
%{_libdir}/rpm-plugins/syslog.so
219cf7
%{_mandir}/man8/rpm-plugin-syslog.8*
219cf7
219cf7
%files plugin-selinux
219cf7
%{_libdir}/rpm-plugins/selinux.so
219cf7
%{_mandir}/man8/rpm-plugin-selinux.8*
219cf7
219cf7
%files plugin-systemd-inhibit
219cf7
%{_libdir}/rpm-plugins/systemd_inhibit.so
219cf7
%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
219cf7
219cf7
%files plugin-ima
219cf7
%{_libdir}/rpm-plugins/ima.so
219cf7
%{_mandir}/man8/rpm-plugin-ima.8*
219cf7
Michal Domonkos 205cd9
%files plugin-fapolicyd
Michal Domonkos 205cd9
%{_libdir}/rpm-plugins/fapolicyd.so
Michal Domonkos 205cd9
%{_mandir}/man8/rpm-plugin-fapolicyd.8*
Michal Domonkos 205cd9
219cf7
%files plugin-prioreset
219cf7
%{_libdir}/rpm-plugins/prioreset.so
219cf7
%{_mandir}/man8/rpm-plugin-prioreset.8*
219cf7
219cf7
%files plugin-audit
219cf7
%{_libdir}/rpm-plugins/audit.so
219cf7
%{_mandir}/man8/rpm-plugin-audit.8*
219cf7
# with plugins
219cf7
%endif
219cf7
219cf7
%files build-libs
DistroBaker 6ff1af
%{_libdir}/librpmbuild.so.%{sover}
DistroBaker 6ff1af
%{_libdir}/librpmbuild.so.%{sover}.*
219cf7
219cf7
%files sign-libs
DistroBaker 6ff1af
%{_libdir}/librpmsign.so.%{sover}
DistroBaker 6ff1af
%{_libdir}/librpmsign.so.%{sover}.*
219cf7
219cf7
%files build
219cf7
%{_bindir}/rpmbuild
219cf7
%{_bindir}/gendiff
219cf7
%{_bindir}/rpmspec
219cf7
219cf7
%{_mandir}/man1/gendiff.1*
219cf7
%{_mandir}/man8/rpmbuild.8*
219cf7
%{_mandir}/man8/rpmdeps.8*
219cf7
%{_mandir}/man8/rpmspec.8*
219cf7
219cf7
%{rpmhome}/brp-*
219cf7
%{rpmhome}/check-*
219cf7
%{rpmhome}/debugedit
219cf7
%{rpmhome}/sepdebugcrcfix
219cf7
%{rpmhome}/find-debuginfo.sh
219cf7
%{rpmhome}/find-lang.sh
219cf7
%{rpmhome}/*provides*
219cf7
%{rpmhome}/*requires*
219cf7
%{rpmhome}/*deps*
219cf7
%{rpmhome}/*.prov
219cf7
%{rpmhome}/*.req
219cf7
%{rpmhome}/mkinstalldirs
219cf7
%{rpmhome}/fileattrs/*
219cf7
219cf7
%files sign
219cf7
%{_bindir}/rpmsign
219cf7
%{_mandir}/man8/rpmsign.8*
219cf7
219cf7
%files -n python3-%{name}
219cf7
%{python3_sitearch}/rpm/
219cf7
%{python3_sitearch}/rpm-%{rpmver}*.egg-info
219cf7
219cf7
%files devel
219cf7
%{_mandir}/man8/rpmgraph.8*
219cf7
%{_bindir}/rpmgraph
219cf7
%{_libdir}/librp*[a-z].so
219cf7
%{_libdir}/pkgconfig/rpm.pc
219cf7
%{_includedir}/rpm/
219cf7
219cf7
%files cron
219cf7
%{_sysconfdir}/cron.daily/rpm
219cf7
%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
219cf7
219cf7
%files apidocs
219cf7
%license COPYING
219cf7
%doc doc/librpm/html/*
219cf7
219cf7
%changelog
Florian Festi d0e93a
* Mon Nov 07 2022 Florian Festi <ffesti@redhat.com> - 4.16.1.3-20
Florian Festi d0e93a
- Add bcond macros (#2129060)
Florian Festi f27d92
- Fix db queries with carets (#2129468)
Florian Festi e418fc
- Remove spurious Python rpm module (#2135731)
Florian Festi d0e93a
Michal Domonkos 7da487
* Fri Oct 21 2022 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-19
Michal Domonkos 7da487
- Bump release for rebuild
Michal Domonkos 7da487
Michal Domonkos 6ea23e
* Fri Sep 23 2022 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-18
Michal Domonkos 6ea23e
- Make write() nonblocking in fapolicyd plugin (#2111251)
Michal Domonkos 6ea23e
Florian Festi e3ce4e
* Wed Aug 03 2022 Florian Festi <ffesti@redhat.com> - 4.16.1.3-17
Florian Festi 0a4ec8
- Make rpm2cpio.sh more robust (#1983015)
Florian Festi 0a4ec8
Nick Clifton a44688
* Thu Jun 30 2022 Nick Clifton  <nickc@redhat.com> - 4.16.1.3-15
Nick Clifton a44688
- Pass _find_debuginfo_vendor_opts to the find-debuginfo script.  (#2099617)
Nick Clifton a44688
Florian Festi a654ea
* Tue Jun 28 2022 Florian Festi <ffesti@redhat.com> - 4.16.1.3-14
Florian Festi a654ea
- Warning for failed key import (#2069877)
Florian Festi 5a103a
Michal Domonkos 60b302
* Tue Apr 05 2022 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-12
Michal Domonkos 60b302
- Fix minor ABI regression in rpmcli.h (#2037352)
Michal Domonkos 60b302
Michal Domonkos 0b3e36
* Mon Feb 14 2022 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-11
Michal Domonkos 0b3e36
- Fix IMA signature lengths assumed constant, take III (#2018937)
Michal Domonkos 0b3e36
- Fix regression reading rpm v3 and other rare packages (#2037186)
Michal Domonkos 0b3e36
- Fix spurious %transfiletriggerpostun execution (#2023692)
Michal Domonkos 0b3e36
Michal Domonkos 1a9baf
* Mon Jan 31 2022 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-10
Michal Domonkos 1a9baf
- Address covscan issues in binding sigs validation patch (#1943724)
Michal Domonkos 1a9baf
- Bump hash for rpmdb cookie to SHA256 for FIPS (#2048455)
Michal Domonkos 1a9baf
- Add --path query option (#2037352)
Michal Domonkos 1a9baf
- Skip recorded symlinks in --setperms (#2025906)
Michal Domonkos 1a9baf
Michal Domonkos 43a9b0
* Mon Dec 13 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-9
Michal Domonkos 0b3e36
- Fix IMA signature lengths assumed constant, take II (#2018937)
Michal Domonkos 43a9b0
Michal Domonkos e2e5e2
* Thu Dec 09 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-8
Michal Domonkos e2e5e2
- Support hash v8 databases from BDB < 4.6 (#1965147)
Michal Domonkos e2e5e2
- Ensure ELF files get stripped when debuginfo is disabled (#1999009)
Michal Domonkos e2e5e2
- Actually honor libarchive bcond at configure time (#1999012)
Michal Domonkos e2e5e2
- Unbreak checking of installed rich dependencies (#2015407)
Michal Domonkos e2e5e2
- Rebuild against soname bump in ima-evm-utils (#2026079)
Michal Domonkos e2e5e2
- Fix IMA signature lengths assumed constant (#2018937)
Michal Domonkos e2e5e2
- Validate and require subkey binding sigs on PGP pubkeys (#1943724)
Michal Domonkos e2e5e2
- Fixes CVE-2021-3521
Michal Domonkos e2e5e2
Michal Domonkos df2666
* Thu Aug 19 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-7
Michal Domonkos df2666
- Unblock signals in forked scriptlets (#1991667)
Michal Domonkos df2666
Mohan Boddu f44c30
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.1.3-6.1
Mohan Boddu f44c30
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Mohan Boddu f44c30
  Related: rhbz#1991688
Mohan Boddu f44c30
c168e5
* Wed Jul 28 2021 Florian Weimer <fweimer@redhat.com> - 4.16.1.3-6
c168e5
- Rebuild to pick up OpenSSL 3.0 Beta ABI (#1984097)
c168e5
Michal Domonkos 4d65fa
* Fri Jul 23 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-5
Michal Domonkos 4d65fa
- Rebuild for gating.yaml
Michal Domonkos 4d65fa
Michal Domonkos 44ada8
* Thu Jul 22 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-4
Michal Domonkos 44ada8
- Add support for EdDSA signatures to rpmsign (#1962234)
Michal Domonkos 205cd9
- Add fapolicyd plugin (#1942549)
Michal Domonkos 44ada8
Michal Domonkos b08bb7
* Mon Jul 12 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-3
Michal Domonkos b08bb7
- Release bump for a rebuild
Michal Domonkos b08bb7
Michal Domonkos 15e070
* Tue Jun 29 2021 Michal Domonkos <mdomonko@redhat.com> - 4.16.1.3-2
Michal Domonkos 15e070
- Address important covscan issues (#1938861)
Michal Domonkos 15e070
Mohan Boddu 7ac5b8
* Tue Jun 15 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.1.3-1.2
Michal Domonkos 5afe2d
- Rebuilt for RHEL 9 BETA for openssl 3.0. Related: rhbz#1971065
Mohan Boddu 7ac5b8
Mohan Boddu 912a31
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.1.3-1.1
Mohan Boddu 912a31
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Mohan Boddu 912a31
DistroBaker b97f48
* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
DistroBaker b97f48
- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
DistroBaker b97f48
DistroBaker dd8545
* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
DistroBaker dd8545
- Drop support for read-write Berkeley DB format (#1787311)
DistroBaker dd8545
DistroBaker dd8545
* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
DistroBaker dd8545
- Make with/without bdb build option actually work
DistroBaker dd8545
- Clean up unpackaged /var/tmp from the build root
DistroBaker dd8545
DistroBaker dd8545
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
DistroBaker dd8545
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
DistroBaker dd8545
DistroBaker 7a85b5
* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
DistroBaker 7a85b5
- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
DistroBaker 7a85b5
DistroBaker 6ff1af
* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
DistroBaker 6ff1af
- Fix typo in test for F33 or newer
DistroBaker 6ff1af
DistroBaker 6ff1af
* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
DistroBaker 6ff1af
- Add debugedit DWARF5 support
DistroBaker 6ff1af
DistroBaker 6ff1af
* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
DistroBaker 6ff1af
- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
DistroBaker 6ff1af
- Add a spec safeguard for accidental soname bumps
DistroBaker 6ff1af
DistroBaker 6ff1af
* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
DistroBaker 6ff1af
- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
DistroBaker 6ff1af
DistroBaker 6ff1af
* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
DistroBaker 6ff1af
- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
DistroBaker 6ff1af
DistroBaker 6ff1af
* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
DistroBaker 6ff1af
- Only disable test-suite where it's actually broken
DistroBaker 6ff1af
DistroBaker d7a644
* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
DistroBaker d7a644
- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
DistroBaker d7a644
- Fix unnecessary double failure on lazy keyring open
DistroBaker d7a644
DistroBaker 29244e
* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
DistroBaker 29244e
- Issue deprecation warning when creating BDB databases (#1787311)
DistroBaker 29244e
- Temporarily disable test-suite due to massive fakechroot breakage
DistroBaker 29244e
219cf7
* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
219cf7
- Clean up after test-suite which leaves a read-only tree behind
219cf7
219cf7
* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
219cf7
- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
219cf7
219cf7
* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
219cf7
- Rebase to 4.16.0-rc1
219cf7
- Run test-suite in parallel
219cf7
219cf7
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
219cf7
- Second attempt - Rebuilt for
219cf7
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
219cf7
219cf7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
219cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
219cf7
219cf7
* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
219cf7
- rebuild for ima-evm-utils 1.3
219cf7
219cf7
* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
219cf7
- rebuild for lua 5.4
219cf7
219cf7
* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
219cf7
- Rebase to beta3
219cf7
219cf7
* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
219cf7
- Fix prefix search on sqlite backend (many file triggers not running)
219cf7
219cf7
* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
219cf7
- Unbreak metainfo() provide generation
219cf7
219cf7
* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
219cf7
- Don't auto-enable _flush_io on non-rotational media, it's too costly
219cf7
219cf7
* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
219cf7
- Rebase to rpm 4.16.0-beta1
219cf7
219cf7
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
219cf7
- Rebuilt for Python 3.9
219cf7
219cf7
* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
219cf7
- Fix segfault when trying to use unknown database backend
219cf7
219cf7
* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
219cf7
- Flag BDB databases for rebuild on next reboot whenever rpm is updated
219cf7
- Switch default database to sqlite (#1818910)
219cf7
219cf7
* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
219cf7
- Handle rpmdb-rebuild service enablement for upgrades
219cf7
219cf7
* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
219cf7
- Fix questionable uses of %%{name} and %%{version} in the spec
219cf7
219cf7
* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
219cf7
- Fix regression(s) on build dependency resolution
219cf7
219cf7
* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
219cf7
- Add rpmdb-rebuild systemd service
219cf7
219cf7
* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
219cf7
- Warn on undefined macros in buildtree setup macros (#1820349)
219cf7
219cf7
* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
219cf7
- Fix regression causing all ELF files classified as OCaml
219cf7
219cf7
* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
219cf7
- Fix invalid path passed to parametric macro generators
219cf7
219cf7
* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
219cf7
- Fix db lock files not getting packaged
219cf7
219cf7
* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
219cf7
- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
219cf7
219cf7
* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
219cf7
- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
219cf7
- Add bconds for and enable sqlite, ndb and bdb_ro database backends
219cf7
- Add bcond for disabling bdb backend
219cf7
- Drop lmdb bcond, the backend was removed upstream
219cf7
- Ensure all database backend files are owned
219cf7
- Fix external environment causing test-suite failures in spec build
219cf7
- Re-enable hard test-suite failures again
219cf7
219cf7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
219cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
219cf7
219cf7
* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
219cf7
- Obsolete python2-rpm to fix upgrade path (#1775113)
219cf7
219cf7
* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
219cf7
- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
219cf7
219cf7
* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
219cf7
- Really revert armv8 detection improvements (patch was not applied in -6)
219cf7
219cf7
* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
219cf7
- Revert armv8 detection improvements
219cf7
219cf7
* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
219cf7
- Revert aliasing arm64 to aarch64
219cf7
- Resolves: rhbz#1763831
219cf7
219cf7
* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
219cf7
- Revert problematic sub-variants of armv8 (#1691430)
219cf7
219cf7
* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
219cf7
- Drop python2 bindings for good (#1761211)
219cf7
219cf7
* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
219cf7
- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
219cf7
219cf7
* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
219cf7
- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
219cf7
219cf7
* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
219cf7
- Update to 4.15.0-rc1
219cf7
219cf7
* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
219cf7
- Fix some issues in the thread cap logic
219cf7
219cf7
* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
219cf7
- Re-enable test-suite, temporarily disabled during alpha troubleshooting
219cf7
219cf7
* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
219cf7
- Cap number of threads on 32bit platforms (#1729382)
219cf7
- Drop %%_lto_cflags macro (reverted upstream)
219cf7
219cf7
* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
219cf7
- Restore strict order of build scriptlet stdout/stderr output
219cf7
219cf7
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
219cf7
- Rebuilt for Python 3.8
219cf7
219cf7
* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
219cf7
- Rebuilt for libimaevm.so.1
219cf7
219cf7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
219cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
219cf7
219cf7
* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
219cf7
- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
219cf7
219cf7
* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
219cf7
- Rebase to 4.15.0 beta
219cf7
219cf7
* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
219cf7
- Fix excessive TLS use, part II (#1722181)
219cf7
219cf7
* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
219cf7
- Fix excessive TLS use (#1722181)
219cf7
219cf7
* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
219cf7
- Drop buildarch again now that python_provide no longer needs it (#1720139)
219cf7
219cf7
* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
219cf7
- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
219cf7
219cf7
* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
219cf7
- Don't fail build trying to kill a non-existent process (#1720143)
219cf7
219cf7
* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
219cf7
- Fix build of binary packages in parallel
219cf7
219cf7
* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
219cf7
- Revert generation of binary packages in parallel
219cf7
219cf7
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
219cf7
- Update to 4.15.0 alpha
219cf7
219cf7
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
219cf7
- Drop support for sanitizer build, it never really worked anyway
219cf7
- Drop leftover build-dependency on binutils-devel
219cf7
- Truncate changelog to rpm 4.14.x (last two years)
219cf7
219cf7
* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
219cf7
- Drop support for Fedora < 28 builds
219cf7
- Drop leftover BDB-related compiler flag foo
219cf7
219cf7
* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
219cf7
- Use pre-determined buildhost in test-suite to avoid DNS usage
219cf7
- Drop obsolete specspo and gpg2 related patches
219cf7
219cf7
* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
219cf7
- Use py2/3 macros for building and installing the bindings
219cf7
219cf7
* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
219cf7
- Support build-id generation from compressed ELF files (#1650072)
219cf7
219cf7
* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
219cf7
- Suggest gdb-minimal
219cf7
219cf7
* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
219cf7
- Replace deprecated __global_ldflags uses with build_ldflags macro
219cf7
219cf7
* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
219cf7
- Fix excessive reference counting on faked string .decode()
219cf7
219cf7
* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
219cf7
- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
219cf7
  string objects instead of bytes (#1693751)
219cf7
- As a temporary crutch,  monkey-patch a .decode() method to returned strings
219cf7
  to give users time to migrate from the long-standing broken behavior
219cf7
219cf7
* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
219cf7
- Generate minidebug for PIE executables on file >= 5.33 too
219cf7
- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
219cf7
219cf7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
219cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
219cf7
219cf7
* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
219cf7
- Backport the new modularity label tag (#1650286)
219cf7
219cf7
* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
219cf7
- Take prefix into account when compressing man pages etc for Flatpak builds
219cf7
219cf7
* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
219cf7
- Selinux plugin requires a base policy to work (#1641631)
219cf7
219cf7
* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
219cf7
- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
219cf7
219cf7
* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
219cf7
- Push name/epoch/version/release macro before invoking depgens
219cf7
219cf7
* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
219cf7
- Resurrect long since broken Lua library path
219cf7
219cf7
* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
219cf7
- Actually fail build on test-suite failures again
219cf7
- Invoke python2 explicitly from test-suite to unbreak build, part II
219cf7
219cf7
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
219cf7
- Drop duplicate BDB buildrequire
219cf7
- Drop nowadays unnecessary BDB macro foo
219cf7
- Drop nowadays unnecessary manual libcap dependency
219cf7
219cf7
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
219cf7
- Own all rpmdb files and ensure the list remains up to date
219cf7
- Drop redundant verify exclusions on rpmdb ghosts
219cf7
- Fix build when systemd is not installed (duh)
219cf7
219cf7
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
219cf7
- Erm, really use the macro for tmpfiles.d path
219cf7
- Erm, don't nuke buildroot at beginning of %%install
219cf7
- Use modern build/install helper macros
219cf7
219cf7
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
219cf7
- Eh, selinux plugin dependency condition was upside down (#1493267)
219cf7
- Drop no longer necessary condition over imaevm name
219cf7
- Drop no longer necessary obsolete on compat-librpm3
219cf7
219cf7
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
219cf7
- Fix ancient Python GIL locking bug (#1632488)
219cf7
- Use the appropriate macro for tmpfiles.d now that one exists
219cf7
219cf7
* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
219cf7
- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
219cf7
219cf7
* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
219cf7
- Move python-macro-helper to main package where the macros are (#1577860)
219cf7
219cf7
* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
219cf7
- Update to rpm 4.14.2-rc2
219cf7
219cf7
* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
219cf7
- Decompress DWARF compressed ELF sections
219cf7
219cf7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
219cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
219cf7
219cf7
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
219cf7
- Rebuilt for Python 3.7
219cf7
219cf7
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
219cf7
- Update to rpm 4.14.2-rc1
219cf7
- Patching test-suite for python2 too painful, just sed it instead
219cf7
- Fix premature version increment from previous changelog entries, oops
219cf7
219cf7
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
219cf7
- Ehm, need to patch the autogenerated rpmtests script too for python2
219cf7
- Ehm, it's ldconfig_scriptlets not scripts
219cf7
- Drop the non-working python envvar magic from obsoleted change
219cf7
219cf7
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
219cf7
- Invoke python2 explicitly from test-suite to unbreak build
219cf7
219cf7
* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
219cf7
- Remove direct ldconfig calls, use compat macros instead
219cf7
219cf7
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
219cf7
- Rebuilt for Python 3.7
219cf7
219cf7
* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
219cf7
- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
219cf7
  https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
219cf7
219cf7
* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
219cf7
- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
219cf7
219cf7
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
219cf7
- Split rpm-build-libs to one more subpackage rpm-sign-libs
219cf7
219cf7
* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
219cf7
- Explicitly BuildRequire gcc and make
219cf7
219cf7
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
219cf7
- Escape macros in %%changelog
219cf7
219cf7
* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
219cf7
- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
219cf7
- Fix release of previous changelog entry
219cf7
219cf7
* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
219cf7
- Add envvar that will be present during RPM build,
219cf7
  Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
219cf7
  https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
219cf7
219cf7
* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
219cf7
- Skip automatic Python byte-compilation if *.py files are not present
219cf7
219cf7
* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
219cf7
- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
219cf7
219cf7
* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
219cf7
- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
219cf7
219cf7
* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
219cf7
- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
219cf7
219cf7
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
219cf7
- Fix typo in Obsoletes
219cf7
219cf7
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
219cf7
- Remove platform-python bits
219cf7
219cf7
* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
219cf7
- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
219cf7
219cf7
* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
219cf7
- Dump out test-suite log in case of failures again
219cf7
- Don't assume per-user groups in test-suite
219cf7
219cf7
* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
219cf7
- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
219cf7
219cf7
* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
219cf7
- Cleanup spec file conditionals
219cf7
219cf7
* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
219cf7
- Add build conditionals for zstd and lmdb support
219cf7
- Enable zstd support
219cf7
219cf7
* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
219cf7
- Spec cleanups
219cf7
219cf7
* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
219cf7
- BuildRequire gnupg2 for the testsuite
219cf7
219cf7
* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
219cf7
- ima-evm-utils only has a -devel package in fedora >= 28
219cf7
219cf7
* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
219cf7
- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
219cf7
219cf7
* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
219cf7
- Fix Ftell() past 2GB on 32bit architectures (#1492587)
219cf7
219cf7
* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
219cf7
- Actually honor with/without libimaevm option
219cf7
- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
219cf7
219cf7
* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
219cf7
- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
219cf7
- Re-enable SHA256 header digest generation (see #1480407)
219cf7
219cf7
* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
219cf7
- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
219cf7
219cf7
* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
219cf7
- Remove ugly kludges from posttrans script, BDB handles this now
219cf7
219cf7
* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
219cf7
- Silence harmless but bogus error message on noarch packages (#1482144)
219cf7
219cf7
* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
219cf7
- Build with platform_python
219cf7
219cf7
* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
219cf7
- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
219cf7
- Add platform python deps generator patch: platform-python-abi.patch
219cf7
- Add a platform-python subpackage and remove system python related declarations
219cf7
- Build rpm without platform_python for bytecompilation
219cf7
  (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
219cf7
219cf7
* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
219cf7
- Disable macro argument quoting as a band-aid to #1481025
219cf7
219cf7
* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
219cf7
- Disable SHA256 header-only digest generation temporarily (#1480407)
219cf7
219cf7
* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
219cf7
- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
219cf7