diff --git a/uqm.spec b/uqm.spec index bea4ab5..8825baa 100644 --- a/uqm.spec +++ b/uqm.spec @@ -1,6 +1,6 @@ Name: uqm Version: 0.7.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: The Ur-Quan Masters, a port of the classic game Star Control II Group: Amusements/Games @@ -44,6 +44,15 @@ version of Star Control II, with their permission and encouragement. find -type d -name CVS -exec rm -rf {} ';' %patch0 -p0 +#rename internal strings.h file to fix FTBFS. +cd src/uqm/comm/ +for d in */ ; do + cd $d + mv strings.h ustrings.h + cd .. +done +find . -type f -name '*.c' | xargs sed -i s/strings.h/ustrings.h/g +find . -type f -name '*.h' | xargs sed -i s/STRINGS/USTRINGS/g %build echo INPUT_install_sharedir_VALUE=%{_datadir} > config.state @@ -131,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jan 23 2018 Gwyn Ciesla - 0.7.0-15 +- Rename internal strings.h to fix FTBFS. + * Thu Aug 03 2017 Fedora Release Engineering - 0.7.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild