richardphibel / rpms / rpm

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