Hello community,

here is the log from the commit of package ncompress for openSUSE:Factory 
checked in at 2019-03-01 20:29:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ncompress (Old)
 and      /work/SRC/openSUSE:Factory/.ncompress.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ncompress"

Fri Mar  1 20:29:14 2019 rev:5 rq:679446 version:4.2.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ncompress/ncompress.changes      2017-07-28 
09:42:15.321792182 +0200
+++ /work/SRC/openSUSE:Factory/.ncompress.new.28833/ncompress.changes   
2019-03-01 20:29:15.602013673 +0100
@@ -1,0 +2,5 @@
+Thu Dec  6 13:08:14 UTC 2018 - Martin Pluskal <[email protected]>
+
+- Really use optflags
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ncompress.spec ++++++
--- /var/tmp/diff_new_pack.3iKDzn/_old  2019-03-01 20:29:16.110013551 +0100
+++ /var/tmp/diff_new_pack.3iKDzn/_new  2019-03-01 20:29:16.118013549 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ncompress
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -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/
 #
 
 
@@ -22,7 +22,7 @@
 Summary:        LZW compression and decompression utilities
 License:        SUSE-Public-Domain
 Group:          Productivity/Archiving/Compression
-Url:            http://ncompress.sourceforge.net/
+URL:            http://ncompress.sourceforge.net/
 Source:         
https://github.com/vapier/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         %{name}-4.2.4-make.patch
 Patch1:         %{name}-4.2.4.4-lfs2.patch
@@ -34,7 +34,6 @@
 # gzip provides the uncompress tool in /usr/bin
 # we don't provide a link here as this conflicts with gzip
 Requires:       gzip
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The ncompress package contains the "compress" and "uncompress"
@@ -56,14 +55,14 @@
 %patch7 -p1
 
 %build
-export RPM_OPT_FLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
+export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
 %ifarch sparc m68k armv4l ppc s390 s390x ppc64 sparc64
 export ENDIAN=1234
 %else
 export ENDIAN=4321
 %endif
-make Makefile # avoid build time race
-make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ENDIAN="$ENDIAN"
+make %{?_smp_mflags} Makefile # avoid build time race
+make %{?_smp_mflags} ENDIAN="$ENDIAN"
 
 %install
 install -D -p -m 0755 compress \
@@ -72,9 +71,8 @@
   %{buildroot}%{_mandir}/man1/compress.1
 
 %files
-%defattr(-,root,root)
 %doc LZW.INFO README
 %{_bindir}/compress
-%{_mandir}/man1/compress.1%{ext_man}
+%{_mandir}/man1/compress.1%{?ext_man}
 
 %changelog


Reply via email to