[linux-atm] fix license handling
Tom Callaway
spot at fedoraproject.org
Fri Jul 18 19:49:57 UTC 2014
commit 3c38dfd6bb1e79fc14bf86b5b508d606e1cff108
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 18 15:50:22 2014 -0400
fix license handling
linux-atm.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/linux-atm.spec b/linux-atm.spec
index da93907..6c83aed 100644
--- a/linux-atm.spec
+++ b/linux-atm.spec
@@ -1,7 +1,7 @@
Summary: Tools to support ATM networking under Linux
Name: linux-atm
Version: 2.5.1
-Release: 9%{?dist}
+Release: 10%{?dist}
# The licensing here is a mess. This is as close to accurate as possible.
License: BSD and GPLv2 and GPLv2+ and LGPLv2+ and MIT
URL: http://linux-atm.sourceforge.net/
@@ -24,6 +24,7 @@ Tools to support ATM networking under Linux.
%package libs
Summary: Linux ATM API library
Group: System Environment/Libraries
+License: LGPLv2+
%description libs
This package contains the ATM library required for user space ATM tools.
@@ -80,7 +81,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
-%doc AUTHORS BUGS ChangeLog COPYING* NEWS README THANKS _doc/*
+%{!?_licensedir:%global license %%doc}
+%license COPYING*
+%doc AUTHORS BUGS ChangeLog NEWS README THANKS _doc/*
%config(noreplace) /etc/atmsigd.conf
%config(noreplace) /etc/hosts.atm
%{_bindir}/*
@@ -91,6 +94,8 @@ rm -rf $RPM_BUILD_ROOT
%files libs
%defattr(-, root, root, 0755)
+%{!?_licensedir:%global license %%doc}
+%license COPYING.LGPL
%{_libdir}/libatm.so.*
%files libs-devel
@@ -99,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libatm.so
%changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.5.1-10
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list