diff --git a/ularn.spec b/ularn.spec index 2a28361..4174d00 100644 --- a/ularn.spec +++ b/ularn.spec @@ -1,9 +1,9 @@ Name: ularn Version: 1.5p4 -Release: 36%{?dist} +Release: 49%{?dist} Summary: Simple roguelike game -License: GPL+ +License: GPL-1.0-or-later URL: http://www.ularn.org Source0: http://downloads.sourceforge.net/ularn/Ularn-1.5ishPL4.tar.gz Source1: config.sh.in @@ -14,6 +14,7 @@ Patch1: ularn-euid.patch Patch2: ularn-datadir.patch Patch3: ularn-drop-setgid.patch +BuildRequires: make BuildRequires: gcc BuildRequires: ncurses-devel BuildRequires: desktop-file-utils @@ -35,12 +36,15 @@ sed -e 's#@bindir@#%{_bindir}#' \ -e 's#@datadir@#%{_datadir}#' \ -e 's#@var@#%{_var}#' < %{SOURCE1} > config.sh chmod +x config.h.SH -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1 +%patch -P3 -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` @@ -48,7 +52,7 @@ builddir=`pwd` ${builddir}/Makefile.u.SH cd ${builddir} mv Makefile.u Makefile -CC="gcc $RPM_OPT_FLAGS -fcommon" make %{?_smp_mflags} +CC="gcc $RPM_OPT_FLAGS -fcommon -std=gnu17" make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT @@ -72,6 +76,45 @@ 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 + +* Sun Mar 05 2023 Gwyn Ciesla - 1.5p4-43 +- migrated to SPDX license + +* Sat Jan 21 2023 Fedora Release Engineering - 1.5p4-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Dec 21 2022 Florian Weimer - 1.5p4-41 +- Build in C89 mode (#2155503) + +* Sat Jul 23 2022 Fedora Release Engineering - 1.5p4-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 1.5p4-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.5p4-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.5p4-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.5p4-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild