Update to latest mercurial snapshot.
Also: fix installation of header files.
This commit is contained in:
parent
575c8c745f
commit
270dae44be
3 changed files with 13 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/9d6335cdb362.zip
|
||||
/9d02ea6631b8.zip
|
||||
|
|
|
|||
19
abc.spec
19
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 <loganjerry@gmail.com> - 1.01-3.hg20150101
|
||||
- Update to latest mercurial snapshot
|
||||
- Fix installation of header files
|
||||
|
||||
* Wed Dec 3 2014 Jerry James <loganjerry@gmail.com> - 1.01-2.hg20141130
|
||||
- Drop unnecessary jquery Provides
|
||||
- Fix file permissions
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
b72d459105cfdd98f3db7ec8c17225d3 9d6335cdb362.zip
|
||||
c3e3cca21dc48d439b262648dc689b71 9d02ea6631b8.zip
|
||||
|
|
|
|||
Reference in a new issue