diff --git a/cylindrix-1.0-configure-c99.patch b/cylindrix-1.0-configure-c99.patch deleted file mode 100644 index 9572bbb..0000000 --- a/cylindrix-1.0-configure-c99.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure b/configure -index baf9b5a..487763c 100755 ---- configure -+++ configure -@@ -906,7 +906,7 @@ cat > conftest.$ac_ext << EOF - #line 907 "configure" - #include "confdefs.h" - --main(){return(0);} -+int main(){return(0);} - EOF - if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes diff --git a/cylindrix.spec b/cylindrix.spec index e49273c..e856553 100644 --- a/cylindrix.spec +++ b/cylindrix.spec @@ -1,9 +1,9 @@ Name: cylindrix Version: 1.0 -Release: 47%{?dist} +Release: 38%{?dist} Summary: A 3 degrees of freedom combat game -License: LGPL-2.0-only +License: LGPLv2 URL: http://www.hardgeus.com/cylindrix/ Source0: http://www.hardgeus.com/cylindrix/cylindrix-1.0.tar.bz2 Source1: cylindrix.desktop @@ -15,7 +15,6 @@ Patch1: cylindrix-1.0-arch-independ-file-read.patch Patch2: cylindrix-1.0-use-int-not-long.patch Patch3: cylindrix-1.0-arch-independ-file-write.patch Patch4: cylindrix-1.0-object-fopen.patch -Patch5: cylindrix-1.0-configure-c99.patch Requires: hicolor-icon-theme BuildRequires: gcc-c++ BuildRequires: allegro-devel, desktop-file-utils @@ -38,17 +37,16 @@ is worth a try. %prep %setup -q -%patch -P0 -p0 -%patch -P1 -p0 -%patch -P2 -p0 -%patch -P3 -p0 -%patch -P4 -p0 -%patch -P5 -p0 +%patch0 -p0 +%patch1 -p0 +%patch2 -p0 +%patch3 -p0 +%patch4 -p0 %build %configure -make CFLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign -fcommon -std=gnu17" LIBS="-lm" +make CFLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign -fcommon" LIBS="-lm" %install mkdir -p %{buildroot}%{_bindir} @@ -90,33 +88,6 @@ install -p -m 644 %{SOURCE2} \ %changelog -* Wed Jul 23 2025 Fedora Release Engineering - 1.0-47 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 1.0-46 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 1.0-45 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jan 24 2024 Fedora Release Engineering - 1.0-44 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 1.0-43 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 1.0-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Mar 01 2023 Gwyn Ciesla - 1.0-41 -- migrated to SPDX license - -* Thu Jan 19 2023 Fedora Release Engineering - 1.0-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Dec 22 2022 Peter Fordham - 1.0-39 -- Port configure script to C99. - * Wed Jul 20 2022 Fedora Release Engineering - 1.0-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild