Accepting request 214715 from home:hkuhn_:branches:Base:System
- added a lvm2-devel package definition with the goal to have an 'officially' released one in future. OBS-URL: https://build.opensuse.org/request/show/214715 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=78
This commit is contained in:
parent
49c87a9620
commit
ced969eb63
@ -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
|
Mon Jan 6 07:43:59 UTC 2014 - dmzhang@suse.com
|
||||||
|
|
||||||
|
26
lvm2.spec
26
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
|
mkdir -p $RPM_BUILD_ROOT/usr/share
|
||||||
rm $RPM_BUILD_ROOT/etc/lvm/cache/.cache
|
rm $RPM_BUILD_ROOT/etc/lvm/cache/.cache
|
||||||
|
|
||||||
#remove lvm-devel parts
|
# these files are put into their own devel package
|
||||||
rm -f $RPM_BUILD_ROOT/usr/include/lvm2cmd.h
|
##remove lvm-devel parts
|
||||||
rm -f $RPM_BUILD_ROOT/usr/include/lvm2app.h
|
#rm -f $RPM_BUILD_ROOT/usr/include/lvm2cmd.h
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lvm2app.pc
|
#rm -f $RPM_BUILD_ROOT/usr/include/lvm2app.h
|
||||||
|
#rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lvm2app.pc
|
||||||
#remove device-mapper man page
|
#remove device-mapper man page
|
||||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/dm*
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/dm*
|
||||||
#remove device-mapper systemd events
|
#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
|
/usr/lib/ocf/resource.d/lvm2/cmirrord
|
||||||
%{_mandir}/man8/cmirrord.8.gz
|
%{_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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user