diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index 9963af7..42a39b6 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -3,7 +3,7 @@ Summary: A high-level cross-protocol url-grabber Name: python-urlgrabber Version: 3.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz Patch1: urlgrabber-HEAD.patch @@ -38,12 +38,17 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc ChangeLog LICENSE README TODO +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc ChangeLog README TODO %{python_sitelib}/urlgrabber* %{_bindir}/urlgrabber %attr(0755,root,root) %{_libexecdir}/urlgrabber-ext-down %changelog +* Sun Aug 3 2014 Tom Callaway - 3.10.1-2 +- fix license handling + * Sun Jun 08 2014 Fedora Release Engineering - 3.10.1-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild