From fe8ea3dba5971ab3f47090ba52d7f824c3d23545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= Date: Fri, 26 Sep 2014 14:14:00 +0200 Subject: Packaging: add missing dependency on pkgconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2fe7a87c20d45b23a967049508d089e0f39e1e98 Signed-off-by: Kévin THIERRY --- packaging/xmlsec1.spec | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'packaging') diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec index 877304ef..e4a80cfe 100644 --- a/packaging/xmlsec1.spec +++ b/packaging/xmlsec1.spec @@ -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 - -- cgit v1.2.3