make BuildRequires up to date and switch to pkgconfig()

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-11-08 10:35:04 +01:00
parent 79b8410e10
commit 16d6670418

View File

@ -5,13 +5,13 @@ Release: 4%{?dist}%{?extra_release}
License: MIT License: MIT
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
URL: http://www.aleksey.com/xmlsec/ URL: http://www.aleksey.com/xmlsec/
BuildRequires: libxml2-devel >= 2.6.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.7.4
BuildRequires: libxslt-devel >= 1.1.0 BuildRequires: pkgconfig(libxslt) >= 1.0.20
BuildRequires: openssl-devel >= 0.9.6 BuildRequires: pkgconfig(openssl) >= 0.9.8
BuildRequires: libgcrypt-devel >= 1.2.0 BuildRequires: pkgconfig(nss) >= 3.9
BuildRequires: gnutls-devel >= 1.0.20 BuildRequires: pkgconfig(nspr) >= 4.4.1
BuildRequires: nss-devel >= 3.2 BuildRequires: libgcrypt-devel >= 1.4.0
BuildRequires: nspr-devel BuildRequires: pkgconfig(gnutls) >= 2.8.0
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
# autoreconf stuff # autoreconf stuff
BuildRequires: autoconf BuildRequires: autoconf
@ -27,10 +27,7 @@ standards "XML Digital Signature" and "XML Encryption".
%package devel %package devel
Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support. Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support.
Requires: xmlsec1%{?_isa} = %{version}-%{release} 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: openssl-devel%{?_isa} >= 0.9.6
Requires: zlib-devel%{?_isa}
%description devel %description devel
Libraries, includes, etc. you can use to develop applications with XML Digital 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 Summary: NSS crypto plugin for XML Security Library
Requires: xmlsec1-devel%{?_isa} = %{version}-%{release} Requires: xmlsec1-devel%{?_isa} = %{version}-%{release}
Requires: xmlsec1-nss%{?_isa} = %{version}-%{release} Requires: xmlsec1-nss%{?_isa} = %{version}-%{release}
Requires: nss-devel%{?_isa} >= 3.2
Requires: nspr-devel%{?_isa}
%description nss-devel %description nss-devel
Libraries, includes, etc. for developing XML Security applications with NSS. Libraries, includes, etc. for developing XML Security applications with NSS.