fix build
This commit is contained in:
parent
354d50ba56
commit
5719ba10cb
@ -7,7 +7,7 @@ Group: System Environment/Libraries
|
||||
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||
URL: http://www.hyperrealm.com/libconfig/
|
||||
BuildRequires: texinfo-tex
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: bison, flex
|
||||
|
||||
%description
|
||||
Libconfig is a simple library for manipulating structured configuration
|
||||
@ -46,9 +46,6 @@ sed -i '/^\/CreationDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.p
|
||||
sed -i '/^\/ModDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
||||
sed -i '/^\/ID /d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf
|
||||
|
||||
# --disable-rpath doesn't work
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}_tests
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
@ -69,7 +66,6 @@ fi
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/libconfig_tests
|
||||
%{_includedir}/libconfig*
|
||||
%{_libdir}/libconfig*.so
|
||||
%{_libdir}/pkgconfig/libconfig*.pc
|
||||
|
Loading…
Reference in New Issue
Block a user