[packages/crossfire] - more python3 fixes (untested), release 4
qboosh
qboosh at pld-linux.org
Sun Mar 23 21:53:22 CET 2025
commit c97e8fe1f17013be04624c0595a299510d3e5702
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 23 21:49:28 2025 +0100
- more python3 fixes (untested), release 4
crossfire.spec | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/crossfire.spec b/crossfire.spec
index 1c8a37d..659bb3e 100644
--- a/crossfire.spec
+++ b/crossfire.spec
@@ -2,7 +2,7 @@ Summary: Multiplayer roguelike game server
Summary(pl.UTF-8): Serwer gry roguelike dla wielu graczy
Name: crossfire
Version: 1.75.0
-Release: 3
+Release: 4
License: GPL v2+
Group: X11/Applications/Games
Source0: https://downloads.sourceforge.net/crossfire/%{name}-%{version}.tar.gz
@@ -11,6 +11,7 @@ Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.logrotate
Patch0: python3.patch
+Patch1: %{name}-python3.patch
URL: https://crossfire.real-time.com/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -98,6 +99,7 @@ Wtyczka animacji dla serwera Crossfire.
%prep
%setup -q
%patch -P 0 -p1
+%patch -P 1 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
utils/cfdb_convert
@@ -146,7 +148,31 @@ fi
%attr(750,root,games) %{_bindir}/crossfire-server
%attr(755,root,games) %{_bindir}/cfdb_convert
%dir %attr(750,root,games) %{_datadir}/crossfire
-%{_datadir}/crossfire/*
+%{_datadir}/crossfire/animations
+%{_datadir}/crossfire/archetypes
+%{_datadir}/crossfire/artifacts
+%{_datadir}/crossfire/attackmess
+%{_datadir}/crossfire/bmaps.paths
+%{_datadir}/crossfire/crossfire.*
+%{_datadir}/crossfire/def_help
+%{_datadir}/crossfire/faces
+%{_datadir}/crossfire/formulae
+%{_datadir}/crossfire/image_info
+%{_datadir}/crossfire/materials
+%{_datadir}/crossfire/messages
+%{_datadir}/crossfire/races
+%{_datadir}/crossfire/smooth
+%{_datadir}/crossfire/treasures
+%{_datadir}/crossfire/adm
+%dir %{_datadir}/crossfire/help
+%{_datadir}/crossfire/help/*.en
+%lang(fr) %{_datadir}/crossfire/help/*.fr
+%dir %{_datadir}/crossfire/i18n
+%{_datadir}/crossfire/i18n/*.en
+%lang(fr) %{_datadir}/crossfire/i18n/*.fr
+%dir %{_datadir}/crossfire/wizhelp
+%{_datadir}/crossfire/wizhelp/*.en
+%lang(fr) %{_datadir}/crossfire/wizhelp/*.fr
%{_mandir}/man6/crossfire-server.6*
%dir %attr(770,root,games) %{_localstatedir}/crossfire
%dir %attr(770,root,games) %{_localstatedir}/crossfire/players
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossfire.git/commitdiff/c97e8fe1f17013be04624c0595a299510d3e5702
More information about the pld-cvs-commit
mailing list