From 3fe7b46542595cf163aed6260ba678485ed8a0ad5924b8ea8b46e1d6841e996b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 Jul 2012 23:22:21 +0000 Subject: [PATCH] Packaging fixes for RHEL/SLES OBS-URL: https://build.opensuse.org/package/show/hardware/libfreefare?expand=0&rev=2 --- libfreefare.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libfreefare.spec b/libfreefare.spec index 9f16b84..f4c7ae2 100644 --- a/libfreefare.spec +++ b/libfreefare.spec @@ -29,8 +29,13 @@ Source: %name-%version.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig BuildRequires: xz +%if 0%{?suse_version} >= 1140 || 0%{?fedora_version} BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libnfc) >= 1.6.0 +%else +BuildRequires: libopenssl-devel +BuildRequires: libnfc-devel >= 1.6.0 +%endif %description The libfreefare project aims to provide a convenient API for Mifare