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
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@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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild