| |
@@ -32,22 +32,28 @@
|
| |
|
| |
%global rpmver 4.14.3
|
| |
#global snapver rc2
|
| |
- %global rel 26
|
| |
+ %global rel 28
|
| |
+ %global rhelrel %{?snapver:0.%{snapver}.}%{rel}
|
| |
+ %global rel_next %{lua:print(tonumber(rpm.expand("%rel")) + 1)}
|
| |
+ %global rhelrel_next %{?snapver:0.%{snapver}.}%{rel_next}
|
| |
+
|
| |
+ # Bump this for EPEL only rebuilds, reset when %%rel was bumped
|
| |
+ %global baserelease 1
|
| |
|
| |
%global srcver %{version}%{?snapver:-%{snapver}}
|
| |
- %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
|
| |
+ %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{version} | cut -d'.' -f1-2).x}
|
| |
|
| |
%define bdbname libdb
|
| |
%define bdbver 5.3.15
|
| |
%define dbprefix db
|
| |
|
| |
- Summary: The RPM package management system
|
| |
- Name: rpm
|
| |
+ Summary: Python 3.X packages with RPM bindings
|
| |
+ Name: python3-rpm
|
| |
Version: %{rpmver}
|
| |
- Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist}
|
| |
+ Release: %{rhelrel}.%{baserelease}%{?dist}
|
| |
Group: System Environment/Base
|
| |
Url: http://www.rpm.org/
|
| |
- Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
|
| |
+ Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
|
| |
%if %{with int_bdb}
|
| |
Source1: db-%{bdbver}.tar.gz
|
| |
%else
|
| |
@@ -119,6 +125,16 @@
|
| |
Patch166: rpm-4.14.3-rpm2archive-nocompression.patch
|
| |
Patch167: rpm-4.14.3-rpm2archive-parse-popt-options.patch
|
| |
Patch168: rpm-4.14.3-rpm2archive-Don-t-print-usage.patch
|
| |
+ # Backport fsm to fix CVEs
|
| |
+ Patch169: 0001-Eliminate-code-duplication-from-rpmfiNext.patch
|
| |
+ Patch170: 0001-Add-optional-callback-on-directory-changes-during-rp.patch
|
| |
+ Patch171: 0001-Pass-file-descriptor-to-file-prepare-plugin-hook-use.patch
|
| |
+ Patch172: 0001-Swap-over-to-dirfd-basename-based-operation-within-t.patch
|
| |
+ Patch173: 0001-Use-file-state-machine-from-rpm-4.19.patch
|
| |
+ Patch174: 0001-Emit-full-paths-for-file-disposition-diagnostics-on-.patch
|
| |
+ Patch175: 0001-Fix-wrong-return-code-on-O_DIRECTORY-open-of-invalid.patch
|
| |
+ Patch176: 0001-Print-full-path-if-file-removal-fails.patch
|
| |
+ Patch177: 0001-Don-t-warn-about-missing-user-group-on-skipped-files.patch
|
| |
|
| |
# Python 3 string API sanity
|
| |
Patch500: 0001-In-Python-3-return-all-our-string-data-as-surrogate-.patch
|
| |
@@ -150,18 +166,19 @@
|
| |
Patch1001: compile-with-Platform-Python-binary-where-relevant.patch
|
| |
# make unversioned %%__python an error unless explicitly overridden
|
| |
Patch1002: rpm-4.14.2-unversioned-python.patch
|
| |
+ # Make brp-python-bytecompile compatible with Python 3.10+
|
| |
+ Patch1003: brp-python-bytecompile-compatibility-with-newer-pyth.patch
|
| |
|
| |
# Partially GPL/LGPL dual-licensed and some bits with BSD
|
| |
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
|
| |
License: GPLv2+
|
| |
|
| |
- Requires: coreutils
|
| |
- %if %{without int_bdb}
|
| |
- # db recovery tools, rpmdb_util symlinks
|
| |
- Requires: %{_bindir}/%{dbprefix}_stat
|
| |
- %endif
|
| |
- Requires: popt%{_isa} >= 1.10.2.1
|
| |
- Requires: curl
|
| |
+ # This prevents a build with uninstallable runtime Requires
|
| |
+ BuildRequires: (rpm-libs >= %{version}-%{rhelrel} with rpm-libs < %{version}-%{rhelrel_next})
|
| |
+
|
| |
+ # Use a specific (tested) Python macros edition
|
| |
+ # 3.11 has broken %%py3_check_import -- https://bugzilla.redhat.com/2207631
|
| |
+ BuildRequires: python39-rpm-macros
|
| |
|
| |
%if %{without int_bdb}
|
| |
BuildRequires: %{bdbname}-devel
|
| |
@@ -233,204 +250,36 @@
|
| |
%endif
|
| |
|
| |
%description
|
| |
- The RPM Package Manager (RPM) is a powerful command line driven
|
| |
- package management system capable of installing, uninstalling,
|
| |
- verifying, querying, and updating software packages. Each software
|
| |
- package consists of an archive of files along with information about
|
| |
- the package like its version, a description, etc.
|
| |
-
|
| |
- %package libs
|
| |
- Summary: Libraries for manipulating RPM packages
|
| |
- Group: Development/Libraries
|
| |
- License: GPLv2+ and LGPLv2+ with exceptions
|
| |
- Requires: %{name} = %{version}-%{release}
|
| |
- # librpm uses cap_compare, introduced sometimes between libcap 2.10 and 2.16.
|
| |
- # A manual require is needed, see #505596
|
| |
- Requires: libcap%{_isa} >= 2.16
|
| |
-
|
| |
- %description libs
|
| |
- This package contains the RPM shared libraries.
|
| |
-
|
| |
- %package build-libs
|
| |
- Summary: Libraries for building and signing RPM packages
|
| |
- Group: Development/Libraries
|
| |
- License: GPLv2+ and LGPLv2+ with exceptions
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
- Requires: %{_bindir}/gpg2
|
| |
-
|
| |
- %description build-libs
|
| |
- This package contains the RPM shared libraries for building and signing
|
| |
- packages.
|
| |
+ Additional Python 3.X packages with the RPM Python bindings.
|
| |
|
| |
- %package devel
|
| |
- Summary: Development files for manipulating RPM packages
|
| |
+ %define python3x_package %{?name:%package -n python%{python3_pkgversion}-rpm
|
| |
+ Summary: Python %{_python3_pkgversion_with_dot} bindings for apps which will manipulate RPM packages
|
| |
Group: Development/Libraries
|
| |
- License: GPLv2+ and LGPLv2+ with exceptions
|
| |
- Requires: %{name} = %{version}-%{release}
|
| |
- Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
| |
- Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
|
| |
- Requires: popt-devel%{_isa}
|
| |
-
|
| |
- %description devel
|
| |
- This package contains the RPM C library and header files. These
|
| |
- development files will simplify the process of writing programs that
|
| |
- manipulate RPM packages and databases. These files are intended to
|
| |
- simplify the process of creating graphical package managers or any
|
| |
- other tools that need an intimate knowledge of RPM packages in order
|
| |
- to function.
|
| |
-
|
| |
- This package should be installed if you want to develop programs that
|
| |
- will manipulate RPM packages and databases.
|
| |
-
|
| |
- %package build
|
| |
- Summary: Scripts and executable programs used to build packages
|
| |
- Group: Development/Tools
|
| |
- Requires: rpm = %{version}-%{release}
|
| |
- Requires: elfutils >= 0.128 binutils
|
| |
- Requires: findutils sed grep gawk diffutils file patch >= 2.5
|
| |
- Requires: tar unzip gzip bzip2 cpio xz
|
| |
- %if %{with zstd}
|
| |
- Requires: zstd
|
| |
- %endif
|
| |
- Requires: pkgconfig >= 1:0.24
|
| |
- Requires: /usr/bin/gdb-add-index
|
| |
- # Technically rpmbuild doesn't require any external configuration, but
|
| |
- # creating distro-compatible packages does. To make the common case
|
| |
- # "just work" while allowing for alternatives, depend on a virtual
|
| |
- # provide, typically coming from redhat-rpm-config.
|
| |
- Requires: system-rpm-config
|
| |
-
|
| |
- %description build
|
| |
- The rpm-build package contains the scripts and executable programs
|
| |
- that are used to build packages using the RPM Package Manager.
|
| |
-
|
| |
- %package sign
|
| |
- Summary: Package signing support
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-build-libs%{_isa} = %{version}-%{release}
|
| |
-
|
| |
- %description sign
|
| |
- This package contains support for digitally signing RPM packages.
|
| |
-
|
| |
- %if %{with python2}
|
| |
- %package -n python2-%{name}
|
| |
- Summary: Python 2 bindings for apps which will manipulate RPM packages
|
| |
- Group: Development/Libraries
|
| |
- BuildRequires: python2-devel
|
| |
- %{?python_provide:%python_provide python2-%{name}}
|
| |
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
| |
- Provides: %{name}-python = %{version}-%{release}
|
| |
- Obsoletes: %{name}-python < %{version}-%{release}
|
| |
-
|
| |
- %description -n python2-%{name}
|
| |
- The python2-rpm package contains a module that permits applications
|
| |
- written in the Python programming language to use the interface
|
| |
- supplied by RPM Package Manager libraries.
|
| |
-
|
| |
- This package should be installed if you want to develop Python 2
|
| |
- programs that will manipulate RPM packages and databases.
|
| |
- %endif # with python2
|
| |
-
|
| |
- %package -n python3-%{name}
|
| |
- Summary: Python 3 bindings for apps which will manipulate RPM packages
|
| |
- Group: Development/Libraries
|
| |
- BuildRequires: python3-devel
|
| |
- %{?python_provide:%python_provide python3-%{name}}
|
| |
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
| |
- Provides: %{name}-python3 = %{version}-%{release}
|
| |
- Obsoletes: %{name}-python3 < %{version}-%{release}
|
| |
+ BuildRequires: python%{python3_pkgversion}-devel
|
| |
+ %{?python_provide:%python_provide python%{python3_pkgversion}-rpm}
|
| |
+ Requires: (rpm-libs%{?_isa} >= %{version}-%{rhelrel} with rpm-libs%{?_isa} < %{version}-%{rhelrel_next})
|
| |
+ Provides: rpm-python%{python3_pkgversion} = %{version}-%{release}
|
| |
# Lowest compatible DNF version (acts as a safeguard to protect DNF from
|
| |
# breaking in case the user attempts to upgrade RPM separately).
|
| |
# Version 4.2.7 added support for the new API output format introduced in
|
| |
# rpm-4.14.2-10.
|
| |
- Conflicts: python3-dnf < 4.2.7
|
| |
+ Conflicts: python%{python3_pkgversion}-dnf < 4.2.7
|
| |
|
| |
- %description -n python3-%{name}
|
| |
- The python3-rpm package contains a module that permits applications
|
| |
+ %description -n python%{python3_pkgversion}-rpm
|
| |
+ The python%{python3_pkgversion}-rpm package contains a module that permits applications
|
| |
written in the Python programming language to use the interface
|
| |
supplied by RPM Package Manager libraries.
|
| |
|
| |
- This package should be installed if you want to develop Python 3
|
| |
- programs that will manipulate RPM packages and databases.
|
| |
-
|
| |
- %package apidocs
|
| |
- Summary: API documentation for RPM libraries
|
| |
- Group: Documentation
|
| |
- BuildArch: noarch
|
| |
-
|
| |
- %description apidocs
|
| |
- This package contains API documentation for developing applications
|
| |
- that will manipulate RPM packages and databases.
|
| |
-
|
| |
- %package cron
|
| |
- Summary: Create daily logs of installed packages.
|
| |
- Group: System Environment/Base
|
| |
- BuildArch: noarch
|
| |
- Requires: crontabs logrotate rpm = %{version}-%{release}
|
| |
-
|
| |
- %description cron
|
| |
- This package contains a cron job which creates daily logs of installed
|
| |
- packages on a system.
|
| |
+ This package should be installed if you want to develop Python %{_python3_pkgversion_with_dot}
|
| |
+ programs that will manipulate RPM packages and databases.}
|
| |
|
| |
- %if %{with plugins}
|
| |
- %package plugin-selinux
|
| |
- Summary: Rpm plugin for SELinux functionality
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
- Requires: selinux-policy-base
|
| |
-
|
| |
- %description plugin-selinux
|
| |
- %{summary}
|
| |
-
|
| |
- %package plugin-syslog
|
| |
- Summary: Rpm plugin for syslog functionality
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
-
|
| |
- %description plugin-syslog
|
| |
- %{summary}
|
| |
-
|
| |
- %package plugin-systemd-inhibit
|
| |
- Summary: Rpm plugin for systemd inhibit functionality
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
-
|
| |
- %description plugin-systemd-inhibit
|
| |
- This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
|
| |
- transaction is running using the systemd-inhibit mechanism.
|
| |
-
|
| |
- %package plugin-ima
|
| |
- Summary: Rpm plugin ima file signatures
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
-
|
| |
- %description plugin-ima
|
| |
- %{summary}
|
| |
-
|
| |
- %package plugin-prioreset
|
| |
- Summary: Rpm plugin for resetting scriptlet priorities for SysV init
|
| |
- Group: System Environment/Base
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
-
|
| |
- %description plugin-prioreset
|
| |
- %{summary}
|
| |
-
|
| |
- Useful on legacy SysV init systems if you run rpm transactions with
|
| |
- nice/ionice priorities. Should not be used on systemd systems.
|
| |
-
|
| |
- %package plugin-fapolicyd
|
| |
- Summary: Rpm plugin for fapolicyd functionality
|
| |
- Requires: rpm-libs%{_isa} = %{version}-%{release}
|
| |
- Provides: fapolicyd-plugin
|
| |
- Obsoletes: fapolicyd-dnf-plugin
|
| |
-
|
| |
- %description plugin-fapolicyd
|
| |
- %{summary}.
|
| |
-
|
| |
- %endif # with plugins
|
| |
+ %global python3_pkgversion 39
|
| |
+ %python3x_package
|
| |
+ %global python3_pkgversion 3.11
|
| |
+ %python3x_package
|
| |
|
| |
%prep
|
| |
- %autosetup -n %{name}-%{srcver} %{?with_int_bdb:-a 1} -p1
|
| |
+ %autosetup -n rpm-%{srcver} %{?with_int_bdb:-a 1} -p1
|
| |
|
| |
%if %{with int_bdb}
|
| |
ln -s db-%{bdbver} db
|
| |
@@ -453,6 +302,11 @@
|
| |
%{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i
|
| |
done;
|
| |
|
| |
+ # For configure, we'll use 3.9 explicitly
|
| |
+ # Multiple-digit "minor" Python versions don't work here yet anyway
|
| |
+ %global python3_pkgversion 39
|
| |
+ export PYTHON=%{__python3}
|
| |
+
|
| |
# Using configure macro has some unwanted side-effects on rpm platform
|
| |
# setup, use the old-fashioned way for now only defining minimal paths.
|
| |
./configure \
|
| |
@@ -478,8 +332,7 @@
|
| |
%{?with_sqlite: --enable-sqlite} \
|
| |
--with-fapolicyd \
|
| |
--enable-python \
|
| |
- --with-crypto=openssl \
|
| |
- PYTHON=python3
|
| |
+ --with-crypto=openssl
|
| |
|
| |
make %{?_smp_mflags}
|
| |
|
| |
@@ -487,6 +340,9 @@
|
| |
%if %{with python2}
|
| |
%{__python2} setup.py build
|
| |
%endif # with python2
|
| |
+ %global python3_pkgversion 39
|
| |
+ %{__python3} setup.py build
|
| |
+ %global python3_pkgversion 3.11
|
| |
%{__python3} setup.py build
|
| |
popd
|
| |
|
| |
@@ -501,6 +357,9 @@
|
| |
%if %{with python2}
|
| |
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| |
%endif # with python2
|
| |
+ %global python3_pkgversion 39
|
| |
+ %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| |
+ %global python3_pkgversion 3.11
|
| |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| |
popd
|
| |
|
| |
@@ -536,170 +395,50 @@
|
| |
done
|
| |
%endif
|
| |
|
| |
- %find_lang %{name}
|
| |
-
|
| |
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
| |
|
| |
- # These live in perl-generators and python-rpm-generators now
|
| |
- rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
|
| |
- rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
|
| |
- # Axe unused cruft
|
| |
- rm -f $RPM_BUILD_ROOT/%{rpmhome}/{tcl.req,osgideps.pl}
|
| |
+ # Remove all non-Python files
|
| |
+ rm -r %{buildroot}%{_bindir}
|
| |
+ rm -r %{buildroot}%{_datadir}
|
| |
+ rm -r %{buildroot}%{_includedir}
|
| |
+ rm -r %{buildroot}%{_libdir}/lib*
|
| |
+ rm -r %{buildroot}%{_libdir}/pkgconfig/
|
| |
+ rm -r %{buildroot}%{_libdir}/rpm-plugins/
|
| |
+ rm -r %{buildroot}%{_localstatedir}
|
| |
+ rm -r %{buildroot}%{_prefix}/lib
|
| |
+ rm -r %{buildroot}%{_sysconfdir}
|
| |
|
| |
- # Avoid unnecessary dependency on /usr/bin/python
|
| |
- chmod a-x $RPM_BUILD_ROOT/%{rpmhome}/python-macro-helper
|
| |
-
|
| |
- %if %{with check}
|
| |
%check
|
| |
+ %global python3_pkgversion 39
|
| |
+ %py3_check_import rpm rpm.transaction
|
| |
+ %global python3_pkgversion 3.11
|
| |
+ %py3_check_import rpm rpm.transaction
|
| |
+ %if %{with check}
|
| |
make check || cat tests/rpmtests.log
|
| |
%endif
|
| |
|
| |
- %post libs -p /sbin/ldconfig
|
| |
- %postun libs -p /sbin/ldconfig
|
| |
-
|
| |
- %post build-libs -p /sbin/ldconfig
|
| |
- %postun build-libs -p /sbin/ldconfig
|
| |
-
|
| |
- %files -f %{name}.lang
|
| |
+ %global python3_pkgversion 39
|
| |
+ %files -n python%{python3_pkgversion}-rpm
|
| |
%license COPYING
|
| |
- %doc CREDITS doc/manual/[a-z]*
|
| |
-
|
| |
- /usr/lib/tmpfiles.d/rpm.conf
|
| |
- %dir %{_sysconfdir}/rpm
|
| |
-
|
| |
- %attr(0755, root, root) %dir /var/lib/rpm
|
| |
- %attr(0644, root, root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/lib/rpm/*
|
| |
-
|
| |
- %{_bindir}/rpm
|
| |
- %if %{with libarchive}
|
| |
- %{_bindir}/rpm2archive
|
| |
- %endif
|
| |
- %{_bindir}/rpm2cpio
|
| |
- %{_bindir}/rpmdb
|
| |
- %{_bindir}/rpmkeys
|
| |
- %{_bindir}/rpmquery
|
| |
- %{_bindir}/rpmverify
|
| |
-
|
| |
- %{_mandir}/man8/rpm.8*
|
| |
- %{_mandir}/man8/rpmdb.8*
|
| |
- %{_mandir}/man8/rpmkeys.8*
|
| |
- %{_mandir}/man8/rpm2cpio.8*
|
| |
- %{_mandir}/man8/rpm-misc.8*
|
| |
-
|
| |
- # XXX this places translated manuals to wrong package wrt eg rpmbuild
|
| |
- %lang(fr) %{_mandir}/fr/man[18]/*.[18]*
|
| |
- %lang(ko) %{_mandir}/ko/man[18]/*.[18]*
|
| |
- %lang(ja) %{_mandir}/ja/man[18]/*.[18]*
|
| |
- %lang(pl) %{_mandir}/pl/man[18]/*.[18]*
|
| |
- %lang(ru) %{_mandir}/ru/man[18]/*.[18]*
|
| |
- %lang(sk) %{_mandir}/sk/man[18]/*.[18]*
|
| |
-
|
| |
- %attr(0755, root, root) %dir %{rpmhome}
|
| |
- %{rpmhome}/macros
|
| |
- %{rpmhome}/macros.d
|
| |
- %{rpmhome}/rpmpopt*
|
| |
- %{rpmhome}/rpmrc
|
| |
-
|
| |
- %{rpmhome}/rpmdb_*
|
| |
- %{rpmhome}/rpm.daily
|
| |
- %{rpmhome}/rpm.log
|
| |
- %{rpmhome}/rpm.supp
|
| |
- %{rpmhome}/rpm2cpio.sh
|
| |
- %{rpmhome}/tgpg
|
| |
- %{rpmhome}/python-macro-helper
|
| |
-
|
| |
- %{rpmhome}/platform
|
| |
-
|
| |
- %dir %{rpmhome}/fileattrs
|
| |
-
|
| |
- %files libs
|
| |
- %{_libdir}/librpmio.so.*
|
| |
- %{_libdir}/librpm.so.*
|
| |
- %if %{with plugins}
|
| |
- %dir %{_libdir}/rpm-plugins
|
| |
-
|
| |
- %files plugin-syslog
|
| |
- %{_libdir}/rpm-plugins/syslog.so
|
| |
-
|
| |
- %files plugin-selinux
|
| |
- %{_libdir}/rpm-plugins/selinux.so
|
| |
-
|
| |
- %files plugin-systemd-inhibit
|
| |
- %{_libdir}/rpm-plugins/systemd_inhibit.so
|
| |
- %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
| |
-
|
| |
- %files plugin-ima
|
| |
- %{_libdir}/rpm-plugins/ima.so
|
| |
-
|
| |
- %files plugin-prioreset
|
| |
- %{_libdir}/rpm-plugins/prioreset.so
|
| |
-
|
| |
- %files plugin-fapolicyd
|
| |
- %{_libdir}/rpm-plugins/fapolicyd.so
|
| |
- %{_mandir}/man8/rpm-plugin-fapolicyd.8*
|
| |
- %endif # with plugins
|
| |
-
|
| |
- %files build-libs
|
| |
- %{_libdir}/librpmbuild.so.*
|
| |
- %{_libdir}/librpmsign.so.*
|
| |
-
|
| |
- %files build
|
| |
- %{_bindir}/rpmbuild
|
| |
- %{_bindir}/gendiff
|
| |
- %{_bindir}/rpmspec
|
| |
-
|
| |
- %{_mandir}/man1/gendiff.1*
|
| |
- %{_mandir}/man8/rpmbuild.8*
|
| |
- %{_mandir}/man8/rpmdeps.8*
|
| |
- %{_mandir}/man8/rpmspec.8*
|
| |
-
|
| |
- %{rpmhome}/brp-*
|
| |
- %{rpmhome}/check-*
|
| |
- %{rpmhome}/debugedit
|
| |
- %{rpmhome}/sepdebugcrcfix
|
| |
- %{rpmhome}/find-debuginfo.sh
|
| |
- %{rpmhome}/find-lang.sh
|
| |
- %{rpmhome}/*provides*
|
| |
- %{rpmhome}/*requires*
|
| |
- %{rpmhome}/*deps*
|
| |
- %{rpmhome}/*.prov
|
| |
- %{rpmhome}/*.req
|
| |
- %{rpmhome}/config.*
|
| |
- %{rpmhome}/mkinstalldirs
|
| |
- %{rpmhome}/macros.p*
|
| |
- %{rpmhome}/fileattrs/*
|
| |
-
|
| |
- %files sign
|
| |
- %{_bindir}/rpmsign
|
| |
- %{_mandir}/man8/rpmsign.8*
|
| |
+ %{python3_sitearch}/rpm/
|
| |
+ %{python3_sitearch}/rpm-%{version}*.egg-info
|
| |
|
| |
- %if %{with python2}
|
| |
- %files -n python2-%{name}
|
| |
- %{python2_sitearch}/%{name}/
|
| |
- %{python2_sitearch}/%{name}-%{version}*.egg-info
|
| |
- %endif # with python2
|
| |
-
|
| |
- %files -n python3-%{name}
|
| |
- %{python3_sitearch}/%{name}/
|
| |
- %{python3_sitearch}/%{name}-%{version}*.egg-info
|
| |
-
|
| |
- %files devel
|
| |
- %{_mandir}/man8/rpmgraph.8*
|
| |
- %{_bindir}/rpmgraph
|
| |
- %{_libdir}/librp*[a-z].so
|
| |
- %{_libdir}/pkgconfig/%{name}.pc
|
| |
- %{_includedir}/%{name}/
|
| |
-
|
| |
- %files cron
|
| |
- %{_sysconfdir}/cron.daily/rpm
|
| |
- %config(noreplace) %{_sysconfdir}/logrotate.d/rpm
|
| |
-
|
| |
- %files apidocs
|
| |
+ %global python3_pkgversion 3.11
|
| |
+ %files -n python%{python3_pkgversion}-rpm
|
| |
%license COPYING
|
| |
- %doc doc/librpm/html/*
|
| |
+ %{python3_sitearch}/rpm/
|
| |
+ %{python3_sitearch}/rpm-%{version}*.egg-info
|
| |
|
| |
%changelog
|
| |
- * Mon Dec 19 2022 Florian Festi <ffesti@redhat.com> - 4.14.4-26
|
| |
+ * Tue Dec 12 2023 Florian Festi <ffesti@redhat.com> - 4.14.3-28
|
| |
+ - Backport file handling code from rpm-4.19 to fix CVE-2021-35937,
|
| |
+ CVE-2021-35938 and CVE-2021-35939
|
| |
+
|
| |
+ * Tue Sep 26 2023 Lumír Balhar <lbalhar@redhat.com> - 4.14.3-27
|
| |
+ - Make brp-python-bytecompile script compatible with Python 3.10+
|
| |
+ Resolves: RHEL-6423
|
| |
+
|
| |
+ * Mon Dec 19 2022 Florian Festi <ffesti@redhat.com> - 4.14.3-26
|
| |
- Add --nocompression to rpm2archive (#2129345)
|
| |
|
| |
* Tue Sep 13 2022 Michal Domonkos <mdomonko@redhat.com> - 4.14.3-24
|
| |