2019-09-30 11:16:24 -04:00
|
|
|
Name: rpm
|
2022-10-27 02:00:37 +00:00
|
|
|
Version: 4.17.0
|
2022-11-01 21:32:14 +08:00
|
|
|
Release: 13
|
2019-09-30 11:16:24 -04:00
|
|
|
Summary: RPM Package Manager
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.rpm.org/
|
2022-10-27 02:00:37 +00:00
|
|
|
Source0: http://ftp.rpm.org/releases/rpm-4.17.x/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
Patch1: Unbundle-config-site-and-add-RPM-LD-FLAGS-macro.patch
|
|
|
|
|
Patch2: rpm-4.12.0-rpm2cpio-hack.patch
|
|
|
|
|
Patch3: add-dist-to-release-by-default.patch
|
|
|
|
|
Patch4: revert-always-execute-file-trigger-scriptlet-callbac.patch
|
|
|
|
|
Patch5: bugfix-rpm-4.11.3-add-aarch64_ilp32-arch.patch
|
|
|
|
|
Patch6: bugfix-rpm-4.14.2-wait-once-get-rpmlock-fail.patch
|
|
|
|
|
Patch7: Generate-digest-lists.patch
|
|
|
|
|
Patch8: Add-digest-list-plugin.patch
|
|
|
|
|
Patch9: Don-t-add-dist-to-release-if-it-is-already-there.patch
|
|
|
|
|
Patch10: Generate-digest-lists-before-calling-genCpioListAndH.patch
|
|
|
|
|
Patch11: call-process_digest_list-after-files-are-added.patch
|
|
|
|
|
Patch12: fix-lsetxattr-error-in-container.patch
|
|
|
|
|
Patch13: rpm-selinux-plugin-check-context-file-exist.patch
|
|
|
|
|
Patch14: get-in-use-of-ndb.patch
|
|
|
|
|
Patch15: still-in-use-of-python-scripts-from-old-version.patch
|
|
|
|
|
Patch16: Add-loongarch-architecture-support.patch
|
|
|
|
|
Patch17: Fix-digest_list_counter.patch
|
|
|
|
|
Patch18: Check-rpm-parser.patch
|
|
|
|
|
Patch19: Remove-digest-list-from-the-kernel-during-package-re.patch
|
|
|
|
|
Patch20: Add-license-to-digest_list.c.patch
|
|
|
|
|
Patch21: Avoid-generating-digest-lists-if-they-are-already-pa.patch
|
|
|
|
|
Patch22: dont-remove-ima-xattr-of-parser-when-upgrading.patch
|
|
|
|
|
|
|
|
|
|
Patch6000: backport-Use-root-as-default-UID_0_USER-and-UID_0_GROUP.patch
|
|
|
|
|
Patch6001: backport-Check-file-iterator-for-being-NULL-consistently.patch
|
|
|
|
|
Patch6002: backport-Process-MPI-s-from-all-kinds-of-signatures.patch
|
|
|
|
|
Patch6003: backport-Refactor-pgpDigParams-construction-to-helper-functio.patch
|
|
|
|
|
Patch6004: backport-Validate-and-require-subkey-binding-signatures-on-PG.patch
|
|
|
|
|
Patch6005: backport-Revert-Explictly-skip-non-installed-files-on-erasur.patch
|
|
|
|
|
Patch6006: backport-Fix-hash-context-leak.patch
|
|
|
|
|
Patch6007: backport-Fix-hashlen-overflow.patch
|
|
|
|
|
Patch6008: backport-Fix-some-Lua-stack-leaks-in-our-initialization-code.patch
|
|
|
|
|
Patch6009: backport-Simplify-rpm_print-fixing-a-Lua-stack-leak-as-a-bonu.patch
|
|
|
|
|
Patch6010: backport-Switch-the-floating-point-type-in-rpmhook-from-float.patch
|
|
|
|
|
Patch6011: backport-Fix-a-memleak-in-ndb-from-opened-but-not-closed-dbis.patch
|
|
|
|
|
Patch6012: backport-Fix-possible-NULL-pointer-dereference-in-rpmfcClassi.patch
|
|
|
|
|
Patch6013: backport-Fix-old-Python-ts.check-argument-order-regression.patch
|
|
|
|
|
Patch6014: backport-Fix-memory-leak-in-pgpPrtParams.patch
|
|
|
|
|
Patch6015: backport-Fix-use-after-free-in-haveSignature.patch
|
|
|
|
|
Patch6016: backport-Close-file-before-replacing-signed.patch
|
|
|
|
|
Patch6017: backport-Fix-__cplusplus-misspelled-as-_cplusplus.patch
|
|
|
|
|
Patch6018: backport-treat-0-as-valid-file-descriptor.patch
|
|
|
|
|
Patch6019: backport-Skip-recorded-symlinks-in-setperms-RhBug-1900662.patch
|
|
|
|
|
Patch6020: backport-Check-that-the-CRC-length-is-correct.patch
|
|
|
|
|
Patch6021: backport-Make-rpmfiSetFX-return-code-meaningful.patch
|
|
|
|
|
Patch6022: backport-Avoid-reading-out-of-bounds-of-the-i18ntable.patch
|
|
|
|
|
Patch6023: backport-rpmkeys-exit-non-zero-on-I-O-errors.patch
|
|
|
|
|
|
|
|
|
|
Patch6024: backport-Prevent-NULL-deref-in-rpmfsGetStates.patch
|
|
|
|
|
Patch6025: backport-Fix-memory-leak-in-pgpPrtParams-1.patch
|
|
|
|
|
Patch6026: backport-Fix-return-value-checks-in-OpenSSL-code.patch
|
|
|
|
|
Patch6027: backport-Avoid-double-frees-if-EVP_PKEY_assign_RSA-fails.patch
|
|
|
|
|
Patch6028: backport-Require-creation-time-to-be-unique-and-hashed.patch
|
|
|
|
|
Patch6029: backport-Add-a-hashed-flag-to-pgpPrtSubtype.patch
|
|
|
|
|
Patch6030: backport-Parse-key-usage-flags.patch
|
|
|
|
|
Patch6031: backport-Ignore-subkeys-that-cannot-be-used-for-signing.patch
|
|
|
|
|
Patch6032: backport-Avoid-unneded-MPI-reparsing.patch
|
|
|
|
|
Patch6033: backport-Fix-OpenPGP-key-ID-parsing-regression.patch
|
|
|
|
|
Patch6034: backport-Fix-changelog-parsing-affecting-caller-timezone-stat.patch
|
|
|
|
|
Patch6035: backport-rpm2cpio.sh-Don-t-drop-newlines-from-header-sizes.patch
|
|
|
|
|
Patch6036: backport-Prevent-readelf-internet-access-during-rpaths-checki.patch
|
|
|
|
|
Patch6037: backport-Fix-short-circuiting-of-version-strings-in-expressio.patch
|
|
|
|
|
|
|
|
|
|
Patch6038: backport-Add-optional-callback-on-directory-changes-during-rp.patch
|
|
|
|
|
Patch6039: backport-CVE-2021-35937-CVE-2021-35939.patch
|
|
|
|
|
Patch6040: backport-Consolidate-skipped-hardlink-with-content-case-with-.patch
|
|
|
|
|
Patch6041: backport-Fix-sanitize-the-hardlink-metadata-setting-logic.patch
|
|
|
|
|
Patch6042: backport-Convert-the-file-creation-steps-the-at-family-of-cal.patch
|
|
|
|
|
Patch6043: backport-Bury-rpmio-FD-use-to-fsmUnpack.patch
|
|
|
|
|
Patch6044: backport-Return-descriptor-of-created-file-from-fsmMkfile.patch
|
|
|
|
|
Patch6045: backport-CVE-2021-35938.patch
|
|
|
|
|
Patch6046: backport-rpm2cpio.sh-strip-null-bytes-with-tr.patch
|
|
|
|
|
Patch6047: backport-rpm2cpio.sh-only-read-needed-bytes-of-file-magic.patch
|
2022-11-01 21:32:14 +08:00
|
|
|
Patch6048: backport-Fix-rpm-lua-rpm_vercmp-error-message-if-second-argum.patch
|
|
|
|
|
Patch6049: backport-Make-pgpPubkeyFingerprint-do-something-meaningful-ag.patch
|
|
|
|
|
Patch6050: backport-Fix-possible-descriptor-leak-in-fsmOpenat.patch
|
2022-08-31 14:13:02 +08:00
|
|
|
|
2021-12-27 19:59:18 +08:00
|
|
|
BuildRequires: gcc autoconf automake libtool make gawk popt-devel openssl-devel readline-devel
|
2022-08-16 10:29:03 +08:00
|
|
|
BuildRequires: zlib-devel zstd-devel >= 1.3.8 xz-devel bzip2-devel libarchive-devel ima-evm-utils-devel
|
2020-01-18 17:10:45 +08:00
|
|
|
BuildRequires: dbus-devel fakechroot elfutils-devel elfutils-libelf-devel ima-evm-utils
|
2019-09-30 11:16:24 -04:00
|
|
|
BuildRequires: lua-devel libcap-devel libacl-devel libselinux-devel file-devel gettext-devel ncurses-devel
|
2021-12-27 19:59:18 +08:00
|
|
|
BuildRequires: system-rpm-config dwz gnupg2 debugedit
|
2022-08-15 11:51:35 +08:00
|
|
|
Requires: coreutils popt curl zstd >= 1.4.0 libcap crontabs logrotate
|
2020-01-20 11:02:18 +08:00
|
|
|
Obsoletes: %{name}-build-libs %{name}-sign-libs %{name}-sign %{name}-cron
|
|
|
|
|
Provides: %{name}-build-libs %{name}-sign-libs %{name}-sign %{name}-cron
|
2021-07-08 17:12:50 +08:00
|
|
|
Obsoletes: %{name}-plugin-selinux %{name}-plugin-syslog %{name}-plugin-systemd-inhibit < 4.15.1-28 %{name}-plugin-ima %{name}-plugin-prioreset
|
|
|
|
|
Provides: %{name}-plugin-selinux %{name}-plugin-syslog %{name}-plugin-ima %{name}-plugin-prioreset
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The RPM Package Manager (RPM) is a powerful package management system capability as below
|
|
|
|
|
|
|
|
|
|
-building computer software from source into easily distributable packages
|
|
|
|
|
-installing, updating and uninstalling packaged software
|
|
|
|
|
-querying detailed information about the packaged software, whether installed or not
|
|
|
|
|
-verifying integrity of packaged software and resulting software installation
|
|
|
|
|
|
2020-01-18 17:10:45 +08:00
|
|
|
%package libs
|
2022-10-27 02:00:37 +00:00
|
|
|
Summary: Shared library of rpm 4.17
|
2021-06-28 16:46:26 +08:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2020-01-13 22:54:57 +08:00
|
|
|
|
2020-01-18 17:10:45 +08:00
|
|
|
%description libs
|
2021-12-27 19:59:18 +08:00
|
|
|
Shared library of rpm 4.17.
|
2020-01-13 22:54:57 +08:00
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%package build
|
|
|
|
|
Summary: Scripts and executable programs used to build packages
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: elfutils binutils findutils sed grep gawk diffutils file patch
|
|
|
|
|
Requires: tar unzip gzip bzip2 cpio xz zstd pkgconfig system-rpm-config
|
2021-12-27 19:59:18 +08:00
|
|
|
Requires: gdb-headless debugedit
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%description build
|
|
|
|
|
This package provides scripts and executable programs that used to
|
|
|
|
|
build rpm packages.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
|
Summary: Python3 bindings for RPM user
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
%{?python_provide:%python_provide python3-%{name}}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-python3 = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-python3 < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
|
This package contains a module that allow applications
|
|
|
|
|
written with Python3 to use the interface
|
|
|
|
|
supplied by RPM.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for RPM handling
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: popt-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
2021-07-08 17:12:50 +08:00
|
|
|
%package plugin-systemd-inhibit
|
|
|
|
|
Summary: rpm plugin to get systemd-inhibit lock
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description plugin-systemd-inhibit
|
|
|
|
|
This package use systemd-inhibit to block systemd from entering
|
|
|
|
|
idle, sleep or shutdown while an rpm transcation is running.
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%package help
|
|
|
|
|
Summary: Man page for %{name}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Obsoletes: apidocs
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CPPFLAGS="$CPPFLAGS -DLUA_COMPAT_APIINTCASTS"
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -DLUA_COMPAT_APIINTCASTS"
|
|
|
|
|
LDFLAGS="$LDFLAGS %{?__global_ldflags}"
|
|
|
|
|
export CPPFLAGS CFLAGS LDFLAGS
|
|
|
|
|
|
|
|
|
|
autoreconf -i -f
|
|
|
|
|
|
|
|
|
|
for i in $(find . -name ltmain.sh) ; do
|
|
|
|
|
%{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i
|
|
|
|
|
done;
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=%{_usr} \
|
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
|
--localstatedir=%{_var} \
|
|
|
|
|
--sharedstatedir=%{_var}/lib \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--build=%{_target_platform} \
|
|
|
|
|
--host=%{_target_platform} \
|
|
|
|
|
--with-vendor=%{_vendor} \
|
|
|
|
|
--with-external-db \
|
|
|
|
|
--with-lua \
|
|
|
|
|
--with-selinux \
|
|
|
|
|
--with-cap \
|
|
|
|
|
--with-acl \
|
|
|
|
|
--with-imaevm \
|
|
|
|
|
--enable-zstd \
|
|
|
|
|
--enable-python \
|
2021-12-27 19:59:18 +08:00
|
|
|
--enable-bdb-ro \
|
|
|
|
|
--enable-ndb \
|
|
|
|
|
--enable-bdb=no \
|
|
|
|
|
--enable-sqlite=no \
|
|
|
|
|
--with-crypto=openssl \
|
|
|
|
|
--with-fapolicyd=no \
|
|
|
|
|
--with-fsverity=no
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
pushd python
|
|
|
|
|
%{__python3} setup.py build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
pushd python
|
|
|
|
|
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
|
|
|
|
|
install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
|
|
|
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
|
|
|
|
|
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
|
|
|
|
|
|
2021-12-27 19:59:18 +08:00
|
|
|
install -m 755 build-aux/config.guess ${RPM_BUILD_ROOT}%{_rpmconfigdir}/
|
|
|
|
|
install -m 755 build-aux/config.sub ${RPM_BUILD_ROOT}%{_rpmconfigdir}/
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d
|
|
|
|
|
echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/rpm.conf
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
|
|
|
|
|
|
2021-12-27 19:59:18 +08:00
|
|
|
./rpmdb --define "_db_backend ndb" --dbpath=$(pwd)/ndb/ --initdb
|
|
|
|
|
cp -va ndb/. $RPM_BUILD_ROOT/var/lib/rpm/
|
2020-01-10 17:01:49 +08:00
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_rpmconfigdir}/{perldeps.pl,perl.*,pythond*}
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_rpmconfigdir}/{tcl.req,osgideps.pl}
|
2021-12-27 19:59:18 +08:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d/org.rpm.conf
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%check
|
2020-01-10 17:01:49 +08:00
|
|
|
make check || (cat tests/rpmtests.log; exit 0)
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
2020-02-14 14:07:51 +08:00
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
2021-12-27 19:59:18 +08:00
|
|
|
%posttrans
|
|
|
|
|
{
|
|
|
|
|
set -e
|
|
|
|
|
dbpath=$(rpm -E %{_dbpath})
|
|
|
|
|
while [ -e ${dbpath}/Packages ]
|
|
|
|
|
do
|
|
|
|
|
date >> /var/log/rebuilddb.log 2>&1
|
|
|
|
|
rpm -vvv --rebuilddb >> /var/log/rebuilddb.log 2>&1
|
|
|
|
|
done
|
|
|
|
|
} &
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc CREDITS
|
|
|
|
|
/usr/lib/tmpfiles.d/rpm.conf
|
|
|
|
|
%{_sysconfdir}/cron.daily/rpm
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
|
|
|
|
|
%dir %{_sysconfdir}/rpm
|
|
|
|
|
%dir /var/lib/rpm
|
2021-12-27 19:59:18 +08:00
|
|
|
%attr(0644, root, root) %ghost %config(missingok,noreplace) /var/lib/rpm/*
|
|
|
|
|
%attr(0644, root, root) %ghost /var/lib/rpm/.*.lock
|
2019-09-30 11:16:24 -04:00
|
|
|
%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 %{_rpmconfigdir}
|
|
|
|
|
%{_rpmconfigdir}/macros
|
|
|
|
|
%{_rpmconfigdir}/macros.d
|
|
|
|
|
%{_rpmconfigdir}/rpmpopt*
|
|
|
|
|
%{_rpmconfigdir}/rpmrc
|
|
|
|
|
%{_rpmconfigdir}/rpmdb_*
|
|
|
|
|
%{_rpmconfigdir}/rpm.daily
|
|
|
|
|
%{_rpmconfigdir}/rpm.log
|
|
|
|
|
%{_rpmconfigdir}/rpm.supp
|
|
|
|
|
%{_rpmconfigdir}/rpm2cpio.sh
|
|
|
|
|
%{_rpmconfigdir}/tgpg
|
|
|
|
|
%{_rpmconfigdir}/platform
|
|
|
|
|
%{_libdir}/rpm-plugins/
|
2021-07-08 17:12:50 +08:00
|
|
|
%exclude %{_libdir}/rpm-plugins/systemd_inhibit.so
|
2021-12-27 19:59:18 +08:00
|
|
|
%exclude %{_libdir}/rpm-plugins/fsverity.so
|
|
|
|
|
%exclude %{_libdir}/rpm-plugins/dbus_announce.so
|
2019-09-30 11:16:24 -04:00
|
|
|
%dir %{_rpmconfigdir}/fileattrs
|
|
|
|
|
%{_bindir}/rpm
|
|
|
|
|
%{_bindir}/rpm2archive
|
|
|
|
|
%{_bindir}/rpm2cpio
|
|
|
|
|
%{_bindir}/rpmdb
|
|
|
|
|
%{_bindir}/rpmkeys
|
|
|
|
|
%{_bindir}/rpmquery
|
|
|
|
|
%{_bindir}/rpmverify
|
|
|
|
|
%{_bindir}/rpmsign
|
|
|
|
|
|
2020-01-18 17:10:45 +08:00
|
|
|
%files libs
|
2020-01-13 22:54:57 +08:00
|
|
|
%{_libdir}/librpm*.so.9*
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%files build
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/rpmbuild
|
|
|
|
|
%{_bindir}/gendiff
|
|
|
|
|
%{_bindir}/rpmspec
|
|
|
|
|
|
|
|
|
|
%{_rpmconfigdir}/brp-*
|
|
|
|
|
%{_rpmconfigdir}/check-*
|
|
|
|
|
%{_rpmconfigdir}/find-lang.sh
|
|
|
|
|
%{_rpmconfigdir}/*provides*
|
|
|
|
|
%{_rpmconfigdir}/*requires*
|
|
|
|
|
%{_rpmconfigdir}/*deps*
|
|
|
|
|
%{_rpmconfigdir}/*.prov
|
|
|
|
|
%{_rpmconfigdir}/*.req
|
|
|
|
|
%{_rpmconfigdir}/mkinstalldirs
|
|
|
|
|
%{_rpmconfigdir}/fileattrs/*
|
2022-08-09 16:22:04 +08:00
|
|
|
%{_rpmconfigdir}/config.*
|
2019-09-30 11:16:24 -04:00
|
|
|
|
|
|
|
|
%files -n python3-%{name}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{python3_sitearch}/%{name}/
|
|
|
|
|
%{python3_sitearch}/%{name}-%{version}*.egg-info
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/rpmgraph
|
|
|
|
|
%{_libdir}/librp*[a-z].so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
|
2021-07-08 17:12:50 +08:00
|
|
|
%files plugin-systemd-inhibit
|
|
|
|
|
%{_libdir}/rpm-plugins/systemd_inhibit.so
|
|
|
|
|
%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2021-12-27 19:59:18 +08:00
|
|
|
%doc docs/manual/[a-z]*
|
|
|
|
|
%doc docs/librpm/html/*
|
2019-09-30 11:16:24 -04:00
|
|
|
%{_mandir}/man8/rpm*.8*
|
2021-07-08 17:12:50 +08:00
|
|
|
%exclude %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
2021-12-27 19:59:18 +08:00
|
|
|
%exclude %{_mandir}/man8/rpm-plugin-dbus-announce.8*
|
2019-09-30 11:16:24 -04:00
|
|
|
%{_mandir}/man1/gendiff.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-11-01 21:32:14 +08:00
|
|
|
* Tue Nov 01 2022 licunlong<licunlong1@huawei.com> - 4.17.0-13
|
|
|
|
|
- sync patches from upstream
|
|
|
|
|
|
2022-09-09 15:12:24 +08:00
|
|
|
* Fri Sep 09 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-12
|
|
|
|
|
- sync patches from upstream
|
|
|
|
|
|
2022-08-31 14:13:02 +08:00
|
|
|
* Wed Aug 31 2022 Hongxun Ren<renhongxun@h-partners.com> - 4.17.0-11
|
|
|
|
|
- fix CVE-2021-35937 CVE-2021-35938 CVE-2021-35939
|
|
|
|
|
|
2022-08-16 10:29:03 +08:00
|
|
|
* Tue Aug 16 2022 Kou Wenqi<kouwenqi@kylinos.cn> - 4.17.0-10
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:requires zstd-devel >= 1.3.8 in build
|
|
|
|
|
|
2022-08-15 11:51:35 +08:00
|
|
|
* Mon Aug 15 2022 Kou Wenqi<kouwenqi@kylinos.cn> - 4.17.0-9
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:requires zstd >= 1.4.0
|
|
|
|
|
|
2022-08-11 16:51:35 +08:00
|
|
|
* Thu Aug 11 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-8
|
|
|
|
|
- sync some patches from upstream
|
|
|
|
|
|
2022-08-11 11:48:24 +08:00
|
|
|
* Thu Aug 11 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-7
|
|
|
|
|
- sync some patches from upstream
|
|
|
|
|
|
2022-08-11 10:19:11 +08:00
|
|
|
* Thu Aug 11 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-6
|
|
|
|
|
- sync some patches from upstream
|
|
|
|
|
|
2022-08-09 16:22:04 +08:00
|
|
|
* Tue Aug 09 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:sync changes from openEuler-22.03-LTS
|
|
|
|
|
|
2022-06-25 16:25:17 +08:00
|
|
|
*Sat Jun 25 2022 lujie<lujie54@huawei.com> - 4.17.0-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rpm selinux plugin check context file exist
|
|
|
|
|
|
2022-02-18 11:11:54 +08:00
|
|
|
*Thu Feb 17 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete some libdb symbolic link
|
|
|
|
|
|
2022-02-16 11:46:19 +08:00
|
|
|
* Wed Feb 16 2022 renhongxun<renhongxun@h-partners.com> - 4.17.0-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:bugfix on finding python3.x dir
|
|
|
|
|
|
2021-12-27 19:59:18 +08:00
|
|
|
* Mon Dec 27 2021 renhongxun<renhongxun@huawei.com> - 4.17.0-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to 4.17.0
|
|
|
|
|
|
2021-09-13 17:40:24 +08:00
|
|
|
* Mon Sep 13 2021 zhangtianxing<zhangtianxing3@huawei.com> - 4.15.1-30
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix lsetxattr error in container
|
|
|
|
|
|
2021-07-22 14:43:51 +08:00
|
|
|
* Thu Jul 22 2021 liudabo<liudabo1@huawei.com> - 4.15.1-29
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:deleting gdb build dependency
|
|
|
|
|
|
2021-07-08 17:12:50 +08:00
|
|
|
* Thu Jul 08 2021 shixuantong <shixuantong@huawei.com> - 4.15.1-28
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:split rpm-plugin-systemd-inhibit out of rpm.
|
|
|
|
|
|
2021-07-08 15:50:15 +08:00
|
|
|
* Thu Jul 08 2021 shixuantong <shixuantong@huawei.com> - 4.15.1-27
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove unnecessary installation dependencies
|
|
|
|
|
|
2021-06-28 16:46:26 +08:00
|
|
|
* Mon Jun 28 2021 shangyibin <shangyibin1@huawei.com> - 4.15.1-26
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify dependency
|
|
|
|
|
|
2021-06-09 19:52:09 +08:00
|
|
|
* Wed Jun 09 2021 shixuantong <shixuantong@huawei.com> - 4.15.1-25
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix data race in packageBinaries() function and prioritize large packages
|
|
|
|
|
|
2021-06-02 09:44:30 +08:00
|
|
|
* Wed Jun 2 2021 guoxiaoqi<guoxiaoqi2@huawei.com> - 4.15.1-23
|
|
|
|
|
- Type:cve
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2021-20266
|
|
|
|
|
|
2021-05-22 17:44:44 +08:00
|
|
|
* Sat May 22 2021 liudabo<liudabo1@huawei.com> - 4.15.1-22
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Optimize signature header merge a bit
|
|
|
|
|
|
2021-04-13 19:00:18 +08:00
|
|
|
* Tue Apr 13 2021 liudabo<liudabo1@huawei.com> - 4.15.1-22
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Fix CVE-2021-20271
|
|
|
|
|
|
2021-01-11 11:10:36 +08:00
|
|
|
* Mon Jan 11 2021 Liquor <lirui130@huawei.com> - 4.15.1-21
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:backport patches from upstream
|
|
|
|
|
|
2020-12-17 19:12:21 +08:00
|
|
|
* Thu Dec 17 2020 Anakin Zhang <benjamin93@163.com> - 4.15.1-20
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:call process_digest_list before files are added
|
|
|
|
|
|
2020-12-17 18:37:45 +08:00
|
|
|
* Thu Dec 17 2020 Anakin Zhang <benjamin93@163.com> - 4.15.1-19
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:use user.digest_list to avoid duplicate processing of the digest lists
|
|
|
|
|
|
2020-10-29 11:04:36 +08:00
|
|
|
* Thu Oct 29 2020 Liquor <lirui130@huawei.com> - 4.15.1-18
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2
|
|
|
|
|
|
2020-07-14 09:04:38 +02:00
|
|
|
* Tue Jul 14 2020 Roberto Sassu <roberto.sassu@huawei.com> - 4.15.1-17
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add support for digest lists
|
|
|
|
|
|
2020-05-22 21:08:12 +08:00
|
|
|
* Fri May 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-16
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:solve the error of setexecfilecon
|
|
|
|
|
|
2020-05-13 14:53:22 +08:00
|
|
|
* Wed May 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-15
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:solve the failure of rpmsigdig.at test
|
|
|
|
|
|
2020-03-30 16:27:45 +08:00
|
|
|
* Mon Mar 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-14
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add requires of some common build packages to rpm-build
|
|
|
|
|
|
2020-03-25 17:00:39 +08:00
|
|
|
* Wed Mar 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-13
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:revert always execute file trigger scriptlet callbacks with owning header
|
|
|
|
|
|
2020-03-06 14:33:19 +08:00
|
|
|
* Fri Mar 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:silence spurious error message from lsetfilecon()
|
|
|
|
|
|
2020-03-04 21:30:21 +08:00
|
|
|
* Wed Mar 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add dist to release by default
|
|
|
|
|
|
2020-03-02 18:20:14 +08:00
|
|
|
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:revert last commit
|
|
|
|
|
|
2020-02-27 16:59:52 +08:00
|
|
|
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-9
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add dist to the name of package
|
|
|
|
|
|
2020-02-14 14:07:51 +08:00
|
|
|
* Fri Feb 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:skip update the preference of gpg during make check
|
|
|
|
|
|
2020-01-20 11:02:18 +08:00
|
|
|
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete unneeded obsoletes
|
|
|
|
|
|
2020-01-18 17:10:45 +08:00
|
|
|
* Sat Jan 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete unneeded shared library
|
|
|
|
|
|
2020-01-15 00:30:00 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change requires to build requires
|
|
|
|
|
|
2020-01-14 22:16:34 +08:00
|
|
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add build requires of ima-evm-utils and old shared library
|
|
|
|
|
|
2020-01-14 15:03:09 +08:00
|
|
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add requires of shared library
|
|
|
|
|
|
2020-01-13 22:54:57 +08:00
|
|
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add subpack of librpm8 and librpm9 to support update
|
|
|
|
|
|
2020-01-10 17:01:49 +08:00
|
|
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.15.1-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update version to 4.15.1
|
|
|
|
|
|
2019-12-26 12:04:39 +08:00
|
|
|
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.14.2-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:bugfix in files
|
|
|
|
|
|
2019-12-13 16:07:07 +08:00
|
|
|
* Wed Nov 13 2019 hexiaowen<hexiaowen@huawei.com> - 4.14.2-4
|
|
|
|
|
- add system-rpm-config buildrequires
|
|
|
|
|
|
2019-09-30 11:16:24 -04:00
|
|
|
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.14.2-3
|
|
|
|
|
- Delete redundant information
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.14.2-2
|
|
|
|
|
- Package init
|