diff --git a/grep.spec b/grep.spec index 5f38f17..e1dd673 100644 --- a/grep.spec +++ b/grep.spec @@ -3,7 +3,7 @@ Summary: Pattern matching utilities Name: grep Version: 2.20 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Applications/Text Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz @@ -76,7 +76,9 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc ABOUT-NLS AUTHORS THANKS TODO NEWS README ChangeLog COPYING +%doc ABOUT-NLS AUTHORS THANKS TODO NEWS README ChangeLog +%{!?_licensedir:%global license %%doc} +%license COPYING %{_bindir}/* %config(noreplace) %{_sysconfdir}/profile.d/colorgrep.*sh @@ -85,6 +87,9 @@ fi %{_mandir}/*/* %changelog +* Sat Jul 12 2014 Tom Callaway - 2.20-3 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild