From c18af5d262f018d32f1e8e72cc508d063e0d4ff3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 11 Jan 2018 16:55:33 +0100 Subject: [PATCH 01/36] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- liquidwar.spec | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 2c18f5e..25920ab 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.4 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Multiplayer wargame with liquid armies Group: Amusements/Games License: GPLv2+ @@ -117,22 +117,12 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi -%postun -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi - %pre server user_uid=`id -u %{name} 2>/dev/null` @@ -176,6 +166,9 @@ fi %changelog +* Thu Jan 11 2018 Igor Gnatenko - 5.6.4-27 +- Remove obsolete scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 5.6.4-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From b29bb0c2000a70ff351ab1cce6cf0381952bdaa3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 23:59:22 +0000 Subject: [PATCH 02/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 25920ab..af7d2bc 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.4 -Release: 27%{?dist} +Release: 28%{?dist} Summary: Multiplayer wargame with liquid armies Group: Amusements/Games License: GPLv2+ @@ -166,6 +166,9 @@ fi %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 5.6.4-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jan 11 2018 Igor Gnatenko - 5.6.4-27 - Remove obsolete scriptlets From 2880b26b85a3d512ef540ccb4831aed461abf55f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 13 Feb 2018 23:45:38 +0100 Subject: [PATCH 03/36] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- liquidwar.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index af7d2bc..9b4e068 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -12,7 +12,6 @@ Source3: liquidwar.logrotate Source4: liquidwar-server.service Patch0: liquidwar-5.6.4-srv-overflow.patch Patch1: liquidwar-printf.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo BuildRequires: systemd BuildRequires: desktop-file-utils From b4ad9f902a48f6c6c50799d903c92c203babc4ff Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:19:21 +0100 Subject: [PATCH 04/36] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- liquidwar.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 9b4e068..c8c5eca 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -110,9 +110,6 @@ install -p -D -m 644 %{SOURCE3} \ $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/%{name}-server -%clean -rm -rf $RPM_BUILD_ROOT - %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : From 83477a651d01ece2bbf1cb681510597ad8a26a58 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:48 +0200 Subject: [PATCH 05/36] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- liquidwar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/liquidwar.spec b/liquidwar.spec index c8c5eca..5c09de2 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -12,6 +12,7 @@ Source3: liquidwar.logrotate Source4: liquidwar-server.service Patch0: liquidwar-5.6.4-srv-overflow.patch Patch1: liquidwar-printf.patch +BuildRequires: gcc BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo BuildRequires: systemd BuildRequires: desktop-file-utils From d93c37958bbf9fe1aedbb0fd36d74db39b376169 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 01:49:52 -0500 Subject: [PATCH 06/36] Remove needless use of %defattr --- liquidwar.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 5c09de2..9ef190b 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -139,7 +139,6 @@ fi %systemd_postun_with_restart liquidwar-server.service %files -%defattr(-,root,root,-) %doc COPYING README %{_bindir}/%{name} %{_bindir}/%{name}-mapgen @@ -151,7 +150,6 @@ fi %{_datadir}/icons/hicolor/*/apps/%{name}.xpm %files doc -%defattr(-,root,root,-) %doc liquidwardocs/* %files server From 2a17695fa08c32ee064f35193a2a05be0f154ce1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 09:14:49 +0000 Subject: [PATCH 07/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 9ef190b..398fdec 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.4 -Release: 28%{?dist} +Release: 29%{?dist} Summary: Multiplayer wargame with liquid armies Group: Amusements/Games License: GPLv2+ @@ -161,6 +161,9 @@ fi %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 5.6.4-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 5.6.4-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From f6cad8d86f25a38f35b744d560e664dee902dd84 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:39:06 +0100 Subject: [PATCH 08/36] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- liquidwar.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 398fdec..039e0eb 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -17,8 +17,6 @@ BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo BuildRequires: systemd BuildRequires: desktop-file-utils Requires: hicolor-icon-theme -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %description Liquid War is a unique multiplayer wargame. You control an army of liquid @@ -110,17 +108,6 @@ install -p -D -m 644 %{SOURCE2} \ install -p -D -m 644 %{SOURCE3} \ $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/%{name}-server - - -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - - %pre server user_uid=`id -u %{name} 2>/dev/null` if [ x"$user_uid" = x ] ; then From ab2d30fdbc0040be7c4f780423f28fe5f991f61c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:52 +0100 Subject: [PATCH 09/36] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- liquidwar.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 039e0eb..ca96dd3 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -3,7 +3,6 @@ Name: liquidwar Version: 5.6.4 Release: 29%{?dist} Summary: Multiplayer wargame with liquid armies -Group: Amusements/Games License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz @@ -27,7 +26,6 @@ support. %package doc Summary: Documentation for the LiquidWar game in additional formats -Group: Documentation Requires: %{name} = %{version}-%{release} %description doc @@ -37,7 +35,6 @@ format. %package server Summary: Network game server for the LiquidWar game -Group: Amusements/Games Requires: %{name} = %{version}-%{release} Requires(pre): /usr/sbin/useradd From 6ee8f62bc02ede4ed6c98538908ab60fce9167f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 08:50:22 +0000 Subject: [PATCH 10/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index ca96dd3..4901d0a 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.4 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -145,6 +145,9 @@ fi %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 5.6.4-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 5.6.4-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From f2777d00e022536be953d22d9ffa2510d8612046 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 22 Feb 2019 10:19:47 -0600 Subject: [PATCH 11/36] 5.6.5 --- .gitignore | 1 + liquidwar.spec | 19 +++++++++++-------- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 4e04d62..75e4646 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ liquidwar-5.6.4.tar.gz +/liquidwar-5.6.5.tar.gz diff --git a/liquidwar.spec b/liquidwar.spec index 4901d0a..5c602e0 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar -Version: 5.6.4 -Release: 30%{?dist} +Version: 5.6.5 +Release: 1%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -9,12 +9,12 @@ Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{v Source2: liquidwar.sysconfig Source3: liquidwar.logrotate Source4: liquidwar-server.service -Patch0: liquidwar-5.6.4-srv-overflow.patch -Patch1: liquidwar-printf.patch +#Patch0: liquidwar-5.6.4-srv-overflow.patch +#Patch1: liquidwar-printf.patch BuildRequires: gcc BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo BuildRequires: systemd -BuildRequires: desktop-file-utils +BuildRequires: desktop-file-utils texlive-dvips Requires: hicolor-icon-theme %description @@ -45,8 +45,8 @@ This package contains the server for hosting network LiquidWar games. %prep %setup -q -%patch0 -p0 -b .overflow -%patch1 -p0 -b .printf +#%patch0 -p0 -b .overflow +#%patch1 -p0 -b .printf # don't strip the binaries please sed -i 's/install\(\s\+-c\)\?\s\+-s/install/g' Makefile.in @@ -123,7 +123,7 @@ fi %systemd_postun_with_restart liquidwar-server.service %files -%doc COPYING README +%doc COPYING README* %{_bindir}/%{name} %{_bindir}/%{name}-mapgen %{_datadir}/%{name} @@ -145,6 +145,9 @@ fi %changelog +* Fri Feb 22 2019 Gwyn Ciesla - 5.6.5-1 +- 5.6.5 + * Fri Feb 01 2019 Fedora Release Engineering - 5.6.4-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index e98542f..79c25f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6917dd1026e6685404ffbd086f8ba374 liquidwar-5.6.4.tar.gz +SHA512 (liquidwar-5.6.5.tar.gz) = 15dc2cacd1f3b00f8dcac4318cbaf5c713f2d0e111392d14dd56eec7ae97a64af1487a11038dc108743baf3c995e9136100d56331fadc4cf19dc5702d5051a25 From 8f36261f677b4b9a92d4e880f7ae5f339de668dd Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 22 Feb 2019 11:57:49 -0600 Subject: [PATCH 12/36] BR fix --- liquidwar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 5c602e0..69448a8 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -14,7 +14,7 @@ Source4: liquidwar-server.service BuildRequires: gcc BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo BuildRequires: systemd -BuildRequires: desktop-file-utils texlive-dvips +BuildRequires: desktop-file-utils texlive-dvips texlive-metafont Requires: hicolor-icon-theme %description From 5c8ed9049fd4de48767aab095bdbb65a60edf4dc Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 22 Feb 2019 13:36:53 -0600 Subject: [PATCH 13/36] More BR fixes. --- liquidwar.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 69448a8..6c12384 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -13,8 +13,8 @@ Source4: liquidwar-server.service #Patch1: liquidwar-printf.patch BuildRequires: gcc BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo -BuildRequires: systemd -BuildRequires: desktop-file-utils texlive-dvips texlive-metafont +BuildRequires: systemd texlive-kpathsea +BuildRequires: desktop-file-utils texlive-dvips texlive-metafont texlive-mfware Requires: hicolor-icon-theme %description From d98596ab255bb7a389564c022d152699b7b31ddf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 15:01:26 +0000 Subject: [PATCH 14/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 6c12384..af0816c 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -145,6 +145,9 @@ fi %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 5.6.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 22 2019 Gwyn Ciesla - 5.6.5-1 - 5.6.5 From a67e636924e12ace2b177688621b3229fdf0ee6b Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 1 Aug 2019 12:54:43 -0500 Subject: [PATCH 15/36] Fix FTBFS. --- liquidwar-5.6.5-python3.patch | 232 ++++++++++++++++++++++++++++++++++ liquidwar.spec | 22 ++-- 2 files changed, 245 insertions(+), 9 deletions(-) create mode 100644 liquidwar-5.6.5-python3.patch diff --git a/liquidwar-5.6.5-python3.patch b/liquidwar-5.6.5-python3.patch new file mode 100644 index 0000000..e4324c6 --- /dev/null +++ b/liquidwar-5.6.5-python3.patch @@ -0,0 +1,232 @@ +--- doc/makedoc.py~ 2018-12-23 13:04:36.000000000 -0600 ++++ doc/makedoc.py 2019-08-01 09:55:36.138861280 -0500 +@@ -366,7 +366,7 @@ + self.write("\n\\end{verbatim}\n") + def translate(self,data,tag): + result=data +- result=format_email_and_url(result) ++ result=format_email_and_url(result) + if (tag!="code"): + result=format_tex(result) + return result +--- doc/makedoc.py~ 2019-08-01 09:57:30.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:01:16.624513293 -0500 +@@ -405,7 +405,7 @@ + self.write("\n") + def translate(self,data,tag): + result=data +- result=format_email_and_url(result) ++ result=format_email_and_url(result) + result=string.replace(result,"\\","\\\\") + result=string.replace(result,".","\.") + result=string.replace(result,"-","\-") +--- doc/makedoc.py~ 2019-08-01 10:05:15.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:16:35.106574773 -0500 +@@ -460,7 +460,7 @@ + self.write("\n") + def translate(self,data,tag): + result=data +- result=format_email_and_url(result) ++ result=format_email_and_url(result) + if (tag=="code"): + result=" "*self.indent+\ + string.replace(result,"\n","\n"+" "*self.indent) +--- doc/makedoc.py~ 2019-08-01 10:16:46.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:21:42.795258329 -0500 +@@ -505,7 +505,7 @@ + self.write("\n@end example\n") + def translate(self,data,tag): + result=data +- result=format_email_and_url(result) ++ result=format_email_and_url(result) + + if (tag!="code"): + result=remove_duplicate_blanks(result) +--- doc/makedoc.py~ 2019-08-01 10:22:09.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:27:51.419879128 -0500 +@@ -548,7 +548,7 @@ + self.write("\n") + def translate(self,data,tag): + result=data +- result=format_email_and_url(result) ++ result=format_email_and_url(result) + + if (tag=="code"): + result=format_uwc_code(result) +--- doc/makedoc.py~ 2019-08-01 10:28:32.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:34:09.146489785 -0500 +@@ -208,7 +208,7 @@ + if tag=="code": + self.start_code() + def endElement(self,tag): +- data=string.strip(self.charbuf) ++ data=self.charbuf.strip + if (data!=""): + self.write(self.translate(data,self.stack[-1])) + self.charbuf="" +--- doc/makedoc.py~ 2019-08-01 10:34:27.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 10:39:02.739184332 -0500 +@@ -61,7 +61,7 @@ + return result + + def format_email_and_url(text): +- result=text ++ result=str(text) + + email=re.compile('"([\w\-\.]+@[\w\-\.]+)"') + result=email.sub(r'\1',result); +--- doc/makedoc.py~ 2019-08-01 10:54:49.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 11:05:05.757487736 -0500 +@@ -16,14 +16,14 @@ + def remove_duplicate_blanks(text): + result=text + +- result=string.replace(result,"\t"," ") +- result=string.replace(result,"\n"," ") ++ result=result.replace("\t"," ") ++ result=result.replace("\n"," ") + + if (result!=""): + temp="" + while temp!=result: + temp=result +- result=string.replace(result," "," ") ++ result=result.replace(" "," ") + + return result + +@@ -74,11 +74,11 @@ + def format_html(text): + result=text + +- result=string.replace(result,"<","ufoot_html_lt") +- result=string.replace(result,">","ufoot_html_gt") +- result=string.replace(result,"&","&") +- result=string.replace(result,"ufoot_html_lt","<") +- result=string.replace(result,"ufoot_html_gt",">") ++ result=result.replace("<","ufoot_html_lt") ++ result=result.replace(">","ufoot_html_gt") ++ result=result.replace("&","&") ++ result=result.replace("ufoot_html_lt","<") ++ result=result.replace("ufoot_html_gt",">") + + # Uncomment this to make mailing list adresses look like "xxx at xxx" + # instead of "xxx@xxx". This can prevent spammers from harvesting +@@ -97,31 +97,31 @@ + def format_tex(text): + result=text + +- result=string.replace(result,"\\","$\\backslash$") +- result=string.replace(result,"_","\\_") +- result=string.replace(result,"#","\\#") +- result=string.replace(result,"%","\\%") +- result=string.replace(result,"}","\\}") +- result=string.replace(result,"<","$<$") +- result=string.replace(result,">","$>$") +- result=string.replace(result,"~","$\\tilde{}$") ++ result=result.replace("\\","$\\backslash$") ++ result=result.replace("_","\\_") ++ result=result.replace("#","\\#") ++ result=result.replace("%","\\%") ++ result=result.replace("}","\\}") ++ result=result.replace("<","$<$") ++ result=result.replace(">","$>$") ++ result=result.replace("~","$\\tilde{}$") + + return result + + def format_texi(text): + result=text + +- result=string.replace(result,"@","@@") +- result=string.replace(result,"}","@}") +- result=string.replace(result,"{","@{") ++ result=result.replace("@","@@") ++ result=result.replace("}","@}") ++ result=result.replace("{","@{") + + return result + + def format_uwc(text): + result=text + +- result=string.replace(result,"]","]") +- result=string.replace(result,"[","[[") ++ result=result.replace("]","]") ++ result=result.replace("[","[[") + + return result + +@@ -139,8 +139,8 @@ + result=text + + result=format_uwc(result) +- result=string.replace(result,"\n"," ") +- result=string.replace(result,"\r"," ") ++ result=result.replace("\n"," ") ++ result=result.replace("\r"," ") + result=remove_duplicate_blanks(result) + + return result +--- doc/makedoc.py~ 2019-08-01 11:05:37.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 11:10:12.624131362 -0500 +@@ -567,7 +567,7 @@ + parser.setContentHandler(handler) + parser.parse(src_file) + dst_code=handler.translated +- dst_file.write(dst_code.encode("iso-8859-1")) ++ dst_file.write(str(dst_code.encode("iso-8859-1"))) + src_file.close() + dst_file.close() + +--- doc/makedoc.py~ 2019-08-01 11:15:25.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 11:20:48.654373076 -0500 +@@ -463,7 +463,7 @@ + result=format_email_and_url(result) + if (tag=="code"): + result=" "*self.indent+\ +- string.replace(result,"\n","\n"+" "*self.indent) ++ result.replace("\n","\n"+" "*self.indent) + else: + result=format_text(result,self.indent,80) + if (tag=="elem"): +--- doc/makedoc.py~ 2019-08-01 11:21:07.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 11:25:15.772051577 -0500 +@@ -406,11 +406,11 @@ + def translate(self,data,tag): + result=data + result=format_email_and_url(result) +- result=string.replace(result,"\\","\\\\") +- result=string.replace(result,".","\.") +- result=string.replace(result,"-","\-") ++ result=result.replace("\\","\\\\") ++ result=result.replace(".","\.") ++ result=result.replace("-","\-") + if (tag=="code"): +- result=string.replace(result,"\n","\n.br\n") ++ result=result.replace("\n","\n.br\n") + else: + result=remove_duplicate_blanks(result) + return result +@@ -602,8 +602,8 @@ + run_parser(handler,txt_file,xml_file) + + def make_texi(texi_file,xml_file): +- node=string.replace(xml_file,".xml","") +- node=string.replace(node,"xml/","") ++ node=xml_file.replace(".xml","") ++ node=node.replace("xml/","") + parser=xml.sax.make_parser() + handler=XMLToTexi(node) + run_parser(handler,texi_file,xml_file) +--- doc/makedoc.py~ 2019-08-01 11:25:43.000000000 -0500 ++++ doc/makedoc.py 2019-08-01 11:28:49.603782321 -0500 +@@ -72,7 +72,7 @@ + return result + + def format_html(text): +- result=text ++ result=str(text) + + result=result.replace("<","ufoot_html_lt") + result=result.replace(">","ufoot_html_gt") diff --git a/liquidwar.spec b/liquidwar.spec index af0816c..4c36089 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -9,12 +9,11 @@ Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{v Source2: liquidwar.sysconfig Source3: liquidwar.logrotate Source4: liquidwar-server.service -#Patch0: liquidwar-5.6.4-srv-overflow.patch -#Patch1: liquidwar-printf.patch +Patch0: liquidwar-5.6.5-python3.patch BuildRequires: gcc -BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo -BuildRequires: systemd texlive-kpathsea -BuildRequires: desktop-file-utils texlive-dvips texlive-metafont texlive-mfware +BuildRequires: allegro-devel allegro-tools python3-devel +BuildRequires: systemd +BuildRequires: desktop-file-utils Requires: hicolor-icon-theme %description @@ -45,8 +44,7 @@ This package contains the server for hosting network LiquidWar games. %prep %setup -q -#%patch0 -p0 -b .overflow -#%patch1 -p0 -b .printf +%patch0 -p0 # don't strip the binaries please sed -i 's/install\(\s\+-c\)\?\s\+-s/install/g' Makefile.in @@ -59,12 +57,16 @@ done %build %configure --disable-target-opt \ + --disable-doc-pdf \ + --disable-doc-ps \ + --disable-doc-info \ %ifnarch %{ix86} --disable-asm \ %endif LDFLAGS="%{__global_ldflags}" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$LDFLAGS -lm" +PYTHON="%{__python3}" MAKE_FLAGS="DEBUG_FLAGS= GAMEDIR=%{_bindir} DATADIR=%{_datadir}/%{name}" # to show to compile flags with out MAKE_FLAGS @@ -79,7 +81,6 @@ gzip -f doc/info/%{name}.info %install -rm -rf $RPM_BUILD_ROOT make install_nolink DESTDIR=$RPM_BUILD_ROOT GAMEDIR=%{_bindir} \ DATADIR=%{_datadir}/%{name} mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} liquidwardocs @@ -145,6 +146,9 @@ fi %changelog +* Thu Aug 01 2019 Gwyn Ciesla - 5.6.5-3 +- Fix FTBTS. + * Thu Jul 25 2019 Fedora Release Engineering - 5.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 8af681157d4da753de3798f8ff97fad53068bba5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 11:06:47 +0000 Subject: [PATCH 16/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 4c36089..e3a1b7c 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -146,6 +146,9 @@ fi %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 5.6.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Gwyn Ciesla - 5.6.5-3 - Fix FTBTS. From 27fca082e549c5e809904989cb7383c505de8b41 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 6 Feb 2020 13:37:43 -0600 Subject: [PATCH 17/36] Fix FTBFS. --- liquidwar.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index e3a1b7c..76d835b 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -64,7 +64,7 @@ done --disable-asm \ %endif LDFLAGS="%{__global_ldflags}" -CFLAGS="$RPM_OPT_FLAGS" +CFLAGS="$RPM_OPT_FLAGS -fcommon" LDFLAGS="$LDFLAGS -lm" PYTHON="%{__python3}" @@ -124,7 +124,8 @@ fi %systemd_postun_with_restart liquidwar-server.service %files -%doc COPYING README* +%license COPYING +%doc README* %{_bindir}/%{name} %{_bindir}/%{name}-mapgen %{_datadir}/%{name} @@ -146,6 +147,9 @@ fi %changelog +* Thu Feb 06 2020 Gwyn Ciesla - 5.6.5-5 +- Fix FTBFS. + * Wed Jan 29 2020 Fedora Release Engineering - 5.6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 50bae4f646a5ec3e59cb831761185f9e3eb69453 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 06:09:41 +0000 Subject: [PATCH 18/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 76d835b..d279604 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -147,6 +147,9 @@ fi %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 5.6.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Feb 06 2020 Gwyn Ciesla - 5.6.5-5 - Fix FTBFS. From 3b18c76a5104c21a70ec1c5d00cc60cd0689bad4 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 5 Jan 2021 03:17:48 +0000 Subject: [PATCH 19/36] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- liquidwar.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/liquidwar.spec b/liquidwar.spec index d279604..c145a63 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -14,6 +14,7 @@ BuildRequires: gcc BuildRequires: allegro-devel allegro-tools python3-devel BuildRequires: systemd BuildRequires: desktop-file-utils +BuildRequires: make Requires: hicolor-icon-theme %description From 26513179caf9ff21186ecfa09b4a51cdd5d45a16 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 18:34:14 +0000 Subject: [PATCH 20/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index c145a63..383ec7b 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 5.6.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 5.6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From a57b73de0e9e54a5d899fe74e829c7877c63cae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:13:32 +0100 Subject: [PATCH 21/36] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- liquidwar.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 383ec7b..9d7adea 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,10 @@ fi %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 5.6.5-8 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Tue Jan 26 2021 Fedora Release Engineering - 5.6.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 8f17598209ad422e9afccf3a43d41e13cd5ca8c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 13:00:41 +0000 Subject: [PATCH 22/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 9d7adea..4091962 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 5.6.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 5.6.5-8 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From 11678f6ee352153bc75581bd9ee6c4cde80e3e4f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 17:54:59 +0000 Subject: [PATCH 23/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 4091962..8bc2862 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 5.6.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 5.6.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 21e46b17bc2231ba0b897eea8e20226831788c59 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 19:41:40 +0000 Subject: [PATCH 24/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 8bc2862..fdc54f9 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 5.6.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 5.6.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From fff6a273c8dcf89284167c3d803610cb9c4e1c20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 18:06:39 +0000 Subject: [PATCH 25/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index fdc54f9..6b056e9 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Multiplayer wargame with liquid armies License: GPLv2+ URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 5.6.5-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 5.6.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 76dfb2d4545ebee3569754a057077bd0cadeeb35 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 1 Mar 2023 08:38:08 -0600 Subject: [PATCH 26/36] migrated to SPDX license --- liquidwar.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index 6b056e9..884dadc 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,9 +1,9 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Multiplayer wargame with liquid armies -License: GPLv2+ +License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz Source2: liquidwar.sysconfig @@ -148,6 +148,9 @@ fi %changelog +* Wed Mar 01 2023 Gwyn Ciesla - 5.6.5-13 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 5.6.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 2795dea6fb1f3ad648534ec3b98d10b28c0461db Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 12:51:48 +0000 Subject: [PATCH 27/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 884dadc..4f9e8a7 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 5.6.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Mar 01 2023 Gwyn Ciesla - 5.6.5-13 - migrated to SPDX license From ddff9c50840823275a0b9fa0ecffe262022c441d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 06:01:55 +0000 Subject: [PATCH 28/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 4f9e8a7..9b7af82 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 5.6.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 5.6.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From ad7ab330a93d624a0f5e7bf45da1554992333135 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 04:24:40 +0000 Subject: [PATCH 29/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 9b7af82..d68bee6 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 5.6.5-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 5.6.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c561225029122c4691314b04140582c70c8d4d00 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:47 +0200 Subject: [PATCH 30/36] Eliminate use of obsolete %patchN syntax (#2283636) --- liquidwar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index d68bee6..ca8d4ce 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -45,7 +45,7 @@ This package contains the server for hosting network LiquidWar games. %prep %setup -q -%patch0 -p0 +%patch -P0 -p0 # don't strip the binaries please sed -i 's/install\(\s\+-c\)\?\s\+-s/install/g' Makefile.in From 6bc94efa09f35aeaad2fa44c8b300a2a0ca76d2d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 15:48:05 +0000 Subject: [PATCH 31/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index ca8d4ce..bccdc2e 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 5.6.5-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 5.6.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b868e8f5dc5626ee830e6fa6cf57e351ceb48fde Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 15:45:20 +0000 Subject: [PATCH 32/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index bccdc2e..1a128ad 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -148,6 +148,9 @@ fi %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 5.6.5-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 5.6.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 74268e5e31a0ed2fd3047f4042b0517dcad9d573 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 31 Jan 2025 11:42:13 -0600 Subject: [PATCH 33/36] Fix FTBFS --- liquidwar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 1a128ad..ff841dd 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -65,7 +65,7 @@ done --disable-asm \ %endif LDFLAGS="%{__global_ldflags}" -CFLAGS="$RPM_OPT_FLAGS -fcommon" +CFLAGS="$RPM_OPT_FLAGS -fcommon -std=gnu17" LDFLAGS="$LDFLAGS -lm" PYTHON="%{__python3}" From 5857e8f949b376f89d0a4e4f9ff55034244d6693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 15:35:25 +0100 Subject: [PATCH 34/36] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- liquidwar.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index ff841dd..a363375 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -36,7 +36,6 @@ format. %package server Summary: Network game server for the LiquidWar game Requires: %{name} = %{version}-%{release} -Requires(pre): /usr/sbin/useradd %description server This package contains the server for hosting network LiquidWar games. @@ -55,6 +54,11 @@ for i in de dk fr; do mv $i README.$i done +# Create a sysusers.d config file +cat >liquidwar.sysusers.conf </dev/null` if [ x"$user_uid" = x ] ; then - /usr/sbin/useradd -r -s /sbin/nologin -d %{_datadir}/%{name} -M \ - -c 'LiquidWar Server' \ - %{name} >/dev/null || : fi %post server @@ -145,9 +148,13 @@ fi %{_unitdir}/liquidwar-server.service %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-server +%{_sysusersdir}/liquidwar.conf %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 5.6.5-19 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Fri Jan 17 2025 Fedora Release Engineering - 5.6.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2745cbf43167e0aba2daf765cda03e1ceb8663c9 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 19 Mar 2025 11:48:10 -0500 Subject: [PATCH 35/36] Fix FTI --- liquidwar.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/liquidwar.spec b/liquidwar.spec index a363375..273ba35 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,7 +1,6 @@ -%define _hardened_build 1 Name: liquidwar Version: 5.6.5 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -113,11 +112,6 @@ install -p -D -m 644 %{SOURCE3} \ install -m0644 -D liquidwar.sysusers.conf %{buildroot}%{_sysusersdir}/liquidwar.conf -%pre server -user_uid=`id -u %{name} 2>/dev/null` -if [ x"$user_uid" = x ] ; then -fi - %post server %systemd_post liquidwar-server.service @@ -152,6 +146,9 @@ fi %changelog +* Wed Mar 19 2025 Gwyn Ciesla - 5.6.5-20 +- Fix FTI + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 5.6.5-19 - Add sysusers.d config file to allow rpm to create users/groups automatically From 0b1567126ed0fa6b162092a566352d0cce04e472 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 20:45:07 +0000 Subject: [PATCH 36/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- liquidwar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/liquidwar.spec b/liquidwar.spec index 273ba35..7d55e8b 100644 --- a/liquidwar.spec +++ b/liquidwar.spec @@ -1,6 +1,6 @@ Name: liquidwar Version: 5.6.5 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Multiplayer wargame with liquid armies License: GPL-2.0-or-later URL: http://www.ufoot.org/liquidwar/v5 @@ -146,6 +146,9 @@ install -m0644 -D liquidwar.sysusers.conf %{buildroot}%{_sysusersdir}/liquidwar. %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 5.6.5-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed Mar 19 2025 Gwyn Ciesla - 5.6.5-20 - Fix FTI