File project.diff of Package ctris

--- ctris.changes.orig
+++ ctris.changes
@@ -1,4 +1,21 @@
 -------------------------------------------------------------------
+Sun Jun  7 20:12:56 UTC 2020 - Martin Hauke <mardnh@gmx.de>
+
+- Set CFLAGS+=-fcommon
+
+-------------------------------------------------------------------
+Sat Jan 12 22:53:32 UTC 2019 - mardnh@gmx.de
+
+- Update to 0.42.1
+  * various improvements sent to me by Alecsandru Soare
+  * fixed 'game over' message
+- Fix URL
+- Drop not longer needed patches:
+  * ctris-fsf-address.patch
+  * ctris-remove_current_date.patch
+- Specfile cleanup
+
+-------------------------------------------------------------------
 Tue Sep 26 10:11:24 UTC 2017 - lars@linux-schulserver.de
 
 - update to 0.42
--- ctris.spec.orig
+++ ctris.spec
@@ -1,6 +1,8 @@
 #
 # spec file for package ctris
 #
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+#
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
 # upon. The license for this file, and modifications and additions to the
@@ -10,44 +12,37 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 Name:           ctris
-Version:        0.42
-Release:        2
-License:        GPL-2.0+
+Version:        0.42.1
+Release:        0
 Summary:        Console based tetris clone
-Url:            http://www.hackl.dhs.org/ctris/
+License:        GPL-2.0-or-later
 Group:          Amusements/Games/Action/Arcade
-Source0:        %{name}-%{version}.tar.bz2
-# PATCH-FIX-OPENSUSE Remove the current date in version output from the binary. This helps with reproducible builds.
-Patch0:         ctris-remove_current_date.patch
-# PATCH-FIX-UPSTREAM Fix Free Software Foundation address
-Patch1:         ctris-fsf-address.patch 
+URL:            https://github.com/dominikhackl/ctris
+#Git-Clone:     https://github.com/dominikhackl/ctris.git
+Source:         https://github.com/dominikhackl/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  ncurses-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-ctris is a colorized, small and flexible Tetris(TM)-clone for the console. Go play!
+A colorized, small and flexible Tetris(TM)-clone for the console.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
-make CFLAGS="%{optflags}" %{?_smp_mflags}
+make CFLAGS="%{optflags} -fcommon" %{?_smp_mflags}
 
 %install
-%make_install BINDIR="%{?buildroot}%{_bindir}"
-
-%clean
-rm -rf %{buildroot};
+%make_install BINDIR="%{buildroot}%{_bindir}"
 
 %files
-%defattr (-,root,root)
-%doc AUTHORS COPYING README TODO
-%doc %{_mandir}/man6/ctris.6*
+%license COPYING
+%doc AUTHORS README TODO
+%{_mandir}/man6/ctris.6%{?ext_man}
 %{_bindir}/ctris
 
 %changelog
openSUSE Build Service is sponsored by