Hello community,

here is the log from the commit of package asusfan for openSUSE:Factory checked 
in at 2020-06-23 21:06:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asusfan (Old)
 and      /work/SRC/openSUSE:Factory/.asusfan.new.2956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asusfan"

Tue Jun 23 21:06:32 2020 rev:20 rq:816554 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/asusfan/asusfan.changes  2014-10-06 
12:06:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.asusfan.new.2956/asusfan.changes        
2020-06-23 21:07:14.242354537 +0200
@@ -1,0 +2,6 @@
+Fri Jun 12 09:56:23 UTC 2020 - Martin Pluskal <mplus...@suse.com>
+
+- Fix building with gcc10
+- Spec file cleanup with spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ asusfan.spec ++++++
--- /var/tmp/diff_new_pack.f7ys4L/_old  2020-06-23 21:07:14.854356513 +0200
+++ /var/tmp/diff_new_pack.f7ys4L/_new  2020-06-23 21:07:14.858356527 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package asusfan
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,22 @@
 # 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/
 #
 
 
 Name:           asusfan
-Url:            http://www.consultmatt.co.uk/asusfan/
-BuildRequires:  automake
-BuildRequires:  pkgconfig(xproto)
 Version:        0.1
 Release:        0
 Summary:        Fan Control for Nvidia-Based ASUS Graphics Cards
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/X11/Utilities
+URL:            http://www.consultmatt.co.uk/asusfan/
 Source:         asusfan-0.1-nodocs.tar.bz2
-Patch:          asusfan-0.1.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %ix86 x86_64
+Patch0:         asusfan-0.1.patch
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(xproto)
+ExclusiveArch:  %{ix86} x86_64
 
 %description
 This command line tool allows you to control the speed of your graphics
@@ -38,24 +37,26 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
-%configure --disable-static --with-pic
-make %{?_smp_mflags}
+export CFLAGS="%{optflags} -fcommon"
+%configure \
+  --disable-static \
+  --with-pic
+%make_build
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
-/usr/bin/asusfan
-%_libdir/libasus*
+%license COPYING
+%doc AUTHORS ChangeLog INSTALL NEWS README
+%{_bindir}/asusfan
+%{_libdir}/libasus*
 
 %changelog


Reply via email to