Remove rpath from libcmpisfcc library again

This commit is contained in:
Vitezslav Crhonek 2013-07-22 11:45:46 +02:00
parent bca9ea8fea
commit 8a65031766

View File

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