[libecap] Reinstate autoconf.h wrapper installation

Henrik Nordström hno at fedoraproject.org
Sun Mar 15 10:46:25 UTC 2015


commit 7e4b0fbe3a3f3a31969e44cb08eae6dcaea7d466
Author: Henrik Nordstrom <henrik at henriknordstrom.net>
Date:   Sun Mar 15 11:46:06 2015 +0100

    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-<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
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


More information about the scm-commits mailing list