diff --git a/a52dec-0.7.4-rpath64.patch b/a52dec-0.7.4-rpath64.patch deleted file mode 100644 index e8466ee..0000000 --- a/a52dec-0.7.4-rpath64.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- 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-c99.patch b/a52dec-configure-c99.patch deleted file mode 100644 index 0f3d11d..0000000 --- a/a52dec-configure-c99.patch +++ /dev/null @@ -1,23 +0,0 @@ -Avoid an undeclared exit function call in obscure configure check. -This improves compatibility with strict(er) C99 compilers, which may -not support implicit function declarations because they were removed -from the C language in 1999. - -Not submitted upstream as regeneration of configure with new autoconf -would fix. - -diff --git a/configure b/configure -index b81fdff..49bcfc6 100755 ---- a/configure -+++ b/configure -@@ -3850,8 +3850,8 @@ main () - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) -- exit(2); -- exit (0); -+ return 2; -+ return 0; - } - _ACEOF - rm -f conftest$ac_exeext diff --git a/a52dec-configure-optflags.patch b/a52dec-configure-optflags.patch index a0b8463..c655579 100644 --- a/a52dec-configure-optflags.patch +++ b/a52dec-configure-optflags.patch @@ -1,8 +1,8 @@ ---- ./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 +--- ./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 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 - 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" + AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; + sparc-* | sparc64-*) + OPT_CFLAGS="$CFLAGS -mtune=ultrasparc" diff --git a/a52dec.spec b/a52dec.spec index c86401c..992dd4e 100644 --- a/a52dec.spec +++ b/a52dec.spec @@ -1,15 +1,14 @@ Summary: Small test program for liba52 Name: a52dec Version: 0.7.4 -Release: 48%{?dist} +Release: 52%{?dist} License: GPL-2.0-only 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 -Patch3: a52dec-configure-c99.patch +BuildRequires: autoconf automake libtool BuildRequires: gcc BuildRequires: make @@ -49,8 +48,10 @@ developing applications that use liba52-devel. %prep %autosetup -p1 -sed -i -e 's/-prefer-non-pic/-prefer-pic/' \ - configure liba52/configure.incl +sed -i -e 's/-prefer-non-pic/-prefer-pic/' liba52/configure.incl + +# regenerate autotools +autoreconf -fiv # Convert to utf-8 for file in AUTHORS; do @@ -91,6 +92,18 @@ 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