Hello community,

here is the log from the commit of package sgrep for openSUSE:Factory checked 
in at 2020-04-16 23:03:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sgrep (Old)
 and      /work/SRC/openSUSE:Factory/.sgrep.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sgrep"

Thu Apr 16 23:03:06 2020 rev:17 rq:794464 version:1.94a

Changes:
--------
--- /work/SRC/openSUSE:Factory/sgrep/sgrep.changes      2012-03-01 
17:27:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sgrep.new.2738/sgrep.changes    2020-04-16 
23:03:10.087670212 +0200
@@ -1,0 +2,17 @@
+Thu Apr 16 06:55:57 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Update to version 1.94a:
+  * Killed nasty hash_function() bug
+    + Killed nasty postings entry bug when posting was > 0xfffffff
+  * Bumped hash table size up
+  * Newer automake & autoconf files
+- Changes for version 1.93a:
+  * Fixed a bug which caused sgrep to dump core when using SGML
+    scanner at least on Solaris platform (negative index to memory
+    mapped file)
+  * Fixed a bug which caused sgrep to  ignore '-n' command line
+    option always.
+- Drop no longer needed sgrep-no-build-date.patch
+- Use alternative source url as official one is broken
+
+-------------------------------------------------------------------

Old:
----
  sgrep-1.92a.tar.gz
  sgrep-no-build-date.patch

New:
----
  sgrep-1.94a.tar.gz

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

Other differences:
------------------
++++++ sgrep.spec ++++++
--- /var/tmp/diff_new_pack.barHCn/_old  2020-04-16 23:03:11.283671276 +0200
+++ /var/tmp/diff_new_pack.barHCn/_new  2020-04-16 23:03:11.287671280 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sgrep
 #
-# Copyright (c) 2012 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,55 +12,44 @@
 # 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:           sgrep
-Version:        1.92a
+Version:        1.94a
 Release:        0
 Summary:        Searching for Structured Patterns
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Text/Utilities
-Source:         
ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-%{version}.tar.gz
-Patch:          sgrep-sgreprc.diff
-Patch1:         sgrep-no-build-date.patch
-Url:            http://www.cs.helsinki.fi/~jjaakkol/sgrep.html
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+URL:            https://www.cs.helsinki.fi/~jjaakkol/sgrep.html
+Source:         https://fossies.org/linux/misc/old/%{name}-%{version}.tar.gz
+Patch0:         sgrep-sgreprc.diff
 
 %description
-Sgrep is like "grep" but it will also work for structured patterns. You
-can use the program to extract fragments from SGML/XML or any other
-well formed text files (including UTF-8 encoded files).
-
-%define INSTALL install -m755 -s
-%define INSTALL_SCRIPT install -m755
-%define INSTALL_DIR install -d -m755
-%define INSTALL_DATA install -m644
+Sgrep is like "grep" but it will also work for structured patterns. You can
+use the program to extract fragments from SGML/XML or any other well formed
+text files (including UTF-8 encoded files).
 
 %prep
-%setup -q
-%patch -p 1
-%patch1
+%autosetup -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-  ./configure --prefix=%{_prefix} --sysconfdir=/etc --datadir=/etc \
-              --mandir=%{_mandir}
-make
+%configure
+%make_build
 
 %install
-%{INSTALL_DIR} $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-%{INSTALL_DATA} sample.sgreprc $RPM_BUILD_ROOT/%{_sysconfdir}/sgreprc
-rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/sample.sgreprc
+%make_install
+install -Dpm 0644 sample.sgreprc \
+  %{buildroot}/%{_sysconfdir}/sgreprc
+rm %{buildroot}%{_datadir}/sample.sgreprc
 
 %files
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README sgrep.lsm
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README sgrep.lsm
 %doc sample.sgreprc
 %config %{_sysconfdir}/sgreprc
 %{_bindir}/sgrep
-%{_mandir}/*/*
+%{_mandir}/man1/sgrep.1%{?ext_man}
 
 %changelog

++++++ sgrep-1.92a.tar.gz -> sgrep-1.94a.tar.gz ++++++
++++ 13585 lines of diff (skipped)

++++++ sgrep-sgreprc.diff ++++++
--- /var/tmp/diff_new_pack.barHCn/_old  2020-04-16 23:03:11.379671362 +0200
+++ /var/tmp/diff_new_pack.barHCn/_new  2020-04-16 23:03:11.379671362 +0200
@@ -1,6 +1,8 @@
---- sgrep-1.92a/sample.sgreprc.~1~     1998-12-12 04:59:59.000000000 +0100
-+++ sgrep-1.92a/sample.sgreprc 2003-10-24 11:50:48.000000000 +0200
-@@ -33,7 +33,7 @@
+Index: sgrep-1.94a/sample.sgreprc
+===================================================================
+--- sgrep-1.94a.orig/sample.sgreprc
++++ sgrep-1.94a/sample.sgreprc
+@@ -33,7 +33,7 @@ define(UPPER,("A"or"B"or"C"or"D"or"E"or"
  # Lines
  define(LEND,( "\n" or end ))
  define(LSTART,( "\n" or start))
@@ -9,5 +11,3 @@
  # Empty lines
  define(ELINE,( LINE in concat(BLANK)))
  
-
-Diff finished at Fri Oct 24 11:50:54


Reply via email to