specfile: %license field is now used for the license file

Rename 'Copyright' to 'COPYING', as it is more common name nowadays.
  The 'COPYING' file will be installed into /usr/share/licenses/tcsh
  folder, to comply with the Fedora Packaging/Licensing guidelines:
  https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text
This commit is contained in:
David Kaspar [Dee'Kej] 2016-08-12 13:26:51 +02:00
parent 096763d093
commit 34f892b876

View File

@ -1,7 +1,7 @@
Name: tcsh
Summary: An enhanced version of csh, the C shell
Version: 6.19.00
Release: 13%{?dist}
Release: 14%{?dist}
License: BSD
Group: System Environment/Shells
URL: http://www.tcsh.org/
@ -99,6 +99,9 @@ for i in Fixes WishList; do
mv "${i}_" "$i"
done
# Also, rename the Copyright so we comply with more generally accepted name:
mv Copyright COPYING
# Amend the converted files to the initial commit, and patch the source code:
git commit --all --amend --no-edit > /dev/null
%autopatch -p1
@ -176,13 +179,17 @@ fi
%files -f tcsh.lang
%defattr(-,root,root,-)
%doc Copyright FAQ Fixes README complete.tcsh
%doc FAQ Fixes README complete.tcsh
%license COPYING
%{_bindir}/tcsh
%{_bindir}/csh
%{_mandir}/man1/*.1*
%changelog
* Fri Aug 12 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-14
- Move the COPYING file to correct location
* Mon Jul 18 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.19.00-13
- Added tcsh-6.19.00-032-fix-multiline-prompt.patch (bug #1351056)