Hello community,

here is the log from the commit of package sed for openSUSE:Factory checked in 
at 2017-01-29 10:29:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sed (Old)
 and      /work/SRC/openSUSE:Factory/.sed.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sed"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sed/sed.changes  2015-10-14 16:34:09.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.sed.new/sed.changes     2017-02-03 
20:01:39.775451811 +0100
@@ -1,0 +2,23 @@
+Wed Jan  4 21:36:07 UTC 2017 - mplus...@suse.com
+
+- Update to version 4.3:
+  * sed's regular expression matching is now typically 10x faster
+  * sed now uses unlocked-io where available, resulting in faster
+    I/O operations.
+  * lots of bugfixes (for detailed list see NEWS)
+- Drop patches (all upstreamed):
+  * sed-fix-overlapping-address-ranges.patch
+  * sed-follow-symlinks-hyphen.patch
+  * sed-follow-symlinks-stdin.patch
+  * sed-temp-delete.patch
+  * sed-y-NUL-RHS.patch
+- Spec file cleanups
+  * run spec-cleaner
+  * use macro for configure
+  * execute tests with produced binary as well
+  * use url for signature as well
+  * use https for download links
+  * use xs compressed tarballl
+  * make building verbose
+
+-------------------------------------------------------------------

Old:
----
  sed-4.2.2.tar.bz2
  sed-4.2.2.tar.bz2.sig
  sed-fix-overlapping-address-ranges.patch
  sed-follow-symlinks-hyphen.patch
  sed-follow-symlinks-stdin.patch
  sed-temp-delete.patch
  sed-y-NUL-RHS.patch

New:
----
  sed-4.3.tar.xz
  sed-4.3.tar.xz.sig

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

Other differences:
------------------
++++++ sed.spec ++++++
--- /var/tmp/diff_new_pack.vH3oQ9/_old  2017-02-03 20:01:40.427360051 +0100
+++ /var/tmp/diff_new_pack.vH3oQ9/_new  2017-02-03 20:01:40.431359489 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sed
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,37 +17,23 @@
 
 
 Name:           sed
-Version:        4.2.2
+Version:        4.3
 Release:        0
 Summary:        A Stream-Oriented Non-Interactive Text Editor
 License:        GPL-3.0+
 Group:          System/Base
-Url:            http://www.gnu.org/software/sed/
-Source:         ftp://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.bz2
-Source1:        %{name}-%{version}.tar.bz2.sig
+Url:            https://www.gnu.org/software/sed/
+Source0:        https://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz
+Source1:        https://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz.sig
 Source2:        %{name}.keyring
 # PATCH-FIX-SLE sed-dont_close_twice.patch bnc@880817 tc...@suse.cz -- Fix 
double close.
-Patch:          sed-dont_close_twice.patch
-# PATCH-FIX-UPSTREAM sed-follow-symlinks-hyphen.patch bnc933029 gnu20796 
sbra...@suse.com -- Make behavior of "sed --follow-symlinks -" consistent again.
-Patch1:         sed-follow-symlinks-hyphen.patch
-# PATCH-FIX-UPSTREAM sed-follow-symlinks-stdin.patch bnc933029 gnu20795 
sbra...@suse.com -- Fix --follow-symlinks on stdin.
-Patch2:         sed-follow-symlinks-stdin.patch
-# PATCH-FIX-UPSTREAM sed-y-NUL-RHS.patch sbra...@suse.com -- Fix y command in 
the RHS of a y/LHS/RHS/ transliteration.
-Patch3:         sed-y-NUL-RHS.patch
-# PATCH-FIX-UPSTREAM sed-fix-overlapping-address-ranges.patch sbra...@suse.com 
-- Fix mishandling of overlapping address ranges.
-Patch4:         sed-fix-overlapping-address-ranges.patch
-# PATCH-FIX-UPSTREAM sed-temp-delete.patch sbra...@suse.com -- Fix fail to 
remove a temporary file.
-Patch5:         sed-temp-delete.patch
-# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run 
one-shot check by "gpg-offline --verify --package=sed sed-*.sig".
-%if 0%{?VERIFY_SIG}
-BuildRequires:  gpg-offline
-%endif
+Patch0:         sed-dont_close_twice.patch
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel
-PreReq:         %install_info_prereq
-Provides:       base:/bin/sed
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
 Recommends:     %{name}-lang
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Provides:       base:/bin/sed
 
 %description
 Sed takes text input, performs one or more operations on it, and
@@ -56,59 +42,54 @@
 occurrences of a string within a file.
 
 %lang_package
+
 %prep
-%if 0%{?VERIFY_SIG}
-%gpg_verify %{S:1}
-%endif
 %setup -q
-%patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+%patch0
 
 %build
 %define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
-export CFLAGS="%{optflags} %warn_flags -fPIE"
+export CFLAGS="%{optflags} %{warn_flags} -fPIE"
 export LDFLAGS="-pie"
-./configure    --prefix=/usr \
-                   --mandir=%{_mandir} \
-                   --infodir=%{_infodir} \
-                   --without-included-regex \
-                   %{_target_cpu}-suse-linux
-%if %do_profiling
-  make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_generate
-  make %{?_smp_mflags} check
+%configure \
+  --without-included-regex
+%if %{do_profiling}
+  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" V=1
+  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" check
   make clean
-  make %{?_smp_mflags} CFLAGS="$CFLAGS "%cflags_profile_feedback
+  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_feedback}" V=1
 %else
-  make %{?_smp_mflags}
+  make %{?_smp_mflags} V=1
 %endif
 make %{?_smp_mflags} check
 
 %install
-%makeinstall
+%make_install
 #UsrMerge
 mkdir -p %{buildroot}/bin
 ln -s %{_bindir}/sed %{buildroot}/bin/sed
 #EndUserMerge
 %find_lang %{name}
 
+%check
+# run check once more with final binaries
+make %{?_smp_mflags} check
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
+
+%preun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
+
 %files
 %defattr(-, root, root)
+%doc AUTHORS BUGS COPYING* NEWS README* THANKS
 /bin/sed
 %{_bindir}/sed
-%doc AUTHORS BUGS COPYING* NEWS README* THANKS
-%doc %{_infodir}/sed.info*.gz
-%doc %{_mandir}/man*/*.gz
+%{_mandir}/man*/*%{ext_man}
+%{_infodir}/sed.info*%{ext_info}
 
 %files lang -f %{name}.lang
-
-%post
-%install_info --info-dir=%{_infodir} %{_infodir}/%name.info.gz
-
-%postun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/%name.info.gz
+%defattr(-,root,root)
 
 %changelog

++++++ sed-dont_close_twice.patch ++++++
--- /var/tmp/diff_new_pack.vH3oQ9/_old  2017-02-03 20:01:40.511348230 +0100
+++ /var/tmp/diff_new_pack.vH3oQ9/_new  2017-02-03 20:01:40.515347667 +0100
@@ -1,16 +1,16 @@
 http://lists.gnu.org/archive/html/bug-gnu-utils/2014-06/msg00000.html
 
-Index: sed-4.2.2/sed/utils.c
+Index: sed/utils.c
 ===================================================================
---- sed-4.2.2.orig/sed/utils.c
-+++ sed-4.2.2/sed/utils.c
-@@ -298,8 +298,8 @@ ck_fclose(stream)
+--- sed/utils.c.orig
++++ sed/utils.c
+@@ -252,8 +252,8 @@ ck_fclose(FILE *stream)
      {
        if (!stream || stream == cur->fp)
-       {
--        do_ck_fclose (cur->fp);
-         prev->link = cur->link;
-+        do_ck_fclose (cur->fp);
-         free(cur->name);
-         free(cur);
-       }
+         {
+-          do_ck_fclose (cur->fp);
+           prev->link = cur->link;
++          do_ck_fclose (cur->fp);
+           free(cur->name);
+           free(cur);
+         }

++++++ sed.keyring ++++++
++++ 3450 lines (skipped)
++++ between sed.keyring
++++ and /work/SRC/openSUSE:Factory/.sed.new/sed.keyring


Reply via email to