Accepting request 454436 from home:badshah400:branches:openSUSE:Factory:Rings:2-TestDVD

- Fix building with rpm >= 4.13 by explicitly listing %{_docdir}
  files installed by make. Package the non-C lang documentation
  in the %{name}-lang package. The examples for all non-C locales
  are simply symlinks to the C locale example, so these need to
  be installed as part of the main package itself.
- Move man for fr locale into lang package (instead of main
  package).

OBS-URL: https://build.opensuse.org/request/show/454436
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/dia?expand=0&rev=40
This commit is contained in:
Bjørn Lie 2017-02-04 12:52:28 +00:00 committed by Git OBS Bridge
parent 2c35204039
commit d18e005df1
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Feb 3 13:51:06 UTC 2017 - badshah400@gmail.com
- Fix building with rpm >= 4.13 by explicitly listing %{_docdir}
files installed by make. Package the non-C lang documentation
in the %{name}-lang package. The examples for all non-C locales
are simply symlinks to the C locale example, so these need to
be installed as part of the main package itself.
- Move man for fr locale into lang package (instead of main
package).
-------------------------------------------------------------------
Sat Jan 21 01:14:12 UTC 2017 - zaitor@opensuse.org

View File

@ -146,10 +146,15 @@ fi
%{_datadir}/applications/*.desktop
%{_datadir}/dia
%{_datadir}/icons/hicolor/*/apps/dia.*
%doc %{_docdir}/%{name}/html/en
# EXAMPLES FOR THE (eu,fr,pl) LANGS ARE ALL SYMLINKED TO en
%doc %{_docdir}/%{name}/*/examples/
%doc %{_mandir}/man1/*.*
%doc %{_mandir}/fr/man1/*.*
%files lang -f %{name}.lang
%defattr(-,root,root)
%doc %{_docdir}/%{name}/html/*
%doc %{_mandir}/fr/man1/*.*
%exclude %{_docdir}/%{name}/html/en
%changelog