From f47ea05d57473cc27f69494b7fb1016b3611c043 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: May 12 2016 14:29:10 +0000 Subject: 0.2-1 - webrtc-audio-processing-0.2 (#1335536) - %files: track ABI/API closer --- diff --git a/.gitignore b/.gitignore index e805fa5..e5a7475 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /webrtc-audio-processing-0.1.tar.xz +/webrtc-audio-processing-0.2.tar.xz diff --git a/sources b/sources index 99234fa..cb5a0c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -da25bb27812c8404060d4cc0dc712f04 webrtc-audio-processing-0.1.tar.xz +3af3e71d50b743eacadcf38f6e9db2f8 webrtc-audio-processing-0.2.tar.xz diff --git a/webrtc-audio-processing.spec b/webrtc-audio-processing.spec index 0a2b1ff..88a9f8e 100644 --- a/webrtc-audio-processing.spec +++ b/webrtc-audio-processing.spec @@ -1,7 +1,7 @@ Name: webrtc-audio-processing -Version: 0.1 -Release: 11%{?dist} +Version: 0.2 +Release: 1%{?dist} Summary: Library for echo cancellation License: BSD @@ -16,7 +16,6 @@ PulseAudio to provide echo cancellation. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -28,36 +27,37 @@ files for developing applications that use %{name}. %patch0 -p1 -b .typedef %build -%configure \ - --with-package-name='Fedora Webrtc-audio-processing package' \ - --with-package-origin='http://download.fedoraproject.org' \ +%configure \ + --disable-silent-rules \ --disable-static -make %{?_smp_mflags} +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +make install DESTDIR=%{buildroot} INSTALL="install -p" +## unpackaged files +rm -fv %{buildroot}%{_libdir}/lib*.la %post -p /sbin/ldconfig - - %postun -p /sbin/ldconfig - %files -%doc COPYING NEWS AUTHORS PATENTS -%{_libdir}/*.so.* +%doc NEWS AUTHORS README.md +%license COPYING +%{_libdir}/libwebrtc_audio_processing.so.1* %files devel %{_libdir}/libwebrtc_audio_processing.so -%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/pkgconfig/webrtc-audio-processing.pc %{_includedir}/webrtc_audio_processing/ %changelog +* Thu May 12 2016 Rex Dieter - 0.2-1 +- webrtc-audio-processing-0.2 (#1335536) +- %%files: track ABI/API closer + * Fri Feb 05 2016 Fedora Release Engineering - 0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/webrtc-fix-typedefs-on-other-arches.patch b/webrtc-fix-typedefs-on-other-arches.patch index 9dc54c2..81e5ae5 100644 --- a/webrtc-fix-typedefs-on-other-arches.patch +++ b/webrtc-fix-typedefs-on-other-arches.patch @@ -1,7 +1,7 @@ -diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1.new/src/typedefs.h ---- webrtc-audio-processing-0.1/src/typedefs.h 2011-10-21 00:29:33.000000000 -0400 -+++ webrtc-audio-processing-0.1.new/src/typedefs.h 2014-01-28 18:42:57.816865572 -0500 -@@ -77,7 +77,19 @@ +diff -up webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef webrtc-audio-processing-0.2/webrtc/typedefs.h +--- webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef 2016-05-12 09:08:53.885000410 -0500 ++++ webrtc-audio-processing-0.2/webrtc/typedefs.h 2016-05-12 09:12:38.006851953 -0500 +@@ -48,7 +48,19 @@ #define WEBRTC_ARCH_32_BITS #define WEBRTC_ARCH_LITTLE_ENDIAN #else @@ -12,7 +12,7 @@ diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1 +#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ +#define WEBRTC_ARCH_BIG_ENDIAN +#else -+#error __BYTE_ORDER__ isn't defined! ++#error __BYTE_ORDER__ is not defined +#endif +#if defined(__LP64__) +#define WEBRTC_ARCH_64_BITS @@ -21,4 +21,4 @@ diff -Nur webrtc-audio-processing-0.1/src/typedefs.h webrtc-audio-processing-0.1 +#endif #endif - #if defined(__SSE2__) || defined(_MSC_VER) + #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))