From 8d086dc41ff9b8ed4f2b9b27bdae67e7c5311314 Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphgro(a)fedoraproject.org>
Date: Wed, 31 Aug 2016 22:39:37 +0200
Subject: add license file to subpackages
---
krop.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/krop.spec b/krop.spec
index dea4e98..5138f31 100644
--- a/krop.spec
+++ b/krop.spec
@@ -104,17 +104,18 @@ update-desktop-database &> /dev/null || :
%files
%doc ChangeLog README
-%license LICENSE
%{_bindir}/%{name}
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%if %with python2
%files -n python2-%{name}
+%license LICENSE
%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info
%{python2_sitelib}/%{name}/
%else
%files -n python3-%{name}
+%license LICENSE
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{name}/
%endif
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/krop.git/commit/?h=master&id=8d086...