|
@@ -1,5 +1,5 @@
|
|
|
-%define lvm_version 2.02.98
|
|
|
-%define device_mapper_version 1.02.77
|
|
|
+%define lvm_version 2.02.107
|
|
|
+%define device_mapper_version 1.02.86
|
|
|
%define with_cluster 0
|
|
|
|
|
|
# Do not reset Release to 1 unless both lvm2 and device-mapper
|
|
@@ -9,12 +9,14 @@ Summary: Userland logical volume management tools
|
|
|
Summary(ja): 論理ボリューム管理ツール
|
|
|
Name: lvm2
|
|
|
Version: %{lvm_version}
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: System Environment/Base
|
|
|
URL: http://sources.redhat.com/lvm2
|
|
|
|
|
|
Source0: LVM2.%{lvm_version}.tgz
|
|
|
+Patch0: lvm2-set-default-preferred_names.patch
|
|
|
+Patch2: lvm2-remove-mpath-device-handling-from-udev-rules.patch
|
|
|
Patch10: libdevmapper-static.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{lvm_version}-%{release}-buildroot
|
|
@@ -28,6 +30,10 @@ Requires: %{name}-libs = %{version}-%{release}
|
|
|
Conflicts: lvm
|
|
|
Obsoletes: lvm
|
|
|
|
|
|
+Distribution: Vine Linux
|
|
|
+Vendor: Project Vine
|
|
|
+Packager: daisuke
|
|
|
+
|
|
|
%define _exec_prefix /usr
|
|
|
|
|
|
%description
|
|
@@ -167,6 +173,8 @@ the device-mapper event library.
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n LVM2.%{lvm_version}
|
|
|
+%patch0 -p1
|
|
|
+%patch2 -p1
|
|
|
%patch10 -p1
|
|
|
|
|
|
%build
|
|
@@ -305,6 +313,7 @@ fi
|
|
|
%{_sbindir}/vgsplit
|
|
|
%{_sbindir}/lvmconf
|
|
|
%{_mandir}/man5/lvm.conf.5.gz
|
|
|
+%{_mandir}/man7/lvmthin.7.gz
|
|
|
%{_mandir}/man8/blkdeactivate.8.gz
|
|
|
%{_mandir}/man8/fsadm.8.gz
|
|
|
%{_mandir}/man8/lvchange.8.gz
|
|
@@ -313,6 +322,7 @@ fi
|
|
|
%{_mandir}/man8/lvdisplay.8.gz
|
|
|
%{_mandir}/man8/lvextend.8.gz
|
|
|
%{_mandir}/man8/lvm.8.gz
|
|
|
+%{_mandir}/man8/lvm-dumpconfig.8.gz
|
|
|
%{_mandir}/man8/lvmchange.8.gz
|
|
|
%{_mandir}/man8/lvmconf.8.gz
|
|
|
%{_mandir}/man8/lvmdiskscan.8.gz
|
|
@@ -361,6 +371,8 @@ fi
|
|
|
%dir /etc/lvm/cache
|
|
|
%dir /etc/lvm/archive
|
|
|
%dir /var/lock/lvm
|
|
|
+%dir /etc/lvm/profile
|
|
|
+/etc/lvm/profile/*.profile
|
|
|
/etc/rc.d/init.d/lvm2-monitor
|
|
|
|
|
|
%files devel
|
|
@@ -380,9 +392,11 @@ fi
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2mirror.so
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2snapshot.so
|
|
|
%{_libdir}/device-mapper/libdevmapper-event-lvm2raid.so
|
|
|
+%{_libdir}/device-mapper/libdevmapper-event-lvm2thin.so
|
|
|
%{_libdir}/libdevmapper-event-lvm2mirror.so
|
|
|
%{_libdir}/libdevmapper-event-lvm2snapshot.so
|
|
|
%{_libdir}/libdevmapper-event-lvm2raid.so
|
|
|
+%{_libdir}/libdevmapper-event-lvm2thin.so
|
|
|
|
|
|
%if %{with_cluster}
|
|
|
%files cluster
|
|
@@ -431,6 +445,9 @@ fi
|
|
|
/usr%{_libdir}/pkgconfig/devmapper-event.pc
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jul 07 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.02.107-1
|
|
|
+- update to 2.02.107
|
|
|
+
|
|
|
* Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.02.98-3
|
|
|
- change BuildRequires: eudev-libudev-devel instead of libudev-devel
|
|
|
|