Reinstate autoconf.h wrapper installation

This commit is contained in:
Henrik Nordstrom 2015-03-15 11:46:06 +01:00
parent 530f63f79b
commit 7e4b0fbe3a
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ License: BSD
Group: Development/Libraries
URL: http://www.e-cap.org/
Source0: http://www.measurement-factory.com/tmp/ecap/%{name}-%{version}.tar.gz
Source1: autoconf.h
%description
eCAP is a software interface that allows a network application, such as an
@ -48,6 +49,7 @@ rm -f %{buildroot}%{_libdir}/libecap.la
# Rename libecap/common/autoconf.h to libecap/common/autoconf-<arch>.h to avoid file conflicts on
# multilib systems and install autoconf.h wrapper
mv %{buildroot}%{_includedir}/%{name}/common/autoconf.h %{buildroot}%{_includedir}/%{name}/common/autoconf-%{_arch}.h
install -m644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

View File

@ -1 +1,2 @@
bc13c3467988c898842b001aa8a83edf autoconf.h
68cbd5b8e505e3fa7da520c3b0fe5a3c libecap-1.0.0.tar.gz