fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 18:51:50 -04:00
parent db9a82f2cb
commit 6a65c154fa

View File

@ -1,7 +1,7 @@
Summary: A text file browser similar to more, but better Summary: A text file browser similar to more, but better
Name: less Name: less
Version: 458 Version: 458
Release: 11%{?dist} Release: 12%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Text Group: Applications/Text
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
@ -67,7 +67,8 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE %{!?_licensedir:%global license %%doc}
%license LICENSE
/etc/profile.d/* /etc/profile.d/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
@ -76,6 +77,9 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 458-12
- fix license handling
* Mon Jun 23 2014 Jozef Mlich <jmlich@redhat.com> - 458-11 * Mon Jun 23 2014 Jozef Mlich <jmlich@redhat.com> - 458-11
- rollback of previous problem. See explanation of upstream. - rollback of previous problem. See explanation of upstream.
http://greenwoodsoftware.com/less/faq.html#profileout http://greenwoodsoftware.com/less/faq.html#profileout