Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package aalib for openSUSE:Factory checked 
in at 2021-06-13 23:05:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aalib (Old)
 and      /work/SRC/openSUSE:Factory/.aalib.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aalib"

Sun Jun 13 23:05:29 2021 rev:32 rq:898323 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/aalib/aalib.changes      2015-10-24 
18:55:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.aalib.new.32437/aalib.changes   2021-06-13 
23:05:34.407606768 +0200
@@ -1,0 +2,6 @@
+Mon Jun  7 11:16:33 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Drop --with-pic (no effect with --disable-static).
+- Run fdupes, and trim old rpm constructs.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ aalib.spec ++++++
--- /var/tmp/diff_new_pack.qlL2sz/_old  2021-06-13 23:05:34.919607693 +0200
+++ /var/tmp/diff_new_pack.qlL2sz/_new  2021-06-13 23:05:34.923607700 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package aalib
 #
-# 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/
 #
 
 
@@ -26,7 +26,7 @@
 %else
 BuildRequires:  gpm
 %endif
-Url:            http://aa-project.sourceforge.net/
+URL:            http://aa-project.sourceforge.net/
 # bug437293
 %ifarch ppc64
 Obsoletes:      aalib-64bit
@@ -35,8 +35,8 @@
 Version:        1.4.0
 Release:        0
 Summary:        An ASCII Art Library
-License:        GPL-2.0+
-Group:          System/Libraries
+License:        GPL-2.0-or-later
+Group:          Development/Libraries/C and C++
 Source:         
http://sourceforge.net/projects/aa-project/files/aa-lib/1.4rc5/%{name}-1.4rc5.tar.gz
 Source1:        
http://downloads.sourceforge.net/project/aa-project/aavga/1.0rc1/aavga-1.0rc1.tar.gz
 Source2:        
http://downloads.sourceforge.net/project/aa-project/aview/1.3.0rc1/aview-1.3.0rc1.tar.gz
@@ -55,7 +55,7 @@
 Patch12:        aalib-1.4.0-fdleak.patch
 Patch13:        aalib-ncurses-6.0-accessors.patch
 PreReq:         %install_info_prereq
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
 
 %description
 AA-lib is a low level gfx library. AA-lib does not require a graphics
@@ -108,35 +108,36 @@
 %build
 %{?suse_update_config}
 autoreconf -fiv
-export CFLAGS="$RPM_OPT_FLAGS -fstrength-reduce -ffast-math 
-fomit-frame-pointer"
+export CFLAGS="%{optflags} -fstrength-reduce -ffast-math -fomit-frame-pointer"
 %ifarch %ix86
 export CFLAGS="$CFLAGS -falign-loops=2 -falign-jumps=2 -falign-functions=2"
 %endif
-%configure --disable-static --with-pic --with-slang-driver=no --with-ncurses
-make %{?_smp_mflags}
+%configure --disable-static --with-slang-driver=no --with-ncurses
+%make_build
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
-cp -av ANNOUNCE AUTHORS COPYING INSTALL NEWS README 
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
+%make_install
+mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
+cp -av ANNOUNCE AUTHORS COPYING INSTALL NEWS README 
%{buildroot}/%{_defaultdocdir}/%{name}
 cd ../aview-1.3.0
-PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH \
-   CFLAGS="$RPM_OPT_FLAGS -I$RPM_BUILD_ROOT/usr/include" \
-   LDFLAGS="-L$RPM_BUILD_ROOT%{_libdir}" \
-   LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}" \
+PATH=%{buildroot}/%{_bindir}:$PATH \
+   CFLAGS="%{optflags} -I%{buildroot}/usr/include" \
+   LDFLAGS="-L%{buildroot}/%{_libdir}" \
+   LD_LIBRARY_PATH="%{buildroot}/%{_libdir}" \
    ./configure --prefix=/usr --mandir=%{_mandir}
 make
-make DESTDIR=$RPM_BUILD_ROOT install
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/aview
-cp -av README* ANNOUNCE COPYING TODO *.lsm 
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/aview
+%make_install
+mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aview
+cp -av README* ANNOUNCE COPYING TODO *.lsm 
%{buildroot}/%{_defaultdocdir}/%{name}/aview
 cd -
 cd aavga-1.0 
-make CFLAGS="$RPM_OPT_FLAGS"
-cp -av aavga.so $RPM_BUILD_ROOT%_libdir
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/aavga
-cp -av aavga.lsm COPYING README $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/aavga
+make CFLAGS="%{optflags}"
+cp -av aavga.so %{buildroot}/%_libdir
+mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aavga
+cp -av aavga.lsm COPYING README %{buildroot}/%{_defaultdocdir}/%{name}/aavga
 cd ..
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.la
+%fdupes %{buildroot}/%{_prefix}
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -149,7 +150,6 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %docdir %{_defaultdocdir}/%{name}
 %{_defaultdocdir}/%{name}
 %_bindir/aafire
@@ -166,13 +166,11 @@
 %{_mandir}/man1/asciiview.1.gz
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/libaa.so.1.0.4
 %_libdir/libaa.so.1
 %_libdir/aavga.so
 
 %files devel
-%defattr(-,root,root)
 %_includedir/aalib.h
 %_libdir/libaa.so
 %_datadir/aclocal/aalib.m4

Reply via email to