[dia/f18] do not own directories owned by filesystem package (#569446)

Jiří Popelka jpopelka at fedoraproject.org
Tue Sep 18 13:10:02 UTC 2012


commit 281de5e03e2ab5c094c5514e8946aeb8d0684a73
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Tue Sep 18 14:58:47 2012 +0200

    do not own directories owned by filesystem package (#569446)

 dia.spec |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/dia.spec b/dia.spec
index 81be1a6..1646ff2 100644
--- a/dia.spec
+++ b/dia.spec
@@ -43,7 +43,7 @@ make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
-%find_lang %name
+%find_lang %{name} --with-man --with-gnome
 
 # Since we're not using the cairo stuff, but a stub plugin still
 # gets built, Dia complains it doesn't have an init function.  So
@@ -73,27 +73,24 @@ fi
 
 
 %files -f %{name}.lang
-%defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog KNOWN_BUGS NEWS README TODO THANKS
 %doc doc/custom-shapes doc/diagram.dtd doc/shape.dtd doc/sheet.dtd samples/
 %{_bindir}/%{name}
 %{_libdir}/%{name}/*.so
-%{_mandir}/*/*
+%{_mandir}/man1/%{name}.1.gz
 %{_datadir}/%{name}
 %{_datadir}/applications/fedora-%{name}.desktop
-%dir %{_datadir}/gnome
-%dir %{_datadir}/gnome/help
 %dir %{_libdir}/%{name}
-%{_datadir}/gnome/help/%{name}
+# find_lang --with-gnome desn't find the following because it's just a symlink
+%{_datadir}/gnome/help/%{name}/C
 %{_datadir}/mime-info/*
 %{_datadir}/icons/hicolor/*/apps/*
-%{_datadir}/omf/%{name}/*.omf
-
 
 %changelog
 * Tue Sep 18 2012 Jiri Popelka <jpopelka at redhat.com> - 1:0.97.2-1
 - 0.97.2
 - unregister vdx, xfig import filter during plugin unloading (#854368)
+- do not own directories owned by filesystem package (#569446)
 
 * Fri Jul 27 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.97.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list