From 7b00001dd618ae22dc937fa4a135232fd0d30429 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mar 06 2007 22:23:02 +0000 Subject: - Remove BR: libtermcap-devel - Change includes of to --- diff --git a/bsd-games-2.17-nolibtermcap.patch b/bsd-games-2.17-nolibtermcap.patch new file mode 100644 index 0000000..68f7d55 --- /dev/null +++ b/bsd-games-2.17-nolibtermcap.patch @@ -0,0 +1,55 @@ +--- tetris/screen.c.orig 2007-03-06 12:17:34.000000000 -0800 ++++ tetris/screen.c 2007-03-06 12:17:44.000000000 -0800 +@@ -46,7 +46,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + +--- tetris/scores.c.orig 2007-03-06 12:15:08.000000000 -0800 ++++ tetris/scores.c 2007-03-06 12:15:18.000000000 -0800 +@@ -51,7 +51,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include "pathnames.h" +--- backgammon/common_source/back.h.orig 2007-03-06 12:26:39.000000000 -0800 ++++ backgammon/common_source/back.h 2007-03-06 12:26:49.000000000 -0800 +@@ -40,7 +40,7 @@ + #include + #include + #include +-#include ++#include + #include + + #define rnum(r) (random()%r) +--- hack/hack.tty.c.orig 2007-03-06 14:12:00.000000000 -0800 ++++ hack/hack.tty.c 2007-03-06 14:12:11.000000000 -0800 +@@ -106,7 +106,7 @@ + */ + + #include +-#include ++#include + #include "hack.h" + #include "extern.h" + +--- hack/hack.termcap.c.orig 2007-03-06 14:14:48.000000000 -0800 ++++ hack/hack.termcap.c 2007-03-06 14:14:58.000000000 -0800 +@@ -69,7 +69,7 @@ + + #include + #include +-#include ++#include + #include + #include + #include "hack.h" diff --git a/bsd-games-2.17-ospeed.patch b/bsd-games-2.17-ospeed.patch index b42cc47..df29935 100644 --- a/bsd-games-2.17-ospeed.patch +++ b/bsd-games-2.17-ospeed.patch @@ -5,7 +5,7 @@ diff -Naur bsd-games-2.17/backgammon/backgammon/main.c bsd-games-2.17.new/backga */ #include -+#include ++#include #ifndef lint __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ The Regents of the University of California. All rights reserved.\n"); @@ -25,7 +25,7 @@ diff -Naur bsd-games-2.17/backgammon/teachgammon/teach.c bsd-games-2.17.new/back */ #include -+#include ++#include #ifndef lint __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ The Regents of the University of California. All rights reserved.\n"); diff --git a/bsd-games.spec b/bsd-games.spec index a858973..c5d87d2 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -1,7 +1,7 @@ Summary: Collection of text-based games Name: bsd-games Version: 2.17 -Release: 17%{?dist} +Release: 18%{?dist} License: BSD Group: Amusements/Games URL: ftp://metalab.unc.edu/pub/Linux/games/ @@ -22,8 +22,9 @@ Patch7: bsd-games-2.17-phantasiagid.patch Patch8: bsd-games-2.17-monop-rename.patch Patch9: bsd-games-2.17-banner-rename.patch Patch10: bsd-games-2.17-stdio-c++.patch +Patch11: bsd-games-2.17-nolibtermcap.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: ncurses-devel libtermcap-devel words flex bison +BuildRequires: ncurses-devel words flex bison Requires(Pre): /usr/sbin/groupadd %description @@ -47,6 +48,7 @@ install -p -m 755 %{SOURCE1} . %patch8 -p1 -b .monop.rename %patch9 -p0 -b .banner.rename %patch10 -p0 -b .cplusplus +%patch11 -p0 -b .nolibtermcap %build # We include a templatized configuration settings file to set @@ -162,6 +164,10 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS COPYING ChangeLog ChangeLog.0 THANKS YEAR2000 README.hunt trek/USD.doc/trek.me %changelog +* Tue Mar 6 2007 Wart 2.17-18 +- Remove BR: libtermcap-devel +- Change includes of to + * Tue Jan 30 2007 Wart 2.17-17 - Patch to add extern "C" block to prevent c++ compiler error.