update to 2.02.107

rebuilt with --enable-udev_sync, --enable-dmeventd and --enable-lvmetad
disable static builds of dmsetup and lvm [release 2.02.107-1mamba;Wed Jun 25 2014]
This commit is contained in:
Silvan Calarco 2024-01-06 06:33:02 +01:00
parent a09a752308
commit 1e3100f46d

View File

@ -1,5 +1,5 @@
Name: lvm2 Name: lvm2
Version: 2.02.104 Version: 2.02.107
Release: 1mamba Release: 1mamba
Summary: A userspace toolset that provides logical volume management facilities on Linux Summary: A userspace toolset that provides logical volume management facilities on Linux
Group: System/Tools Group: System/Tools
@ -12,13 +12,17 @@ Patch0: lvm2-2.02.98-link-as-needed.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libblkid-devel
BuildRequires: libncurses-devel
BuildRequires: libpcre-devel BuildRequires: libpcre-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Provides: device-mapper Provides: device-mapper
Obsoletes: device-mapper Obsoletes: device-mapper
BuildRequires: libpcre-devel
Requires: libdevmapper = %{?epoch:%epoch:}%{version}-%{release} Requires: libdevmapper = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -77,13 +81,17 @@ This package contains files needed to develop applications that use the %{name}
--with-usrlibdir=%{_libdir} \ --with-usrlibdir=%{_libdir} \
--enable-applib \ --enable-applib \
--enable-cmdlib \ --enable-cmdlib \
--enable-static_link \
--enable-pkgconfig \ --enable-pkgconfig \
--enable-lvm1_fallback \ --enable-lvm1_fallback \
--enable-udev_sync \
--with-udevdir=/lib/udev/rules.d \
--enable-dmeventd \
--enable-lvmetad \
--with-systemdsystemunitdir=%{_unitdir} \
%if "%{_host}" != "%{_build}" %if "%{_host}" != "%{_build}"
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
%endif %endif
%make SELINUX_LIBS="`pkg-config --libs libselinux`" %make SELINUX_LIBS="`pkg-config --libs libselinux`"
#% configure --enable-fsadm --with-clvmd=cman,openais,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-udevdir=%{_udevdir} --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-dmeventd --enable-udev_sync #% configure --enable-fsadm --with-clvmd=cman,openais,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-udevdir=%{_udevdir} --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-dmeventd --enable-udev_sync
@ -92,8 +100,8 @@ This package contains files needed to develop applications that use the %{name}
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
cd libdm #cd libdm
%makeinstall INSTALL_TYPE="install_pkgconfig install_static" #% makeinstall INSTALL_TYPE="install_pkgconfig install_static"
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -106,12 +114,15 @@ cd libdm
%dir %{_sysconfdir}/lvm %dir %{_sysconfdir}/lvm
%config(noreplace) %{_sysconfdir}/lvm/lvm.conf %config(noreplace) %{_sysconfdir}/lvm/lvm.conf
%dir %{_sysconfdir}/lvm/profile %dir %{_sysconfdir}/lvm/profile
%{_sysconfdir}/lvm/profile/default.profile #%{_sysconfdir}/lvm/profile/default.profile
%{_sysconfdir}/lvm/profile/thin-performance.profile %{_sysconfdir}/lvm/profile/thin-performance.profile
%{_sysconfdir}/lvm/profile/command_profile_template.profile
%{_sysconfdir}/lvm/profile/metadata_profile_template.profile
%{_sysconfdir}/lvm/profile/thin-generic.profile
%{_sbindir}/blkdeactivate %{_sbindir}/blkdeactivate
#%{_sbindir}/devtypes #%{_sbindir}/devtypes
%{_sbindir}/dmeventd
%{_sbindir}/dmsetup %{_sbindir}/dmsetup
%{_sbindir}/dmsetup.static
%{_sbindir}/fsadm %{_sbindir}/fsadm
%{_sbindir}/lvchange %{_sbindir}/lvchange
%{_sbindir}/lvconvert %{_sbindir}/lvconvert
@ -119,11 +130,11 @@ cd libdm
%{_sbindir}/lvdisplay %{_sbindir}/lvdisplay
%{_sbindir}/lvextend %{_sbindir}/lvextend
%{_sbindir}/lvm %{_sbindir}/lvm
%{_sbindir}/lvm.static
%{_sbindir}/lvmchange %{_sbindir}/lvmchange
%{_sbindir}/lvmconf %{_sbindir}/lvmconf
%{_sbindir}/lvmdiskscan %{_sbindir}/lvmdiskscan
%{_sbindir}/lvmdump %{_sbindir}/lvmdump
%{_sbindir}/lvmetad
%{_sbindir}/lvmsadc %{_sbindir}/lvmsadc
%{_sbindir}/lvmsar %{_sbindir}/lvmsar
%{_sbindir}/lvreduce %{_sbindir}/lvreduce
@ -160,8 +171,15 @@ cd libdm
%{_sbindir}/vgs %{_sbindir}/vgs
%{_sbindir}/vgscan %{_sbindir}/vgscan
%{_sbindir}/vgsplit %{_sbindir}/vgsplit
/lib/udev/rules.d/10-dm.rules
/lib/udev/rules.d/11-dm-lvm.rules
/lib/udev/rules.d/13-dm-disk.rules
/lib/udev/rules.d/69-dm-lvm-metad.rules
/lib/udev/rules.d/95-dm-notify.rules
%{_mandir}/man5/lvm.conf.5.* %{_mandir}/man5/lvm.conf.5.*
%{_mandir}/man8/blkdeactivate.8.gz %{_mandir}/man7/lvmthin.7*
%{_mandir}/man8/blkdeactivate.8*
%{_mandir}/man8/dmeventd.8*
%{_mandir}/man8/dmsetup.8.* %{_mandir}/man8/dmsetup.8.*
%{_mandir}/man8/fsadm.8.* %{_mandir}/man8/fsadm.8.*
%{_mandir}/man8/lvchange.8.* %{_mandir}/man8/lvchange.8.*
@ -170,10 +188,12 @@ cd libdm
%{_mandir}/man8/lvdisplay.8.* %{_mandir}/man8/lvdisplay.8.*
%{_mandir}/man8/lvextend.8.* %{_mandir}/man8/lvextend.8.*
%{_mandir}/man8/lvm.8.* %{_mandir}/man8/lvm.8.*
%{_mandir}/man8/lvm-dumpconfig.8*
%{_mandir}/man8/lvmchange.8.* %{_mandir}/man8/lvmchange.8.*
%{_mandir}/man8/lvmconf.8.* %{_mandir}/man8/lvmconf.8.*
%{_mandir}/man8/lvmdiskscan.8.* %{_mandir}/man8/lvmdiskscan.8.*
%{_mandir}/man8/lvmdump.8.* %{_mandir}/man8/lvmdump.8.*
%{_mandir}/man8/lvmetad.8*
%{_mandir}/man8/lvmsadc.8.* %{_mandir}/man8/lvmsadc.8.*
%{_mandir}/man8/lvmsar.8.* %{_mandir}/man8/lvmsar.8.*
%{_mandir}/man8/lvreduce.8.* %{_mandir}/man8/lvreduce.8.*
@ -216,13 +236,28 @@ cd libdm
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_sysconfdir}/lvm %dir %{_sysconfdir}/lvm
%{_libdir}/libdevmapper.so.* %{_libdir}/libdevmapper.so.*
%{_libdir}/libdevmapper-event-lvm2.so.*
%{_libdir}/libdevmapper-event.so.*
%dir %{_libdir}/device-mapper
%{_libdir}/device-mapper/libdevmapper-event-lvm2mirror.so
%{_libdir}/device-mapper/libdevmapper-event-lvm2raid.so
%{_libdir}/device-mapper/libdevmapper-event-lvm2snapshot.so
%{_libdir}/device-mapper/libdevmapper-event-lvm2thin.so
%files -n libdevmapper-devel %files -n libdevmapper-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libdevmapper.h %{_includedir}/libdevmapper.h
%{_libdir}/libdevmapper.a* %{_includedir}/libdevmapper-event.h
%{_libdir}/libdevmapper.so %{_libdir}/libdevmapper.so
%{_libdir}/libdevmapper-event.so
%{_libdir}/libdevmapper-event-lvm2.so
%{_libdir}/libdevmapper-event-lvm2mirror.so
%{_libdir}/libdevmapper-event-lvm2raid.so
%{_libdir}/libdevmapper-event-lvm2snapshot.so
%{_libdir}/libdevmapper-event-lvm2thin.so
%{_libdir}/pkgconfig/devmapper.pc %{_libdir}/pkgconfig/devmapper.pc
%{_libdir}/pkgconfig/devmapper-event.pc
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
@ -233,14 +268,17 @@ cd libdm
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/lvm2app.h %{_includedir}/lvm2app.h
%{_includedir}/lvm2cmd.h %{_includedir}/lvm2cmd.h
%{_libdir}/liblvm2app.a*
%{_libdir}/liblvm2app.so %{_libdir}/liblvm2app.so
%{_libdir}/liblvm2cmd.a*
%{_libdir}/liblvm2cmd.so %{_libdir}/liblvm2cmd.so
%{_libdir}/pkgconfig/lvm2app.pc %{_libdir}/pkgconfig/lvm2app.pc
%doc README WHATS_NEW #%doc README WHATS_NEW
%changelog %changelog
* Wed Jun 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02.107-1mamba
- update to 2.02.107
- rebuilt with --enable-udev_sync, --enable-dmeventd and --enable-lvmetad
- disable static builds of dmsetup and lvm
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.02.104-1mamba * Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.02.104-1mamba
- automatic version update by autodist - automatic version update by autodist