Packaging: add missing dependency on pkgconfig 29/28129/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20140930.171006 accepted/tizen/ivi/20141009.080614 accepted/tizen/ivi/20160223.080438 submit/tizen_common/20140929.110645 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141007.444444 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160223.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 26 Sep 2014 12:14:00 +0000 (14:14 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 26 Sep 2014 12:14:00 +0000 (14:14 +0200)
Change-Id: I2fe7a87c20d45b23a967049508d089e0f39e1e98
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/xmlsec1.spec

index 877304e..e4a80cf 100644 (file)
@@ -1,13 +1,15 @@
 %define keepstatic 1
 Name:           xmlsec1
 Version:        1.2.19
-Release:        1
+Release:        0
 License:        MIT
 Summary:        Library providing support for "XML Signature" and "XML Encryption" standards
 Url:            http://www.aleksey.com/xmlsec/index.html
 Group:          System/Libraries
 Source0:        http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
-Source1001:    xmlsec1.manifest
+Source1001:     xmlsec1.manifest
+BuildRequires:  fdupes
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6.27
 BuildRequires:  pkgconfig(libxslt)
 BuildRequires:  pkgconfig(openssl)
@@ -66,17 +68,22 @@ cp %{SOURCE1001} .
 
 %build
 
-%configure --enable-static \
-    --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls
+%reconfigure \
+            --enable-static \
+            --enable-dynamic \
+            --disable-crypto-dl \
+            --disable-apps-crypto-dl \
+            --without-gnutls
 
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 %install
 %make_install
 
-
 %remove_docs
 
+%fdupes %{buildroot}
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -85,13 +92,10 @@ make %{?_smp_mflags}
 
 %postun gcrypt -p /sbin/ldconfig
 
-
 %post openssl -p /sbin/ldconfig
 
 %postun openssl -p /sbin/ldconfig
 
-
-
 %files
 %manifest %{name}.manifest
 %license COPYING
@@ -99,7 +103,6 @@ make %{?_smp_mflags}
 %{_libdir}/libxmlsec1.so.*
 %{_bindir}/xmlsec1
 
-
 %files gcrypt
 %manifest %{name}.manifest
 %{_libdir}/libxmlsec1-gcrypt.so.*
@@ -121,4 +124,3 @@ make %{?_smp_mflags}
 %files devel-static
 %manifest %{name}.manifest
 %{_libdir}/*.a
-