From 60751f41a2aa327ace04d11a3f3e40016220fb6b Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 17 Sep 2010 10:50:39 +0200 Subject: [PATCH] Manually add pkgconfig-based dependencies on EL-5 --- liboauth.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/liboauth.spec b/liboauth.spec index 782461c..1c5a987 100644 --- a/liboauth.spec +++ b/liboauth.spec @@ -1,6 +1,6 @@ Name: liboauth Version: 0.9.0 -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: OAuth library functions Group: System Environment/Libraries @@ -24,6 +24,9 @@ as well as perform HTTP requests. Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} +%if 0%{?el5} +Requires: pkgconfig curl-devel nss-devel +%endif %description devel The %{name}-devel package contains libraries and header files for @@ -68,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 17 2010 Michel Salim - 0.9.0-2.1 +- [EL5] development package explicitly requires pkgconfig, {curl,nss}-devel + * Fri Sep 10 2010 Michel Salim - 0.9.0-2 - Move oauth.3 to devel subpackage