diff --git a/ularn.spec b/ularn.spec index 4174d00..d4d5b1a 100644 --- a/ularn.spec +++ b/ularn.spec @@ -1,6 +1,6 @@ Name: ularn Version: 1.5p4 -Release: 49%{?dist} +Release: 44%{?dist} Summary: Simple roguelike game License: GPL-1.0-or-later @@ -36,15 +36,12 @@ sed -e 's#@bindir@#%{_bindir}#' \ -e 's#@datadir@#%{_datadir}#' \ -e 's#@var@#%{_var}#' < %{SOURCE1} > config.sh chmod +x config.h.SH -%patch -P0 -p1 -%patch -P1 -p1 -%patch -P2 -p1 -%patch -P3 -p1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build -# This package requires C89 compatibility mode (bug 2155503). -%global build_type_safety_c 0 - # Keep track of where we are. Some of the configuration scripts change # the current working directory. builddir=`pwd` @@ -52,7 +49,7 @@ builddir=`pwd` ${builddir}/Makefile.u.SH cd ${builddir} mv Makefile.u Makefile -CC="gcc $RPM_OPT_FLAGS -fcommon -std=gnu17" make %{?_smp_mflags} +CC="gcc $RPM_OPT_FLAGS -fcommon -std=gnu89" make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT @@ -76,21 +73,6 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/app %license GPL %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 1.5p4-49 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.5p4-48 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 1.5p4-47 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.5p4-46 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Aug 31 2023 Florian Weimer - 1.5p4-45 -- Set build_type_safety_c to 0 (#2155503) - * Sat Jul 22 2023 Fedora Release Engineering - 1.5p4-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild