Fixed documentation issue due to unversioned doc dirs (bug #1001263).
Resolves: rhbz#1001263
This commit is contained in:
parent
02d1686ca8
commit
5b54c9d63b
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libgphoto2
|
||||
Version: 2.5.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Library for accessing digital cameras
|
||||
Group: Development/Libraries
|
||||
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
|
||||
@ -111,6 +111,10 @@ rm -rf %{buildroot}%{_libdir}/*.la
|
||||
%find_lang %{name}_port-10
|
||||
cat libgphoto2*.lang >> %{name}.lang
|
||||
|
||||
# https://fedoraproject.org/wiki/Packaging_tricks#With_.25doc
|
||||
mkdir __doc
|
||||
mv %{buildroot}%{_defaultdocdir}/%{name}/* __doc
|
||||
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
@ -129,7 +133,7 @@ cat libgphoto2*.lang >> %{name}.lang
|
||||
%{udevdir}/check-ptp-camera
|
||||
|
||||
%files devel
|
||||
%doc %{_docdir}/%{name}
|
||||
%doc __doc/*
|
||||
%{_datadir}/libgphoto2
|
||||
%{_bindir}/gphoto2-config*
|
||||
%{_bindir}/gphoto2-port-config
|
||||
@ -139,6 +143,9 @@ cat libgphoto2*.lang >> %{name}.lang
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 28 2013 Tim Waugh <twaugh@redhat.com> - 2.5.2-5
|
||||
- Fixed documentation issue due to unversioned doc dirs (bug #1001263).
|
||||
|
||||
* Fri Aug 16 2013 Tim Waugh <twaugh@redhat.com> - 2.5.2-4
|
||||
- Build against libusbx instead of libusb (bug #997880).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user