From 16d6670418dcc9558aaf770739da2164773289ad Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 8 Nov 2017 10:35:04 +0100 Subject: [PATCH] make BuildRequires up to date and switch to pkgconfig() Signed-off-by: Igor Gnatenko --- xmlsec1.spec | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/xmlsec1.spec b/xmlsec1.spec index 83fc0f9..5535532 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -5,13 +5,13 @@ Release: 4%{?dist}%{?extra_release} License: MIT Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz URL: http://www.aleksey.com/xmlsec/ -BuildRequires: libxml2-devel >= 2.6.0 -BuildRequires: libxslt-devel >= 1.1.0 -BuildRequires: openssl-devel >= 0.9.6 -BuildRequires: libgcrypt-devel >= 1.2.0 -BuildRequires: gnutls-devel >= 1.0.20 -BuildRequires: nss-devel >= 3.2 -BuildRequires: nspr-devel +BuildRequires: pkgconfig(libxml-2.0) >= 2.7.4 +BuildRequires: pkgconfig(libxslt) >= 1.0.20 +BuildRequires: pkgconfig(openssl) >= 0.9.8 +BuildRequires: pkgconfig(nss) >= 3.9 +BuildRequires: pkgconfig(nspr) >= 4.4.1 +BuildRequires: libgcrypt-devel >= 1.4.0 +BuildRequires: pkgconfig(gnutls) >= 2.8.0 BuildRequires: libtool-ltdl-devel # autoreconf stuff BuildRequires: autoconf @@ -27,10 +27,7 @@ standards "XML Digital Signature" and "XML Encryption". %package devel Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support. Requires: xmlsec1%{?_isa} = %{version}-%{release} -Requires: libxml2-devel%{?_isa} >= 2.6.0 -Requires: libxslt-devel%{?_isa} >= 1.1.0 Requires: openssl-devel%{?_isa} >= 0.9.6 -Requires: zlib-devel%{?_isa} %description devel Libraries, includes, etc. you can use to develop applications with XML Digital @@ -98,8 +95,6 @@ for the xmlsec library Summary: NSS crypto plugin for XML Security Library Requires: xmlsec1-devel%{?_isa} = %{version}-%{release} Requires: xmlsec1-nss%{?_isa} = %{version}-%{release} -Requires: nss-devel%{?_isa} >= 3.2 -Requires: nspr-devel%{?_isa} %description nss-devel Libraries, includes, etc. for developing XML Security applications with NSS.