fix license handling

This commit is contained in:
Tom Callaway 2014-07-11 16:40:44 -04:00
parent 0892d8b3bc
commit 5140ddb403

View File

@ -1,7 +1,7 @@
Summary: Cloud image management utilities Summary: Cloud image management utilities
Name: cloud-utils Name: cloud-utils
Version: 0.27 Version: 0.27
Release: 11%{?dist} Release: 12%{?dist}
License: GPLv3 License: GPLv3
Group: System Environment/Base Group: System Environment/Base
URL: https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz URL: https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz
@ -96,7 +96,9 @@ cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
# Files for the main package # Files for the main package
%if %{BuildMainPackage} %if %{BuildMainPackage}
%files %files
%doc ChangeLog LICENSE %doc ChangeLog
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_bindir}/cloud-localds %{_bindir}/cloud-localds
%{_bindir}/cloud-publish-tarball %{_bindir}/cloud-publish-tarball
%{_bindir}/cloud-run-instances %{_bindir}/cloud-run-instances
@ -114,12 +116,17 @@ cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
# Files for the growpart subpackage # Files for the growpart subpackage
%files growpart %files growpart
%doc ChangeLog LICENSE %doc ChangeLog
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_bindir}/growpart %{_bindir}/growpart
%doc %{_mandir}/man1/growpart.* %doc %{_mandir}/man1/growpart.*
%changelog %changelog
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 0.27-12
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27-11 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild