From c84538f98973e5280391b41481e47efed0a61d76 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Aug 30 2013 01:47:20 +0000 Subject: adjust to avoid duplicate docs caused by %%doc macro changes in Fedora 20 Resolves rhbz#1001267 --- diff --git a/libunistring.spec b/libunistring.spec index 3a94dc8..3b035fd 100644 --- a/libunistring.spec +++ b/libunistring.spec @@ -1,6 +1,6 @@ Name: libunistring Version: 0.9.3 -Release: 8%{?dist} +Release: 9%{?dist} Group: System Environment/Libraries Summary: GNU Unicode string library License: LGPLv3+ @@ -37,6 +37,8 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}.la +# Move staged docs so not picked up by %%doc in main package +mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} __doc %clean rm -rf $RPM_BUILD_ROOT @@ -49,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) %doc HACKING DEPENDENCIES THANKS ChangeLog -%doc %{_datadir}/doc/%{name}/*.html +%doc __doc/* %{_infodir}/%{name}.info* %{_libdir}/%{name}.so %{_includedir}/unistring @@ -68,6 +70,9 @@ if [ $1 = 0 ]; then fi %changelog +* Thu Aug 29 2013 Pádraig Brady 0.9.3-9 +- Adjust to avoid duplicate docs caused by %%doc macro changes in Fedora 20 + * Sat Aug 03 2013 Fedora Release Engineering - 0.9.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild