new upstream release

handle %%license and %%doc properly
This commit is contained in:
Björn Esser 2016-03-29 11:43:12 +02:00
parent dc565c6b35
commit e208881428
2 changed files with 13 additions and 6 deletions

View File

@ -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 <fedora@besser82.io> - 2.44.7-1
- new upstream release
- handle %%license and %%doc properly
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.44.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
3a96b5a7fdb80a1dd06b6526c6d0fc07 libyui-gtk-2.44.5.tar.gz
eb9a883e9bbfe72a3041fb631f572dfe libyui-gtk-2.44.7.tar.gz