!84 split rpm-plugin-systemd-inhibit out of rpm
From: @tong_1001 Reviewed-by: @licunlong,@openeuler-basic Signed-off-by: @openeuler-basic
This commit is contained in:
commit
3870e62393
26
rpm.spec
26
rpm.spec
@ -1,6 +1,6 @@
|
||||
Name: rpm
|
||||
Version: 4.15.1
|
||||
Release: 27
|
||||
Release: 28
|
||||
Summary: RPM Package Manager
|
||||
License: GPLv2+
|
||||
URL: http://www.rpm.org/
|
||||
@ -62,8 +62,8 @@ BuildRequires: system-rpm-config gdb dwz gnupg2
|
||||
Requires: coreutils popt curl zstd libcap crontabs logrotate libdb-utils
|
||||
Obsoletes: %{name}-build-libs %{name}-sign-libs %{name}-sign %{name}-cron
|
||||
Provides: %{name}-build-libs %{name}-sign-libs %{name}-sign %{name}-cron
|
||||
Obsoletes: %{name}-plugin-selinux %{name}-plugin-syslog %{name}-plugin-systemd-inhibit %{name}-plugin-ima %{name}-plugin-prioreset
|
||||
Provides: %{name}-plugin-selinux %{name}-plugin-syslog %{name}-plugin-systemd-inhibit %{name}-plugin-ima %{name}-plugin-prioreset
|
||||
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
|
||||
|
||||
%description
|
||||
The RPM Package Manager (RPM) is a powerful package management system capability as below
|
||||
@ -112,6 +112,14 @@ Requires: popt-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%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.
|
||||
|
||||
%package help
|
||||
Summary: Man page for %{name}
|
||||
BuildArch: noarch
|
||||
@ -247,6 +255,7 @@ make check || (cat tests/rpmtests.log; exit 0)
|
||||
%{_rpmconfigdir}/tgpg
|
||||
%{_rpmconfigdir}/platform
|
||||
%{_libdir}/rpm-plugins/
|
||||
%exclude %{_libdir}/rpm-plugins/systemd_inhibit.so
|
||||
%dir %{_rpmconfigdir}/fileattrs
|
||||
%{_bindir}/rpm
|
||||
%{_bindir}/rpm2archive
|
||||
@ -293,14 +302,25 @@ make check || (cat tests/rpmtests.log; exit 0)
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
%files plugin-systemd-inhibit
|
||||
%{_libdir}/rpm-plugins/systemd_inhibit.so
|
||||
%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc doc/manual/[a-z]*
|
||||
%doc doc/librpm/html/*
|
||||
%{_mandir}/man8/rpm*.8*
|
||||
%exclude %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
|
||||
%{_mandir}/man1/gendiff.1*
|
||||
|
||||
%changelog
|
||||
* 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.
|
||||
|
||||
* Thu Jul 08 2021 shixuantong <shixuantong@huawei.com> - 4.15.1-27
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user