[compat-libuv010/f22] fix issues with pkgconfig file and Group tag reported by Michael Schwendt

T.C. Hollingsworth patches at fedoraproject.org
Thu Feb 19 20:10:24 UTC 2015


commit 830dc4965b891728ac07cb108f423da5d6ee15f1
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Thu Feb 19 13:10:03 2015 -0700

    fix issues with pkgconfig file and Group tag reported by Michael Schwendt

 compat-libuv010.spec | 11 +++++++----
 libuv.pc.in          |  6 +++---
 2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/compat-libuv010.spec b/compat-libuv010.spec
index 7267496..9f0cbe9 100644
--- a/compat-libuv010.spec
+++ b/compat-libuv010.spec
@@ -5,10 +5,10 @@
 Name: compat-libuv010
 Epoch:   1
 Version: 0.10.33
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Platform layer for node.js - compatibility library for nodejs 0.10.x
 
-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/
@@ -24,7 +24,7 @@ Compatibility libuv library for nodejs 0.10.x.
 
 %package devel
 Summary: Development headers for compatibility libuv library for nodejs 0.10x
-Group: Development/Tools
+Group: Development/Libraries
 Requires: %{name} = %{epoch}:%{version}-%{release}
 Requires: pkgconfig
 
@@ -73,7 +73,7 @@ sed -e "s#@prefix@#%{_prefix}#g" \
     -e "s#@exec_prefix@#%{_exec_prefix}#g" \
     -e "s#@libdir@#%{_libdir}#g" \
     -e "s#@includedir@#%{_includedir}/%{name}#g" \
-    -e "s#@version@#%{version}.git%{git_snapshot}#g" \
+    -e "s#@version@#%{version}#g" \
     %SOURCE2 > %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc
 
 %check
@@ -94,6 +94,9 @@ sed -e "s#@prefix@#%{_prefix}#g" \
 %{_includedir}/%{name}
 
 %changelog
+* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1:0.10.33-3
+- fix issues with pkgconfig file and Group tag reported by Michael Schwendt
+
 * Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1:0.10.33-2
 - create compat 0.10 version for nodejs 0.10.x
 
diff --git a/libuv.pc.in b/libuv.pc.in
index 43236a5..d16544f 100644
--- a/libuv.pc.in
+++ b/libuv.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: libuv
 Description: Development libraries for libuv
 Version: @version@
-Libs: -L${libdir} -luv -lrt -ldl
-Cflags:
-URL: http://nodejs.org/
+Libs: -L${libdir} -l:libuv.so.0.10 -lrt -ldl
+Cflags: -I{includedir}
+URL: http://libuv.org/
\ No newline at end of file


More information about the scm-commits mailing list