Hello community,

here is the log from the commit of package bsd-games for openSUSE:Factory 
checked in at 2013-01-20 14:29:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bsd-games (Old)
 and      /work/SRC/openSUSE:Factory/.bsd-games.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bsd-games", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/bsd-games/bsd-games.changes      2011-10-07 
00:46:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.bsd-games.new/bsd-games.changes 2013-01-20 
14:29:52.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Jan 18 15:25:59 CET 2013 - [email protected]
+
+- dropping all permission scripts
+
+-------------------------------------------------------------------
+Wed Jan 16 20:09:07 UTC 2013 - [email protected]
+
+- run_permissions is obsolete, not supported in openSUSE > 12.2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bsd-games.spec ++++++
--- /var/tmp/diff_new_pack.w1j5eB/_old  2013-01-20 14:29:53.000000000 +0100
+++ /var/tmp/diff_new_pack.w1j5eB/_new  2013-01-20 14:29:53.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bsd-games
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,27 +18,40 @@
 
 
 Name:           bsd-games
-Url:            http://www.advogato.org/proj/bsd-games/
-BuildRequires:  bison flex gcc-c++ libopenssl-devel ncurses-devel words
-License:        BSD-3-Clause
-Group:          Amusements/Games/Other
-Provides:       bsdgames 
-Obsoletes:      bsdgames
-PreReq:         permissions
 Version:        2.17
-Release:        89
+Release:        0
 Summary:        Several Text-Mode Games
+License:        BSD-3-Clause
+Group:          Amusements/Games/Other
+Url:            http://www.advogato.org/proj/bsd-games/
 Source:         %{name}-%{version}.tar.bz2
 Source1:        %{name}-rpmlintrc
+# PATCH-FIX-UPSTREAM bsd-games-2.17.diff
 Patch0:         %{name}-%{version}.diff
+# PATCH-FIX-UPSTREAM bsd-games-2.17-inc.diff
 Patch1:         %{name}-%{version}-inc.diff
+# PATCH-FIX-UPSTREAM bsd-games-2.17-ppc64.diff
 Patch2:         %{name}-%{version}-ppc64.diff
+# PATCH-FIX-UPSTREAM bsd-games-2.17-strictaliasing.diff
 Patch3:         %{name}-%{version}-strictaliasing.diff
+# PATCH-FIX-UPSTREAM bsd-games-2.17-execl.diff
 Patch4:         %{name}-%{version}-execl.diff
+# PATCH-FIX-UPSTREAM bsd-games-2.17-codecleanup.diff
 Patch5:         %{name}-%{version}-codecleanup.diff
+# PATCH-FIX-UPSTREAM hunt-64bit.patch
 Patch7:         hunt-64bit.patch
+# PATCH-FIX-UPSTREAM bsd-games-2.17-compile.patch
 Patch8:         %{name}-%{version}-compile.patch
+# PATCH-FIX-UPSTREAM bsd-games-2.17-gcc4.3.diff
 Patch9:         %{name}-%{version}-gcc4.3.diff
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  gcc-c++
+BuildRequires:  libopenssl-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  words
+Provides:       bsdgames
+Obsoletes:      bsdgames
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -61,29 +74,29 @@
 %patch9
 
 %build
-(echo $RPM_BUILD_ROOT
+(echo %{buildroot}
 echo "fortune"
 for i in {1,2}{1,2,3,4,5}; do echo; done;              # 10 times default
 echo
 echo "n"                                               # Set owners/groups on 
installed files
 yes "") | ./configure
-make CC="%__cc" CXX="%__cxx" OPTIMIZE="$RPM_OPT_FLAGS -I/usr/include/ncurses" \
+make CC="gcc" CXX="g++" OPTIMIZE="%{optflags} -I/usr/include/ncurses" \
        dab_CXXFLAGS="-DHAVE_fgetln" %{?_smp_mflags}
 
 %install
-make INSTALL_PREFIX=$RPM_BUILD_ROOT install
-chmod -R g+w $RPM_BUILD_ROOT/var/games/*
+make INSTALL_PREFIX=%{buildroot} install
+chmod -R g+w %{buildroot}%{_localstatedir}/games/*
 # create a list of binaries to be checked externally
-: > $RPM_BUILD_ROOT/usr/share/games/sgidlist
+: > %{buildroot}%{_datadir}/games/sgidlist
 : > filelist.add
-for i in `ls $RPM_BUILD_ROOT/usr/games` ; do
+for i in `ls %{buildroot}%{_prefix}/games` ; do
     echo $i
     case $i in
         
atc|battlestar|cfscores|cribbage|phantasia|robots|sail|snake|tetris-bsd|\
        
adventure|arithmetic|backgammon|boggle|caesar|canfield|dm|fish|gomoku|hangman|\
        
hunt|huntd|mille|monop|pig|pom|ppt|primes|quiz|rain|snscore|teachgammon|\
        trek|worm|worms|wump|dab)
-       echo "/usr/games/$i" >> $RPM_BUILD_ROOT/usr/share/games/sgidlist
+       echo "/usr/games/$i" >> %{buildroot}%{_datadir}/games/sgidlist
        echo "%%verify(not mode) %%attr(0755,games,games) /usr/games/$i" >> 
filelist.add
        ;;
        *)
@@ -91,19 +104,14 @@
        ;;
     esac
 done
-rm $RPM_BUILD_ROOT/usr/share/doc/bsd-games/trek.me
-
-%post
-%run_permissions
-%verifyscript
-%verify_permissions -f /usr/share/games/sgidlist
+rm %{buildroot}%{_datadir}/doc/bsd-games/trek.me
 
 %files -f filelist.add
 %defattr(-,root,root)
 %doc AUTHORS BUGS COPYING NEWS README SECURITY THANKS TODO YEAR2000
 %doc %{_mandir}/*/*
-%attr(-,games,games) /usr/share/games/*
-%attr(-,games,games) /var/games/*
-%attr(-,games,games) /usr/share/misc/*
+%attr(-,games,games) %{_datadir}/games/*
+%attr(-,games,games) %{_localstatedir}/games/*
+%attr(-,games,games) %{_datadir}/misc/*
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to