Run test suite during build.

- Drop empty NEWS from docs.
This commit is contained in:
Ville Skyttä 2013-12-21 23:09:36 +02:00
parent b0fa07615b
commit 21b5940731

View File

@ -2,7 +2,7 @@
Name: json-c
Version: 0.11
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A JSON implementation in C
Group: Development/Libraries
License: MIT
@ -81,6 +81,8 @@ mv %{buildroot}%{_includedir}/json-c \
ln -s json \
%{buildroot}%{_includedir}/json-c
%check
make check
%clean
rm -rf %{buildroot}
@ -92,7 +94,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README README.html
%doc AUTHORS ChangeLog COPYING README README.html
%{_libdir}/libjson.so.*
%{_libdir}/libjson-c.so.*
@ -111,6 +113,10 @@ rm -rf %{buildroot}
%changelog
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.11-5
- Run test suite during build.
- Drop empty NEWS from docs.
* Tue Sep 10 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.11-4
- Remove default warning flags so that package builds on EPEL as well.