Hello community,

here is the log from the commit of package fortune for openSUSE:Factory checked 
in at 2012-02-08 15:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fortune (Old)
 and      /work/SRC/openSUSE:Factory/.fortune.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fortune", Maintainer is "pu...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fortune/fortune.changes  2011-10-04 
18:09:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fortune.new/fortune.changes     2012-02-08 
15:37:44.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb  7 11:27:27 UTC 2012 - co...@suse.com
+
+- let's treat debian as upstream, they actually cared for the
+  actual fortunes - our last change is 10 years old
+
+-------------------------------------------------------------------

Old:
----
  fortune-1.0-filepermissions.patch
  fortune-decl.patch
  fortune-fix-missing-closedir.patch
  fortune-fixfree.patch
  fortune-ia64.patch
  fortune.dif
  fortune.tar.bz2

New:
----
  fortune-mod_1.99.1-4.diff.gz
  fortune-mod_1.99.1.orig.tar.gz
  move-debian-suse.diff

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

Other differences:
------------------
++++++ fortune.spec ++++++
--- /var/tmp/diff_new_pack.wkgMj3/_old  2012-02-08 15:37:45.000000000 +0100
+++ /var/tmp/diff_new_pack.wkgMj3/_new  2012-02-08 15:37:45.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fortune
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,23 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Url:            ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/
 
 Name:           fortune
+Version:        1.99.1
+Release:        0
+Summary:        Random Saying
 License:        BSD-3-Clause
 Group:          Amusements/Toys/Other
-Version:        1.0
-Release:        996
-Summary:        Random Saying
-Source:         ftp://ftp.jurix.org/pub/jurix/source/games/fortune.tar.bz2
-Patch:          fortune.dif
-Patch1:         fortune-ia64.patch
-Patch2:         %{name}-%{version}-filepermissions.patch
-Patch3:         fortune-decl.patch
-Patch4:         fortune-fix-missing-closedir.patch
-Patch5:         fortune-fixfree.patch
+# let's treat debian as upstream, they take a lot of care
+Source:         
http://ftp.de.debian.org/debian/pool/main/f/fortune-mod/fortune-mod_%{version}.orig.tar.gz
+Patch0:         
http://ftp.de.debian.org/debian/pool/main/f/fortune-mod/fortune-mod_1.99.1-4.diff.gz
+# suse specifics
+Patch1:         move-debian-suse.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  recode-devel
 
 %description
 Fortune displays a random text string from a set of files in a certain
@@ -41,30 +39,22 @@
 uncomment the respective lines in the user's .profile.
 
 %prep
-%setup -n fortune
-%patch
-%patch1
-%patch2
-%patch3
-%patch4 -p1
-%patch5 -p1
+%setup  -n %name-mod-%version
+%patch0 -p1
+%patch1 -p1
 
 %build
 make all %{?_smp_mflags} CC="%__cc"
 
 %install
-mkdir -p "$RPM_BUILD_ROOT"/usr/bin "$RPM_BUILD_ROOT"/usr/sbin
-mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man8
 make prefix="$RPM_BUILD_ROOT" install
 
 %files
 %defattr(-,root,root)
 %doc README Notes
-%doc %{_mandir}/man6/fortune.6.gz
-%doc %{_mandir}/man8/strfile.8.gz
-/usr/bin/fortune
-/usr/sbin/strfile
-/usr/sbin/unstr
+%{_mandir}/man1/*
+%{_mandir}/man6/*
+%{_bindir}/*
 /usr/share/fortune
 
 %changelog

++++++ fortune-mod_1.99.1-4.diff.gz ++++++
++++ 23180 lines (skipped)

++++++ move-debian-suse.diff ++++++
Index: fortune-mod-1.99.1/Makefile
===================================================================
--- fortune-mod-1.99.1.orig/Makefile    2004-03-05 14:29:56.000000000 +0100
+++ fortune-mod-1.99.1/Makefile 2012-02-07 12:13:40.581513907 +0100
@@ -3,15 +3,15 @@
 #
 
 # Where does the fortune program go?
-FORTDIR=$(prefix)/usr/games
+FORTDIR=$(prefix)/usr/bin
 # Where do the data files (fortunes, or cookies) go?
-COOKIEDIR=$(prefix)/usr/share/games/fortunes
+COOKIEDIR=$(prefix)/usr/share/fortune
 # Offensive ones?
 OCOOKIEDIR=$(COOKIEDIR)/off
 # The ones with html tags?
 WCOOKIEDIR=$(COOKIEDIR)/html
 # Where do local data files go?
-LOCALDIR=$(prefix)/usr/local/share/games/fortunes
+LOCALDIR=$(prefix)/usr/local/share/fortune
 # Offensive ones?
 LOCALODIR=$(LOCALDIR)/off
 # With HTML tags?
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to