diff --git a/.gitignore b/.gitignore index 1d14853..5b58bc1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ libsamplerate-0.1.7.tar.gz +/libsamplerate-0.1.8.tar.gz diff --git a/libsamplerate-0.1.7-test.patch b/libsamplerate-0.1.7-test.patch deleted file mode 100644 index 9d75f68..0000000 --- a/libsamplerate-0.1.7-test.patch +++ /dev/null @@ -1,16 +0,0 @@ -Make the test pass, having no clue what am I changing at all. - -Lubomir Rintel - -diff -up libsamplerate-0.1.7/tests/callback_test.c.test libsamplerate-0.1.7/tests/callback_test.c ---- libsamplerate-0.1.7/tests/callback_test.c.test 2009-05-08 11:21:42.000000000 +0200 -+++ libsamplerate-0.1.7/tests/callback_test.c 2009-05-08 11:21:09.000000000 +0200 -@@ -137,7 +137,7 @@ callback_test (int converter, double src - - src_state = src_delete (src_state) ; - -- if (fabs (read_total - src_ratio * ARRAY_LEN (test_callback_data.data)) > src_ratio) -+ if (fabs (read_total - floor (0.5 + src_ratio * ARRAY_LEN (test_callback_data.data))) > ceil (src_ratio)) - { printf ("\n\nLine %d : input / output length mismatch.\n\n", __LINE__) ; - printf (" input len : %d\n", ARRAY_LEN (test_callback_data.data)) ; - printf (" output len : %ld (should be %g +/- %g)\n\n", read_total, diff --git a/libsamplerate.spec b/libsamplerate.spec index 3f33f47..2b3e5e3 100644 --- a/libsamplerate.spec +++ b/libsamplerate.spec @@ -1,13 +1,11 @@ Summary: Sample rate conversion library for audio data Name: libsamplerate -Version: 0.1.7 -Release: 3%{?dist} +Version: 0.1.8 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://www.mega-nerd.com/SRC/ Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz -Patch0: libsamplerate-0.1.7-test.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) BuildRequires: libsndfile-devel >= 1.0.6, pkgconfig %description @@ -34,7 +32,6 @@ This package contains development files for %{name} %prep %setup -q -%patch0 -p1 -b .test %build @@ -46,9 +43,9 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT _doc make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la +rm -rf $RPM_BUILD_ROOT%{_docdir}/libsamplerate0-dev _doc cp -a doc _doc rm _doc/Makefile* @@ -59,10 +56,6 @@ make check unset LD_LIBRARY_PATH -%clean -rm -rf $RPM_BUILD_ROOT - - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -82,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Oct 16 2011 Hans de Goede - 0.1.8-1 +- New upstream release 0.1.8 (rhbz#730939) + * Tue Feb 08 2011 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 34caad6..67bf740 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad093e60ec44f0a60de8e29983ddbc0f libsamplerate-0.1.7.tar.gz +1c7fb25191b4e6e3628d198a66a84f47 libsamplerate-0.1.8.tar.gz