Accepting request 460524 from GNOME:Apps

Fix build with rpm 4.13

OBS-URL: https://build.opensuse.org/request/show/460524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dia?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2017-03-03 16:39:41 +00:00 committed by Git OBS Bridge
commit 3698b7021c
2 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Feb 21 10:57:57 UTC 2017 - badshah400@gmail.com
- Avoid double inclusion of the contents of the directory
%{_docdir}/%{name}, by removing it from the file-list for
main package.
-------------------------------------------------------------------
Fri Feb 10 11:14:17 UTC 2017 - badshah400@gmail.com
- Make sure to own %{_docdir}/%{name} and lower directories
individually by using %doc/%dir wherever appropriate.
-------------------------------------------------------------------
Fri Feb 3 13:51:06 UTC 2017 - badshah400@gmail.com

View File

@ -138,7 +138,7 @@ fi
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog KNOWN_BUGS NEWS README TODO samples/ font-test*dia
%doc AUTHORS COPYING ChangeLog KNOWN_BUGS NEWS README TODO
%{_bindir}/*
%{_libdir}/dia
%dir %{_datadir}/appdata
@ -146,15 +146,30 @@ fi
%{_datadir}/applications/*.desktop
%{_datadir}/dia
%{_datadir}/icons/hicolor/*/apps/dia.*
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/en/
%dir %{_docdir}/%{name}/html
%doc %{_docdir}/%{name}/html/en
# EXAMPLES FOR THE (eu,fr,pl) LANGS ARE ALL SYMLINKED TO en
%doc %{_docdir}/%{name}/*/examples/
%doc %{_docdir}/%{name}/*/examples
%doc %{_mandir}/man1/*.*
%files lang -f %{name}.lang
%defattr(-,root,root)
%exclude %{_docdir}/%{name}/AUTHORS
%exclude %{_docdir}/%{name}/COPYING
%exclude %{_docdir}/%{name}/ChangeLog
%exclude %{_docdir}/%{name}/KNOWN_BUGS
%exclude %{_docdir}/%{name}/NEWS
%exclude %{_docdir}/%{name}/README
%exclude %{_docdir}/%{name}/TODO
%dir %{_docdir}/%{name}
%dir %{_docdir}/%{name}/html
%exclude %{_docdir}/%{name}/en
%doc %{_docdir}/%{name}/*
%exclude %{_docdir}/%{name}/html/en
%exclude %{_docdir}/%{name}/*/examples
%doc %{_docdir}/%{name}/html/*
%doc %{_mandir}/fr/man1/*.*
%exclude %{_docdir}/%{name}/html/en
%changelog