fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 18:25:01 -04:00
parent 37993ee969
commit eed9c1ec7e

View File

@ -2,7 +2,7 @@
Name: json-c Name: json-c
Version: 0.11 Version: 0.11
Release: 7%{?dist} Release: 8%{?dist}
Summary: A JSON implementation in C Summary: A JSON implementation in C
Group: Development/Libraries Group: Development/Libraries
License: MIT License: MIT
@ -98,7 +98,9 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README README.html %doc AUTHORS ChangeLog README README.html
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libjson.so.* %{_libdir}/libjson.so.*
%{_libdir}/libjson-c.so.* %{_libdir}/libjson-c.so.*
@ -117,6 +119,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 0.11-8
- fix license handling
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-7 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild