diff --git a/a52dec-0.7.4-rpath64.patch b/a52dec-0.7.4-rpath64.patch new file mode 100644 index 0000000..e8466ee --- /dev/null +++ b/a52dec-0.7.4-rpath64.patch @@ -0,0 +1,22 @@ +--- a52dec-0.7.4/configure~ 2002-07-28 06:50:42.000000000 +0300 ++++ a52dec-0.7.4/configure 2006-02-16 23:03:07.000000000 +0200 +@@ -5839,7 +5839,7 @@ + shlibpath_overrides_runpath=unknown + version_type=none + dynamic_linker="$host_os ld.so" +-sys_lib_dlsearch_path_spec="/lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + + case $host_os in +--- a52dec-0.7.4/aclocal.m4~ 2002-07-28 06:50:38.000000000 +0300 ++++ a52dec-0.7.4/aclocal.m4 2006-02-16 23:02:38.000000000 +0200 +@@ -2141,7 +2141,7 @@ + shlibpath_overrides_runpath=unknown + version_type=none + dynamic_linker="$host_os ld.so" +-sys_lib_dlsearch_path_spec="/lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + + case $host_os in diff --git a/a52dec-configure-optflags.patch b/a52dec-configure-optflags.patch index c655579..a0b8463 100644 --- a/a52dec-configure-optflags.patch +++ b/a52dec-configure-optflags.patch @@ -1,8 +1,8 @@ ---- ./configure.in~ 2002-07-28 06:50:42.000000000 +0300 -+++ ./configure.in 2003-04-13 17:20:53.000000000 +0300 -@@ -33,13 +33,13 @@ - dnl arch-specific flags - case "$host" in +--- ./configure~ 2002-07-28 06:50:42.000000000 +0300 ++++ ./configure 2003-04-13 17:20:53.000000000 +0300 +@@ -2857,13 +2857,13 @@ + + case "$host" in i?86-* | k?-*) - case "$host" in - i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";; @@ -18,6 +18,6 @@ +# i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";; +# k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";; +# esac - AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; - sparc-* | sparc64-*) - OPT_CFLAGS="$CFLAGS -mtune=ultrasparc" + echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5 + echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6 + SAVE_CFLAGS="$CFLAGS" diff --git a/a52dec.spec b/a52dec.spec index 992dd4e..9b79178 100644 --- a/a52dec.spec +++ b/a52dec.spec @@ -1,16 +1,15 @@ Summary: Small test program for liba52 Name: a52dec Version: 0.7.4 -Release: 52%{?dist} -License: GPL-2.0-only +Release: 37%{?dist} +License: GPLv2 URL: http://liba52.sourceforge.net Source0: %{url}/files/%{name}-%{version}.tar.gz Patch0: a52dec-configure-optflags.patch +Patch1: a52dec-0.7.4-rpath64.patch Patch2: liba52-silence.patch -BuildRequires: autoconf automake libtool BuildRequires: gcc -BuildRequires: make Requires: liba52%{?_isa} = %{version}-%{release} #Multilib transition @@ -48,10 +47,8 @@ developing applications that use liba52-devel. %prep %autosetup -p1 -sed -i -e 's/-prefer-non-pic/-prefer-pic/' liba52/configure.incl - -# regenerate autotools -autoreconf -fiv +sed -i -e 's/-prefer-non-pic/-prefer-pic/' \ + configure liba52/configure.incl # Convert to utf-8 for file in AUTHORS; do @@ -92,52 +89,6 @@ done %changelog -* Fri Jan 16 2026 Fedora Release Engineering - 0.7.4-52 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Wed Jul 23 2025 Fedora Release Engineering - 0.7.4-51 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 0.7.4-50 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 0.7.4-49 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 0.7.4-48 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 0.7.4-47 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 0.7.4-46 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jan 18 2023 Fedora Release Engineering - 0.7.4-45 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Nov 30 2022 Peter Fordham - 0.7.4-44 -- Port configure script to C99 - -* Wed Jul 20 2022 Fedora Release Engineering - 0.7.4-43 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jan 19 2022 Fedora Release Engineering - 0.7.4-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.7.4-41 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon Jan 25 2021 Fedora Release Engineering - 0.7.4-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Fri Jul 31 2020 Fedora Release Engineering - 0.7.4-39 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.7.4-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - * Tue Jan 28 2020 Fedora Release Engineering - 0.7.4-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild