X-Git-Url: https://git.tld-linux.org/?p=packages%2Flvm2.git;a=blobdiff_plain;f=lvm2.spec;h=99442aabd6d6080ba63b9676d20193c0cd7f1d68;hp=3e02e4471a65b7a8214d638e258ae68f41a16ffb;hb=438d0fc7116a76b42b59c2a7e56953aa4b55684a;hpb=0f4e58df14c8f56bdbe8c4325ba54dc70b356516 diff --git a/lvm2.spec b/lvm2.spec index 3e02e44..99442aa 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -33,12 +33,12 @@ Summary: The new version of Logical Volume Manager for Linux Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa Name: lvm2 -Version: 2.02.105 +Version: 2.02.106 Release: 1 License: GPL v2 and LGPL v2.1 Group: Applications/System Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz -# Source0-md5: b5b3540661fc70bf329b526c1cfbcf3a +# Source0-md5: 77f84279fb649b3dc4edad1c6d1a1b0e Source1: %{name}-tmpfiles.conf Source2: clvmd.service Source3: clvmd.sysconfig @@ -180,6 +180,7 @@ Summary: Userspace support for the device-mapper Summary(pl.UTF-8): Wsparcie dla mapowania urządzeń w przestrzeni użytkownika Group: Base Requires(post,postun): /sbin/ldconfig +Requires(post,preun,postun): systemd-units >= 38 Requires: systemd-units >= 38 %description -n device-mapper @@ -384,11 +385,11 @@ install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir}/lvm,/etc/sysconfig} GROUP="" install -d $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d -install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/%{name}.conf +cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/%{name}.conf %if %{with cluster} -install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/clvmd.service -install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/clvmd +cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/clvmd.service +cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/clvmd %endif mv $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib} @@ -478,6 +479,7 @@ fi %attr(755,root,root) %{_sbindir}/pv* %attr(755,root,root) %{_sbindir}/vg* %{_mandir}/man5/lvm.conf.5* +%{_mandir}/man7/lvmthin.7* %{_mandir}/man8/blkdeactivate.8* %{_mandir}/man8/fsadm.8* %{_mandir}/man8/lv*.8* @@ -514,14 +516,18 @@ fi %attr(755,root,root) %{_usrsbindir}/clvmd %attr(754,root,root) /etc/rc.d/init.d/clvmd %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clvmd +%attr(755,root,root) /lib/systemd/lvm2-cluster-activation %{systemdunitdir}/clvmd.service +%{systemdunitdir}/lvm2-cluster-activation.service +%{systemdunitdir}/lvm2-clvmd.service %{_mandir}/man8/clvmd.8* %files cmirrord %defattr(644,root,root,755) %attr(755,root,root) %{_usrsbindir}/cmirrord -%{_mandir}/man8/cmirrord.8* %attr(754,root,root) /etc/rc.d/init.d/cmirrord +%{systemdunitdir}/lvm2-cmirrord.service +%{_mandir}/man8/cmirrord.8* %endif %files resource-agents