From 7e4b0fbe3a3f3a31969e44cb08eae6dcaea7d466 Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Sun, 15 Mar 2015 11:46:06 +0100 Subject: [PATCH] Reinstate autoconf.h wrapper installation --- libecap.spec | 2 ++ sources | 1 + 2 files changed, 3 insertions(+) diff --git a/libecap.spec b/libecap.spec index 0133e2f..e84e2ac 100644 --- a/libecap.spec +++ b/libecap.spec @@ -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-.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 diff --git a/sources b/sources index d96c4e7..08e39b8 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +bc13c3467988c898842b001aa8a83edf autoconf.h 68cbd5b8e505e3fa7da520c3b0fe5a3c libecap-1.0.0.tar.gz