+ libmtp-1.1.13-5

Fix build on EPEL7 where the doc directory is versioned
This commit is contained in:
Bastien Nocera 2017-09-06 15:48:04 +02:00
parent 88dbaf41ee
commit e5971c7788

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 1.1.13
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -72,8 +72,10 @@ mkdir -p -m 755 $RPM_BUILD_ROOT%{_pkgdocdir}
install -p -m 644 AUTHORS ChangeLog README TODO \
$RPM_BUILD_ROOT%{_pkgdocdir}
# Move some autogenerated documentation where we want it
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html \
$RPM_BUILD_ROOT%{_pkgdocdir}
if [ $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html != $RPM_BUILD_ROOT%{_pkgdocdir}/html ] ; then \
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html \
$RPM_BUILD_ROOT%{_pkgdocdir} ; \
fi
# Touch generated files to make them always have the same time stamp.
touch -r configure.ac \
$RPM_BUILD_ROOT%{_includedir}/*.h \
@ -103,6 +105,10 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
%{_libdir}/pkgconfig/libmtp.pc
%changelog
* Wed Sep 06 2017 Bastien Nocera <bnocera@redhat.com> - 1.1.13-6
+ libmtp-1.1.13-5
- Fix build on EPEL7 where the doc directory is versioned
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild