fixed rpm dependency
This commit is contained in:
@@ -41,7 +41,7 @@ CPPFLAGS="${CPPFLAGS} -DQT_NO_KEYWORDS"
|
||||
# libraries used
|
||||
if test "$MINGW" = "no"; then
|
||||
AX_PKG_REQUIRE([pcsc], [libpcsclite], [pcsclite.h])
|
||||
AX_PKG_REQUIRE([pkcs11], [p11-kit-1], [pkcs11.h], [libpkcs11-helper-1])
|
||||
AX_PKG_REQUIRE([pkcs11], [p11-kit-1], [pkcs11.h], [p11-kit libpkcs11-helper-1])
|
||||
AX_PKG_REQUIRE([ssl], [libssl], [openssl/crypto.h], [openssl])
|
||||
else
|
||||
LDFLAGS+=" -lwinscard -lssl -lcrypto"
|
||||
|
@@ -5,13 +5,13 @@ Release: @BUILD_NUMBER@%{?dist}
|
||||
License: LGPL
|
||||
Group: Development/Libraries/C++
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz, qtbase5-devel, qtbase5-devel-tools
|
||||
BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz
|
||||
BuildRequires: p11-kit-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
|
||||
BuildRequires: pkgconfig, redhat-lsb
|
||||
BuildRequires: pkgconfig, redhat-lsb, qtbase5-devel, qtbase5-devel-tools
|
||||
%else%if 0%{?suse_version} || 0%{?sles_version}
|
||||
BuildRequires: pkg-config, lsb-release
|
||||
BuildRequires: pkg-config, lsb-release, libqt5-qtbase-devel, libqt5-qttools
|
||||
%endif%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl}
|
||||
BuildRequires: mscgen
|
||||
|
Reference in New Issue
Block a user