[sblim-sfcc] Remove rpath from libcmpisfcc library again

vcrhonek vcrhonek at fedoraproject.org
Mon Jul 22 09:46:01 UTC 2013


commit 8a650317669d0885f8bcdeb3426f237ae3087257
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Mon Jul 22 11:45:46 2013 +0200

    Remove rpath from libcmpisfcc library again

 sblim-sfcc.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/sblim-sfcc.spec b/sblim-sfcc.spec
index 46e8b0e..7c1f5ef 100644
--- a/sblim-sfcc.spec
+++ b/sblim-sfcc.spec
@@ -7,12 +7,12 @@
 Summary: Small Footprint CIM Client Library
 Name: sblim-sfcc
 Version: 2.2.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/System
 License: EPL
 URL: http://www.sblim.org
 Source0: http://downloads.sourceforge.net/project/sblim/%{name}/%{name}-%{version}.tar.bz2
-BuildRequires: curl-devel
+BuildRequires: curl-devel chrpath
 
 %Description
 Small Footprint CIM Client Library Runtime Libraries
@@ -33,13 +33,15 @@ Small Footprint CIM Client Library Header Files and Link Libraries
 %build
 chmod a-x backend/cimxml/*.[ch]
 
-%configure 
+%configure
 make %{?_smp_flags}
 
 %install
 make DESTDIR=%{buildroot} install
 # remove unused libtool files
-rm -rf %{buildroot}/%{_libdir}/*a 
+rm -rf %{buildroot}/%{_libdir}/*a
+# remove rpath
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcmpisfcc.so.1.0.0
 
 %post -p /sbin/ldconfig
 
@@ -57,6 +59,9 @@ rm -rf %{buildroot}/%{_libdir}/*a
 %{_libdir}/*.so 
 
 %changelog
+* Mon Jul 22 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 2.2.5-3
+- Remove rpath from libcmpisfcc library again
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list