X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm.spec;h=cb94a382e78ea92149021b71880901b9d45badcd;hb=refs%2Ftags%2Fauto%2Fth%2Frpm-4.16.1.3-1;hp=2a82561223b3558eab4da21cd2e87e8cdb0edb53;hpb=c7d5ed4c0e8eadf727054f30d256cb15eb722483;p=packages%2Frpm.git diff --git a/rpm.spec b/rpm.spec index 2a82561..cb94a38 100644 --- a/rpm.spec +++ b/rpm.spec @@ -14,7 +14,7 @@ %define db_ver 5.3.28.0 %define popt_ver 1.15 -%define sover 9.1.2 +%define sover 9.1.3 %if "%{_rpmversion}" >= "4.12" && "%{_rpmversion}" < "5" %define with_recommends_tags 1 @@ -33,13 +33,13 @@ Summary(pt_BR.UTF-8): Gerenciador de pacotes RPM Summary(ru.UTF-8): Менеджер пакетов от RPM Summary(uk.UTF-8): Менеджер пакетів від RPM Name: rpm -Version: 4.16.1.2 -Release: 8 +Version: 4.16.1.3 +Release: 1 Epoch: 1 License: GPL v2 / LGPL v2.1 Group: Base Source0: http://ftp.rpm.org/releases/rpm-4.16.x/%{name}-%{version}.tar.bz2 -# Source0-md5: 0d10f63a0a4c9517cf3808a601378399 +# Source0-md5: 576277fafa5d0681a8a92c8716aca5f0 Source1: ftp://ftp.pld-linux.org/dists/th/PLD-3.0-Th-GPG-key.asc # Source1-md5: 23914bb49fafe7153cee87126d966461 Source2: macros.local @@ -664,6 +664,7 @@ awk -f %{SOURCE6} %{SOURCE5} --enable-bdb-ro \ --enable-ndb \ %{!?with_plugins:--disable-plugins} \ + %{!?with_systemd:--disable-inhibit-plugin} \ --disable-silent-rules \ --enable-sqlite \ --enable-zstd \ @@ -1074,10 +1075,12 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f %attr(755,root,root) %{_libdir}/rpm-plugins/syslog.so %{_mandir}/man8/rpm-plugin-syslog.8* +%if %{with systemd} %files plugin-systemd-inhibit %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/rpm-plugins/systemd_inhibit.so %{_mandir}/man8/rpm-plugin-systemd-inhibit.8* +%endif %files plugin-ima %defattr(644,root,root,755)