[optipng] Ship LICENSE.txt as %license where available
Ville Skyttä
scop at fedoraproject.org
Sat Jan 31 20:18:20 UTC 2015
commit 0d88ecc4a62935c2ddb2de8129bd25415ac93238
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jan 31 22:18:08 2015 +0200
Ship LICENSE.txt as %license where available
optipng.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/optipng.spec b/optipng.spec
index 4b46dec..3fdbcb9 100644
--- a/optipng.spec
+++ b/optipng.spec
@@ -1,6 +1,6 @@
Name: optipng
Version: 0.7.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: PNG optimizer and converter
Group: Applications/Multimedia
@@ -51,12 +51,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc AUTHORS.txt README.txt LICENSE.txt doc/*
+%{!?_licensedir:%global license %%doc}
+%license LICENSE.txt
+%doc AUTHORS.txt README.txt doc/*
%{_bindir}/optipng
%{_mandir}/man1/optipng.1*
%changelog
+* Sat Jan 31 2015 Ville Skyttä <ville.skytta at iki.fi> - 0.7.5-4
+- Ship LICENSE.txt as %%license where available
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list