+ libmtp-1.1.13-5
Fix build on EPEL7 where the doc directory is versioned
This commit is contained in:
parent
88dbaf41ee
commit
e5971c7788
12
libmtp.spec
12
libmtp.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libmtp
|
Name: libmtp
|
||||||
Version: 1.1.13
|
Version: 1.1.13
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: A software library for MTP media players
|
Summary: A software library for MTP media players
|
||||||
URL: http://libmtp.sourceforge.net/
|
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 \
|
install -p -m 644 AUTHORS ChangeLog README TODO \
|
||||||
$RPM_BUILD_ROOT%{_pkgdocdir}
|
$RPM_BUILD_ROOT%{_pkgdocdir}
|
||||||
# Move some autogenerated documentation where we want it
|
# Move some autogenerated documentation where we want it
|
||||||
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html \
|
if [ $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html != $RPM_BUILD_ROOT%{_pkgdocdir}/html ] ; then \
|
||||||
$RPM_BUILD_ROOT%{_pkgdocdir}
|
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 generated files to make them always have the same time stamp.
|
||||||
touch -r configure.ac \
|
touch -r configure.ac \
|
||||||
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
||||||
@ -103,6 +105,10 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
|
|||||||
%{_libdir}/pkgconfig/libmtp.pc
|
%{_libdir}/pkgconfig/libmtp.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user