From 7e6edeea100a878ec2b04a62fc4bd4d7c4d7c814 Mon Sep 17 00:00:00 2001 From: EulerOSWander <314264452@qq.com> Date: Wed, 8 Jan 2020 11:19:45 +0800 Subject: [PATCH] nspr:Remove unnecessary patch Remove unnecessary patch. Signed-off-by: EulerOSWander <314264452@qq.com> --- nspr-config-pc.patch | 37 ------------------------------------- nspr.spec | 7 ++++--- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 nspr-config-pc.patch diff --git a/nspr-config-pc.patch b/nspr-config-pc.patch deleted file mode 100644 index 482b141..0000000 --- a/nspr-config-pc.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -up a/nspr/config/nspr-config.in.flags b/nspr/config/nspr-config.in ---- a/nspr/config/nspr-config.in.flags 2013-05-29 13:46:34.147971410 -0700 -+++ b/nspr/config/nspr-config.in 2013-05-29 14:17:10.990838914 -0700 -@@ -102,7 +102,7 @@ if test -z "$includedir"; then - includedir=@includedir@ - fi - if test -z "$libdir"; then -- libdir=@libdir@ -+ libdir=`pkg-config --variable=libdir nspr` - fi - - if test "$echo_prefix" = "yes"; then -@@ -136,12 +136,12 @@ if test "$echo_libs" = "yes"; then - if test -n "$lib_nspr"; then - libdirs="$libdirs -lnspr${major_version}" - fi -- os_ldflags="@LDFLAGS@" -+ os_ldflags=`pkg-config --variable=ldflags nspr` - for i in $os_ldflags ; do - if echo $i | grep \^-L >/dev/null; then - libdirs="$libdirs $i" - fi - done -- echo $libdirs @OS_LIBS@ -+ echo $libdirs `pkg-config --variable=os_libs nspr` - fi - -diff -up a/nspr/config/nspr.pc.in.flags b/nspr/config/nspr.pc.in ---- a/nspr/config/nspr.pc.in.flags 2013-05-29 13:48:15.026643570 -0700 -+++ b/nspr/config/nspr.pc.in 2013-05-29 13:49:47.795202949 -0700 -@@ -6,5 +6,5 @@ includedir=@includedir@ - Name: NSPR - Description: The Netscape Portable Runtime - Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@ --Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -+Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ @OS_LIBS@ - Cflags: -I@includedir@ diff --git a/nspr.spec b/nspr.spec index f61353f..12e218a 100644 --- a/nspr.spec +++ b/nspr.spec @@ -1,7 +1,7 @@ %global nspr_version 4.20 Name: nspr Version: 4.20.0 -Release: 3 +Release: 4 Summary: Netscape Portable Runtime License: MPLv2.0 URL: http://www.mozilla.org/projects/nspr @@ -9,8 +9,6 @@ BuildRequires: gcc git Source0: %{name}-%{nspr_version}.tar.gz Source1: nspr-config.xml -Patch1: nspr-config-pc.patch - Patch6000: 6000-Bug-1525173-prbith-should-use-builtin-function-on-aarch64.patch %description @@ -85,6 +83,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1 %{_mandir}/man*/* %changelog +* Wed Jan 8 2020 hewenliang - 4.20.0-4 +- Remove unecessary patches. + * Fri Dec 20 2019 openEuler Buildteam - 4.20.0-3 - Fix ldconfig scriptlets -- Gitee