From a2eeb8ee08266fad5eb5a8c458b16736b559e0db Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Thu, 19 Feb 2015 13:04:47 -0700 Subject: [PATCH] fix some issues with the pkgconfig file and Group reported by Michael Schwendt --- libuv.pc.in | 4 ++-- libuv.spec | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libuv.pc.in b/libuv.pc.in index 43236a5..c0677d7 100644 --- a/libuv.pc.in +++ b/libuv.pc.in @@ -7,5 +7,5 @@ Name: libuv Description: Development libraries for libuv Version: @version@ Libs: -L${libdir} -luv -lrt -ldl -Cflags: -URL: http://nodejs.org/ +Cflags: -I{includedir} +URL: http://libuv.org/ diff --git a/libuv.spec b/libuv.spec index 4632e53..622dc51 100644 --- a/libuv.spec +++ b/libuv.spec @@ -8,7 +8,7 @@ Version: 0.10.33 Release: 2%{?dist} Summary: Platform layer for node.js -Group: Development/Tools +Group: System Environment/Libraries # the licensing breakdown is described in detail in the LICENSE file License: MIT and BSD and ISC URL: http://libuv.org/ @@ -26,7 +26,7 @@ differences in this library. %package devel Summary: Development libraries for libuv -Group: Development/Tools +Group: Development/Libraries Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: pkgconfig Requires(post): /sbin/ldconfig @@ -89,7 +89,7 @@ sed -e "s#@prefix@#%{_prefix}#g" \ -e "s#@exec_prefix@#%{_exec_prefix}#g" \ -e "s#@libdir@#%{_libdir}#g" \ -e "s#@includedir@#%{_includedir}#g" \ - -e "s#@version@#%{version}.git%{git_snapshot}#g" \ + -e "s#@version@#%{version}#g" \ %SOURCE2 > %{buildroot}/%{_libdir}/pkgconfig/libuv.pc #install the static version @@ -121,6 +121,7 @@ cp out-static/Release/obj.target/libuv.a %{buildroot}/%{_libdir} %changelog * Thu Feb 19 2015 T.C. Hollingsworth - 1:0.10.33-2 - add missing %%{_?isa} to devel requires of main package +- fix some issues with the pkgconfig file and Group reported by Michael Schwendt * Thu Feb 19 2015 T.C. Hollingsworth - 1:0.10.33-1 - new upstream release 0.10.33