diff --git a/lvm2.changes b/lvm2.changes index fdf199f..dd0eefb 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 22 14:34:41 UTC 2014 - henrik.kuhn@origenis.de + +- added a lvm2-devel package definition + ------------------------------------------------------------------- Mon Jan 6 07:43:59 UTC 2014 - dmzhang@suse.com diff --git a/lvm2.spec b/lvm2.spec index 6251891..a4ee02b 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -188,10 +188,11 @@ mv $RPM_BUILD_ROOT/sbin/cmirrord $RPM_BUILD_ROOT/usr/sbin/cmirrord mkdir -p $RPM_BUILD_ROOT/usr/share rm $RPM_BUILD_ROOT/etc/lvm/cache/.cache -#remove lvm-devel parts -rm -f $RPM_BUILD_ROOT/usr/include/lvm2cmd.h -rm -f $RPM_BUILD_ROOT/usr/include/lvm2app.h -rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lvm2app.pc +# these files are put into their own devel package +##remove lvm-devel parts +#rm -f $RPM_BUILD_ROOT/usr/include/lvm2cmd.h +#rm -f $RPM_BUILD_ROOT/usr/include/lvm2app.h +#rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lvm2app.pc #remove device-mapper man page rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/dm* #remove device-mapper systemd events @@ -409,4 +410,21 @@ A daemon for using LVM2 Logival Volumes in a clustered environment. /usr/lib/ocf/resource.d/lvm2/cmirrord %{_mandir}/man8/cmirrord.8.gz +%package devel +Version: 2.02.98 +Release: 0 +Requires: lvm2 = %{version} +Summary: Development files for LVM2 +Group: Development/Libraries/C and C++ + +%description devel +This package provides development files for the LVM2 Logical Volume Manager. + + +%files devel +%defattr(-,root,root) +/usr/include/lvm2cmd.h +/usr/include/lvm2app.h +%_libdir/pkgconfig/lvm2app.pc + %changelog