Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package aop for openSUSE:Factory checked in 
at 2021-04-24 23:08:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aop (Old)
 and      /work/SRC/openSUSE:Factory/.aop.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aop"

Sat Apr 24 23:08:31 2021 rev:2 rq:887840 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/aop/aop.changes  2015-12-09 22:12:13.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.aop.new.12324/aop.changes       2021-04-24 
23:09:48.843450881 +0200
@@ -1,0 +2,5 @@
+Sat Apr 17 18:27:48 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Fixed and cleaned up the SPEC file (at least the URL was broken)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ aop.spec ++++++
--- /var/tmp/diff_new_pack.iLc2oF/_old  2021-04-24 23:09:49.231451429 +0200
+++ /var/tmp/diff_new_pack.iLc2oF/_new  2021-04-24 23:09:49.231451429 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package aop
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,27 +20,20 @@
 Version:        0.6
 Release:        0
 Summary:        Ncurses based arcade game with only 64 lines of code
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Amusements/Games/Action/Arcade
-Url:            http://raffi.at/view/code/aop
-Source0:        http://raffi.at/code/%{name}/%{name}-%{version}.tar.gz
+URL:            https://raffi.at/view/code/aop
+Source0:        https://raffi.at/code/%{name}/%{name}-%{version}.tar.gz
 Source1:        %{name}.png
 Source2:        %{name}.desktop
 # PATCH-FIX-OPENSUSE - aop-Makefile.patch -- Fix build and installation
 Patch0:         %{name}-Makefile.patch
 # PATCH-FIX-OPENSUSE - aop-aop.c.patch-- Fix lifes and where are levels
 Patch1:         %{name}-aop.c.patch
-%if 0%{?suse_version}
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  update-desktop-files
-%endif
-%if 0%{?suse_version} < 1320
-BuildRequires:  ncurses-devel
-%else
 BuildRequires:  pkgconfig
+BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(ncurses)
-%endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Ambassador of Pain is a curses based arcade game for Linux/UNIX
@@ -52,37 +45,25 @@
 Lost lifes (0) can easily be picked up by simply drive over them.
 
 %prep
-%setup -q
-%patch0
-%patch1
+%autosetup -p0
 
 %build
-%if 0%{?suse_version} < 1320
-CFLAGS="%optflags $(ncursesw6-config --cflags)"
-LIBS="$(ncursesw6-config --libs)"
-%else
-CFLAGS="%optflags $(pkg-config ncurses --cflags)"
-LIBS="$(pkg-config ncurses --libs)"
-%endif
-
-make %{?_smp_mflags} CFLAGS="$CFLAGS" LIBS="$LIBS"
+CFLAGS="%{optflags} $(pkg-config --cflags ncurses)"
+LIBS="$(pkg-config --libs ncurses)"
+%make_build CFLAGS="$CFLAGS" LIBS="$LIBS"
 
 %install
 %make_install
 
 # install icon
-install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
+install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
 
 # install Desktop file
-install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
-
-%if 0%{?suse_version}
-    %suse_update_desktop_file %{name}
-%endif
+%suse_update_desktop_file -i %{name}
 
 %files
-%defattr(-,root,root)
-%doc COPYING README
+%doc README
+%license COPYING
 %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop

Reply via email to