[gcab] Pull in the base library package when installing -devel

Kalev Lember kalev at fedoraproject.org
Mon Mar 23 12:31:21 UTC 2015


commit fff475e8dd58a9a309fdccddb6c9b89d96424062
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Mar 23 13:29:10 2015 +0100

    Pull in the base library package when installing -devel

 gcab.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gcab.spec b/gcab.spec
index 14a2888..6d46704 100644
--- a/gcab.spec
+++ b/gcab.spec
@@ -1,6 +1,6 @@
 Name:           gcab
 Version:        0.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Cabinet file library and tool
 
 License:        LGPLv2+
@@ -25,6 +25,7 @@ libgcab is a library to manipulate Cabinet archive using GIO/GObject.
 
 %package -n libgcab1-devel
 Summary:        Development files to create Cabinet archives
+Requires:       libgcab1%{?_isa} = %{version}-%{release}
 Requires:       glib2-devel
 Requires:       pkgconfig
 
@@ -72,6 +73,9 @@ rm -f %{buildroot}%{_libdir}/*.la
 %{_libdir}/pkgconfig/libgcab-1.0.pc
 
 %changelog
+* Mon Mar 23 2015 Kalev Lember <kalevlember at gmail.com> - 0.6-2
+- Pull in the base library package when installing -devel
+
 * Tue Mar 17 2015 Marc-André Lureau <marcandre.lureau at redhat.com> - 0.6-1
 - Update to upstream release v0.6
 


More information about the scm-commits mailing list