From 2febe8a8f1fafb01a7dbcbf24f92992741660b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 30 Jul 2015 10:21:16 +0000 Subject: [PATCH] fixed rpm dependency --- configure.ac | 2 +- libpcscxx.spec.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 9290827..a77c471 100644 --- a/configure.ac +++ b/configure.ac @@ -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" diff --git a/libpcscxx.spec.in b/libpcscxx.spec.in index 2a3210a..b6cdcd1 100644 --- a/libpcscxx.spec.in +++ b/libpcscxx.spec.in @@ -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