From b7e84ae23502562c11d0532a51caf81fb8ac7ae5 Mon Sep 17 00:00:00 2001 From: rwx403335 Date: Thu, 6 Jan 2022 22:53:23 +0800 Subject: [PATCH] amend some configuration after upgrading --- rpm.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/rpm.spec b/rpm.spec index 665124f..c2a85e7 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,6 +1,6 @@ Name: rpm Version: 4.17.0 -Release: 3 +Release: 4 Summary: RPM Package Manager License: GPLv2+ URL: http://www.rpm.org/ @@ -156,6 +156,9 @@ 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 +install -m 755 build-aux/config.guess ${RPM_BUILD_ROOT}%{_rpmconfigdir}/ +install -m 755 build-aux/config.sub ${RPM_BUILD_ROOT}%{_rpmconfigdir}/ + mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/rpm.conf @@ -234,6 +237,8 @@ make check || (cat tests/rpmtests.log; exit 0) %{_rpmconfigdir}/platform %{_libdir}/rpm-plugins/ %exclude %{_libdir}/rpm-plugins/systemd_inhibit.so +%exclude %{_libdir}/rpm-plugins/fsverity.so +%exclude %{_libdir}/rpm-plugins/dbus_announce.so %dir %{_rpmconfigdir}/fileattrs %{_bindir}/rpm %{_bindir}/rpm2archive @@ -263,6 +268,7 @@ make check || (cat tests/rpmtests.log; exit 0) %{_rpmconfigdir}/*.req %{_rpmconfigdir}/mkinstalldirs %{_rpmconfigdir}/fileattrs/* +%{_rpmconfigdir}/config.* %files -n python3-%{name} %defattr(-,root,root) @@ -286,9 +292,16 @@ make check || (cat tests/rpmtests.log; exit 0) %doc docs/librpm/html/* %{_mandir}/man8/rpm*.8* %exclude %{_mandir}/man8/rpm-plugin-systemd-inhibit.8* +%exclude %{_mandir}/man8/rpm-plugin-dbus-announce.8* %{_mandir}/man1/gendiff.1* %changelog +* Thu Jan 06 2022 renhongxun - 4.17.0-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:delete new plugins' files + * Tue Jan 04 2022 renhongxun - 4.17.0-3 - Type:bugfix - ID:NA