drop the "BSD" license and LGPL file from base package
This commit is contained in:
parent
a12362cf0b
commit
e347fd1eba
15
cpphs.spec
15
cpphs.spec
|
@ -4,10 +4,10 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: 1.20.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A liberalised C pre-processor for Haskell
|
||||
|
||||
License: GPL+ and LGPLv2+ or BSD
|
||||
License: GPL+ and LGPLv2+
|
||||
URL: http://hackage.haskell.org/package/%{name}
|
||||
Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
|
@ -34,7 +34,7 @@ off macro-expansion.
|
|||
|
||||
%package -n ghc-%{name}
|
||||
Summary: Haskell %{name} library
|
||||
License: LGPLv2+ or BSD
|
||||
License: LGPLv2+
|
||||
|
||||
%description -n ghc-%{name}
|
||||
This package provides the Haskell %{name} shared library.
|
||||
|
@ -42,7 +42,7 @@ This package provides the Haskell %{name} shared library.
|
|||
|
||||
%package -n ghc-%{name}-devel
|
||||
Summary: Haskell %{name} library development files
|
||||
License: LGPLv2+ or BSD
|
||||
License: LGPLv2+
|
||||
Provides: ghc-%{name}-static = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
|
@ -66,6 +66,9 @@ This package provides the Haskell %{name} library development files.
|
|||
|
||||
install -D -p -m 0644 docs/cpphs.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
# main package binary is GPL
|
||||
rm %{buildroot}%{_defaultlicensedir}/%{name}/LICENCE-LGPL
|
||||
|
||||
|
||||
%post -n ghc-%{name}-devel
|
||||
%ghc_pkg_recache
|
||||
|
@ -91,6 +94,10 @@ install -D -p -m 0644 docs/cpphs.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 25 2016 Jens Petersen <petersen@redhat.com> - 1.20.1-2
|
||||
- drop the modified BSD license since it is unmodified binary only
|
||||
- remove LGPL license file from the base package
|
||||
|
||||
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 1.20.1-1
|
||||
- update to 1.20.1
|
||||
|
||||
|
|
Loading…
Reference in New Issue