Mailinglist Archive: opensuse-packaging (155 mails)

< Previous Next >
[opensuse-packaging] missing lvm2-devel package
Hi,

I wonder why there is no officaly released openSUSE 'lvm2-devel' package
available? During the packaging of the lvm2 package the header files lvm2cmd.h,
lvm2app.h including the pkgconfig lvm2app.pc are explicitly deleted.
Why just do not package these separately?

Here is my proposal:

Index: lvm2.changes
===================================================================
--- lvm2.changes (revision 2)
+++ lvm2.changes (revision 3)
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Sat Jan 18 21:19:31 UTC 2014 - henrik.kuhn@xxxxxxxxxxx
+
+- added a lvm2-devel package definition
+- added %config macro before /etc/lvm/lvm.conf
+
+-------------------------------------------------------------------
Mon Jan 6 07:43:59 UTC 2014 - dmzhang@xxxxxxxx
- add csm_convert to lvm2-clvm package(bnc#854076)
Index: lvm2.spec
===================================================================
--- lvm2.spec (revision 2)
+++ lvm2.spec (revision 3)
@@ -189,9 +189,9 @@
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
+#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
@@ -408,4 +408,25 @@
/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


Regards,
Henrik

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages