!114 amend some configuration after upgrading
Merge pull request !114 from renxichen/openEuler-22.03-LTS-Next
This commit is contained in:
commit
8a2fda66ac
15
rpm.spec
15
rpm.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rpm
|
Name: rpm
|
||||||
Version: 4.17.0
|
Version: 4.17.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: RPM Package Manager
|
Summary: RPM Package Manager
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.rpm.org/
|
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
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
|
||||||
install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
|
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
|
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d
|
||||||
echo "r /var/lib/rpm/__db.*" > ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/rpm.conf
|
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
|
%{_rpmconfigdir}/platform
|
||||||
%{_libdir}/rpm-plugins/
|
%{_libdir}/rpm-plugins/
|
||||||
%exclude %{_libdir}/rpm-plugins/systemd_inhibit.so
|
%exclude %{_libdir}/rpm-plugins/systemd_inhibit.so
|
||||||
|
%exclude %{_libdir}/rpm-plugins/fsverity.so
|
||||||
|
%exclude %{_libdir}/rpm-plugins/dbus_announce.so
|
||||||
%dir %{_rpmconfigdir}/fileattrs
|
%dir %{_rpmconfigdir}/fileattrs
|
||||||
%{_bindir}/rpm
|
%{_bindir}/rpm
|
||||||
%{_bindir}/rpm2archive
|
%{_bindir}/rpm2archive
|
||||||
@ -263,6 +268,7 @@ make check || (cat tests/rpmtests.log; exit 0)
|
|||||||
%{_rpmconfigdir}/*.req
|
%{_rpmconfigdir}/*.req
|
||||||
%{_rpmconfigdir}/mkinstalldirs
|
%{_rpmconfigdir}/mkinstalldirs
|
||||||
%{_rpmconfigdir}/fileattrs/*
|
%{_rpmconfigdir}/fileattrs/*
|
||||||
|
%{_rpmconfigdir}/config.*
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -286,9 +292,16 @@ make check || (cat tests/rpmtests.log; exit 0)
|
|||||||
%doc docs/librpm/html/*
|
%doc docs/librpm/html/*
|
||||||
%{_mandir}/man8/rpm*.8*
|
%{_mandir}/man8/rpm*.8*
|
||||||
%exclude %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
%exclude %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
||||||
|
%exclude %{_mandir}/man8/rpm-plugin-dbus-announce.8*
|
||||||
%{_mandir}/man1/gendiff.1*
|
%{_mandir}/man1/gendiff.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 06 2022 renhongxun<renhongxun@huawei.com> - 4.17.0-4
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:delete new plugins' files
|
||||||
|
|
||||||
* Tue Jan 04 2022 renhongxun<renhongxun@huawei.com> - 4.17.0-3
|
* Tue Jan 04 2022 renhongxun<renhongxun@huawei.com> - 4.17.0-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user