diff --git a/.gitignore b/.gitignore index 5d0bda3..27c9b90 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/9d6335cdb362.zip +/9d02ea6631b8.zip diff --git a/abc.spec b/abc.spec index 87a3fa9..ffd9abc 100644 --- a/abc.spec +++ b/abc.spec @@ -7,12 +7,12 @@ # Upstream doesn't make releases. We have to check the code out of Mercurial. %global owner alanmi -%global commit 9d6335cdb362 -%global hgdate 20141130 +%global commit 9d02ea6631b8 +%global hgdate 20150101 Name: abc Version: 1.01 -Release: 2.hg%{hgdate}%{?dist} +Release: 3.hg%{hgdate}%{?dist} Summary: Sequential logic synthesis and formal verification # This would be MIT, but we link with readline @@ -117,12 +117,11 @@ ln -s lib%{name}.so.0.0.0 %{buildroot}%{_libdir}/lib%{name}.so.0 ln -s lib%{name}.so.0 %{buildroot}%{_libdir}/lib%{name}.so # Install the header files +pushd src mkdir -p %{buildroot}%{_includedir}/%{name} -for fil in $(find -O3 src -name \*.h); do - dir=$(dirname $fil | cut -d/ -f3-) - mkdir -p %{buildroot}%{_includedir}/%{name}/$dir - install -p -m 0644 $fil %{buildroot}%{_includedir}/%{name}/$dir -done +tar -cBf - $(find -O3 . -name \*.h) | \ + (cd %{buildroot}%{_includedir}/%{name}; tar -xBf -) +popd # Install the binary mkdir -p %{buildroot}%{_bindir} @@ -165,6 +164,10 @@ popd %{python2_sitearch}/* %changelog +* Thu Jan 1 2015 Jerry James - 1.01-3.hg20150101 +- Update to latest mercurial snapshot +- Fix installation of header files + * Wed Dec 3 2014 Jerry James - 1.01-2.hg20141130 - Drop unnecessary jquery Provides - Fix file permissions diff --git a/sources b/sources index 53e825e..d58b8bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b72d459105cfdd98f3db7ec8c17225d3 9d6335cdb362.zip +c3e3cca21dc48d439b262648dc689b71 9d02ea6631b8.zip