diff --git a/.gitignore b/.gitignore index 43a1061..5fe4c74 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /sratom-0.4.2.tar.bz2 /sratom-0.4.4.tar.bz2 /sratom-0.4.6.tar.bz2 +/sratom-0.6.0.tar.bz2 diff --git a/sources b/sources index 4484e18..e6f2f6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5cf28520418779bf41fb14a40fbb20ad sratom-0.4.6.tar.bz2 +SHA512 (sratom-0.6.0.tar.bz2) = 899bb01896e2b65b69482041c7e06edc9e45e9a3466392c82a58f16dfc71462a6c3e3e16a5aa50a6347c8366ea72898468910a59a084762f75eb8c7031ceacf8 diff --git a/sratom.spec b/sratom.spec index 2cc5c13..28560e7 100644 --- a/sratom.spec +++ b/sratom.spec @@ -2,8 +2,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: sratom -Version: 0.4.6 -Release: 5%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: A C library for serializing LV2 plugins Group: System Environment/Libraries @@ -14,9 +14,9 @@ BuildRequires: python BuildRequires: doxygen BuildRequires: graphviz BuildRequires: sord-devel >= 0.12.0 -BuildRequires: lv2-devel >= 1.0.0 - -%filter_setup +BuildRequires: serd-devel >= 0.23.0 +BuildRequires: lv2-devel >= 1.10.0 +BuildRequires: gcc %description %{name} is a new C library for serializing LV2 atoms to/from Turtle. It is @@ -48,6 +48,7 @@ sed -i -e "s| '-ftest-coverage'\]|\ %build export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" +export LDFLAGS="%{__global_ldflags}" ./waf configure -v \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ @@ -63,9 +64,8 @@ DESTDIR=%{buildroot} ./waf install chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir} -# tests failing - see http://dev.drobilla.net/ticket/832 -#%%check -#./build/sratom_test +%check +./build/sratom_test %post -p /sbin/ldconfig @@ -74,6 +74,8 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir} %files %{_pkgdocdir} %exclude %{_pkgdocdir}/%{name}-%{maj}/ +%exclude %{_pkgdocdir}/COPYING +%license COPYING %{_libdir}/lib%{name}-%{maj}.so.* %files devel @@ -84,6 +86,12 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir} %{_mandir}/man3/* %changelog +* Tue Mar 14 2017 Guido Aulisi - 0.6.0-1 +- Update to 0.6.0 +- Use hardened LDFLAGS +- Enable tests +- Use license macro + * Sat Feb 11 2017 Fedora Release Engineering - 0.4.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild