teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm.spec

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