- Eliminate build differences in version.h to work on multiarch

This commit is contained in:
Adam Goode 2007-10-24 02:44:58 +00:00
parent de77487fae
commit 6294a9b5ac

View File

@ -2,7 +2,7 @@
Name: vips
Version: 7.12.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Library for processing large images
Group: System Environment/Libraries
@ -75,6 +75,12 @@ HTML and PDF formats.
%setup -q
find . -name 'CVS' -type d -print0 | xargs -0 rm -rf
# make the version string consistent for multiarch
export FAKE_BUILD_DATE=$(date -r %{SOURCE0})
sed -i "s/\\(IM_VERSION_STRING=\\)\$IM_VERSION-\`date\`/\\1\"\$IM_VERSION-$FAKE_BUILD_DATE\"/g" \
configure
unset FAKE_BUILD_DATE
%build
%configure --disable-static
@ -138,6 +144,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Oct 23 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-3
- Eliminate build differences in version.h to work on multiarch
* Mon Oct 15 2007 Adam Goode <adam@spicenitz.org> - 7.12.5-2
- Rebuild for OpenEXR update