diff --git a/libyui-gtk.spec b/libyui-gtk.spec index e038c8d..e6d25eb 100644 --- a/libyui-gtk.spec +++ b/libyui-gtk.spec @@ -12,8 +12,8 @@ %global _cmake_build_subdir build-%{?_arch}%{?dist} Name: %{libname}-gtk -Version: 2.44.5 -Release: 15%{?dist} +Version: 2.44.7 +Release: 1%{?dist} Summary: Gtk3 User Interface for %{libname} License: LGPLv2 or LGPLv3 @@ -103,28 +103,35 @@ pushd %{_cmake_build_subdir} # Install documentation. %{__mkdir} -p %{buildroot}%{?_pkgdocdir} -%{__cp} -a ../ChangeLog ../COPYING* doc/html/ \ +%{__cp} -a ../package/%{name}.changes doc/html/ \ %{buildroot}%{?_pkgdocdir} popd %files %doc %dir %{?_pkgdocdir} -%doc %{?_pkgdocdir}/COPYING* +%license COPYING* %{_libdir}/%{libsuffix}/%{name}.so.%{major_so_ver}* %files devel -%doc %{?_pkgdocdir}/ChangeLog +%doc %{?_pkgdocdir}/%{name}.changes %{_includedir}/%{libsuffix}/* %{_libdir}/%{libsuffix}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake %files doc +# Pickup license-files from main-pkg's license-dir +# If there's no license-dir they are picked up by %%doc previously +%{?_licensedir:%license %{_datadir}/licenses/%{name}*} %doc %{?_pkgdocdir} %changelog +* Tue Mar 29 2016 Björn Esser - 2.44.7-1 +- new upstream release +- handle %%license and %%doc properly + * Thu Feb 04 2016 Fedora Release Engineering - 2.44.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 0529500..627e60a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a96b5a7fdb80a1dd06b6526c6d0fc07 libyui-gtk-2.44.5.tar.gz +eb9a883e9bbfe72a3041fb631f572dfe libyui-gtk-2.44.7.tar.gz