This commit is contained in:
Benjamin Gilbert 2018-01-21 16:48:35 -05:00
parent 0285207a69
commit 3e7f52e998
3 changed files with 6 additions and 13 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
/vips-8.5.9.tar.gz
/vips-8.6.0.tar.gz
/vips-8.6.1.tar.gz

View File

@ -1 +1 @@
SHA512 (vips-8.6.0.tar.gz) = 3d199698942625020fd52fda2201997369136f231420a53337a45c31171db41029a9d47e031198bf2e35e696a6ead204b2e7ec8ff58f02b275b1e50a6f146bb1
SHA512 (vips-8.6.1.tar.gz) = 95ea05b0958ce2eeb386651d6b3442c7240bd97771e09add7563ad48b36c7c24792e38b0fc52bae03c79cd264feead068af8be4e34d33d0407ec351de003c034

View File

@ -1,5 +1,5 @@
%global vips_version_base 8.6
%global vips_version %{vips_version_base}.0
%global vips_version %{vips_version_base}.1
%global vips_soname_major 42
Name: vips
@ -112,13 +112,6 @@ HTML and PDF formats.
%prep
%setup -q
# make the version string consistent for multiarch
# should be unneeded after https://github.com/jcupitt/libvips/commit/0f69f0808efbe72bab464ee07966d321e9920c7e
export FAKE_BUILD_DATE=$(date -r %{SOURCE0})
sed -i "s/\\(VIPS_VERSION_STRING=\\)\$VIPS_VERSION-\`date\`/\\1\"\$VIPS_VERSION-$FAKE_BUILD_DATE\"/g" \
configure
unset FAKE_BUILD_DATE
# Avoid setting RPATH to /usr/lib64 on 64-bit builds
# The DIE_RPATH_DIE trick breaks the build wrt gobject-introspection
sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir} |' configure
@ -137,9 +130,6 @@ make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
# https://github.com/jcupitt/libvips/issues/834
mv ${RPM_BUILD_ROOT}%{_bindir}/vips-8.5 ${RPM_BUILD_ROOT}%{_bindir}/vips-8.6
# delete doc (we will get it later with %%doc)
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips
@ -197,6 +187,9 @@ find ${RPM_BUILD_ROOT}%{python3_sitearch} \
%changelog
* Sun Jan 21 2018 Benjamin Gilbert <bgilbert@backtick.net> - 8.6.1-1
- New release
* Sun Dec 17 2017 Benjamin Gilbert <bgilbert@backtick.net> - 8.6.0-1
- New release