Remove rpath from libcmpisfcc library

This commit is contained in:
Vitezslav Crhonek 2012-11-19 12:40:09 +01:00
parent 8450df1788
commit 856407030e

View File

@ -7,7 +7,7 @@
Summary: Small Footprint CIM Client Library Summary: Small Footprint CIM Client Library
Name: sblim-sfcc Name: sblim-sfcc
Version: 2.2.4 Version: 2.2.4
Release: 3%{?dist} Release: 4%{?dist}
Group: Applications/System Group: Applications/System
License: EPL License: EPL
URL: http://www.sblim.org URL: http://www.sblim.org
@ -34,6 +34,8 @@ Small Footprint CIM Client Library Header Files and Link Libraries
chmod a-x backend/cimxml/*.[ch] chmod a-x backend/cimxml/*.[ch]
%configure %configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_flags} make %{?_smp_flags}
%install %install
@ -57,6 +59,9 @@ rm -rf %{buildroot}/%{_libdir}/*a
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Mon Nov 19 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.4-4
- Remove rpath from libcmpisfcc library
* Thu Sep 06 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.4-3 * Thu Sep 06 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.4-3
- Fix issues found by fedora-review utility in the spec file - Fix issues found by fedora-review utility in the spec file