New upstream release 0.1.8 (rhbz#730939)

This commit is contained in:
Hans de Goede 2011-10-16 20:15:19 +02:00
parent 41947e9bfd
commit a9f7f21abc
4 changed files with 8 additions and 27 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
libsamplerate-0.1.7.tar.gz libsamplerate-0.1.7.tar.gz
/libsamplerate-0.1.8.tar.gz

View File

@ -1,16 +0,0 @@
Make the test pass, having no clue what am I changing at all.
Lubomir Rintel <lkundrak@v3.sk>
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,

View File

@ -1,13 +1,11 @@
Summary: Sample rate conversion library for audio data Summary: Sample rate conversion library for audio data
Name: libsamplerate Name: libsamplerate
Version: 0.1.7 Version: 0.1.8
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mega-nerd.com/SRC/ URL: http://www.mega-nerd.com/SRC/
Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz 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 BuildRequires: libsndfile-devel >= 1.0.6, pkgconfig
%description %description
@ -34,7 +32,6 @@ This package contains development files for %{name}
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .test
%build %build
@ -46,9 +43,9 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT _doc
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsamplerate0-dev _doc
cp -a doc _doc cp -a doc _doc
rm _doc/Makefile* rm _doc/Makefile*
@ -59,10 +56,6 @@ make check
unset LD_LIBRARY_PATH unset LD_LIBRARY_PATH
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -82,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Oct 16 2011 Hans de Goede <hdegoede@redhat.com> - 0.1.8-1
- New upstream release 0.1.8 (rhbz#730939)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-3 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
ad093e60ec44f0a60de8e29983ddbc0f libsamplerate-0.1.7.tar.gz 1c7fb25191b4e6e3628d198a66a84f47 libsamplerate-0.1.8.tar.gz