https://bugzilla.redhat.com/show_bug.cgi?id=1880903



--- Comment #6 from Jens Petersen <[email protected]> ---
I think the cleanest way is to subpackage the GPL tools.
(I wish RPM had a way of distinguishing the srpm and binary rpm licenses...)

I hope the following change may be sufficient:

--- ghc-HaXml.spec~     2020-09-21 12:17:41.484055678 +0800
+++ ghc-HaXml.spec      2020-11-10 12:49:49.482084275 +0800
@@ -6,8 +6,8 @@

 Name:           ghc-%{pkg_name}
 Version:        1.25.5
-Release:        1%{?dist}
-Summary:        Utilities for “true” manipulating XML documents
+Release:        2%{?dist}
+Summary:        Utilities for manipulating XML documents

 #
https://lists.fedoraproject.org/archives/list/[email protected]/thread/VFYIDDBGTIGNG6IJBW2BVSJLIUZXFXKC/
 License:        LGPLv2+
@@ -69,6 +69,14 @@
 %endif


+%package -n %{pkg_name}
+Summary:        Utilities for using XML documents with Haskell
+License:        GPLv2+
+
+%description -n %{pkg_name}
+This package provides the XML commandline tools for HaXml.
+
+
 %prep
 # Begin cabal-rpm setup:
 %setup -q -n %{pkgver}
@@ -99,14 +107,6 @@

 %files devel -f %{name}-devel.files
 %doc Changelog.md
-%{_bindir}/Canonicalise
-%{_bindir}/CanonicaliseLazy
-%{_bindir}/DtdToHaskell
-%{_bindir}/FpMLToHaskell
-%{_bindir}/MkOneOf
-%{_bindir}/Validate
-%{_bindir}/XsdToHaskell
-%{_bindir}/Xtract


 %if %{with haddock}
@@ -122,6 +122,22 @@
 %endif


+%files -n %{pkg_name}
+%license COPYRIGHT
+%license LICENCE-GPL
+%{_bindir}/Canonicalise
+%{_bindir}/CanonicaliseLazy
+%{_bindir}/DtdToHaskell
+%{_bindir}/FpMLToHaskell
+%{_bindir}/MkOneOf
+%{_bindir}/Validate
+%{_bindir}/XsdToHaskell
+%{_bindir}/Xtract
+
+
 %changelog
+* Tue Nov 10 2020 Jens Petersen <[email protected]> - 1.25.5-2
+- subpackage the tools, they are under GPL (#1880903)
+
 * Tue Sep  1 2020 Jens Petersen <[email protected]> - 1.25.5-1
 - spec file generated by cabal-rpm-2.0.6


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to