[nspr] Resolves: rhbz#833529 - restore the good changes to nspr.pc

Elio Maldonado emaldonado at fedoraproject.org
Thu Jun 21 16:37:27 UTC 2012


commit ffd87650aaf1f39d76674227df5cd88da86e569a
Author: Elio Maldonado <emaldona at redhat.com>
Date:   Thu Jun 21 09:33:12 2012 -0700

    Resolves: rhbz#833529 - restore the good changes to nspr.pc
    
    - restore a corrected version of the patch
    - the -L patch is as original
    - we still need to add the os libraries

 nspr-config-pc.patch |   10 ++++++++++
 nspr.spec            |    3 +++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/nspr-config-pc.patch b/nspr-config-pc.patch
new file mode 100644
index 0000000..a3cdedc
--- /dev/null
+++ b/nspr-config-pc.patch
@@ -0,0 +1,10 @@
+diff -up ./mozilla/nsprpub/config/nspr.pc.in.extralibs ./mozilla/nsprpub/config/nspr.pc.in
+--- ./mozilla/nsprpub/config/nspr.pc.in.extralibs	2012-06-16 11:02:11.846447511 -0700
++++ ./mozilla/nsprpub/config/nspr.pc.in	2012-06-16 11:05:30.578619641 -0700
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: NSPR
+ Description: The Netscape Portable Runtime
+ Version: @MOD_MAJOR_VERSION at .@MOD_MINOR_VERSION at .@MOD_PATCH_VERSION@
+-Libs: -L at libdir@ -lplds at MOD_MAJOR_VERSION@ -lplc at MOD_MAJOR_VERSION@ -lnspr at MOD_MAJOR_VERSION@
++Libs: -L at libdir@ -lplds at MOD_MAJOR_VERSION@ -lplc at MOD_MAJOR_VERSION@ -lnspr at MOD_MAJOR_VERSION@ @OS_LIBS@
+ Cflags: -I at includedir@
diff --git a/nspr.spec b/nspr.spec
index 4685ee6..25cc008 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -117,6 +117,9 @@ NSPR_VERSION=`./config/nspr-config --version`
 %{_bindir}/nspr-config
 
 %changelog
+* Thu Jun 21 2012 Elio Maldonado <emaldona at redhat.com> - 4.9.1-3
+- Resolves: rhbz#833529 - restore the good changes to nspr.pc
+
 * Thu Jun 21 2012 Elio Maldonado <emaldona at redhat.com> - 4.9.1-2
 - Resolves: rhbz#833529 - revert unwanted change to nspr.pc
 - Removed nspr-config.pc.in.patch


More information about the scm-commits mailing list