Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2017-03-05 17:47:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and      /work/SRC/openSUSE:Factory/.grep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grep"

Sun Mar  5 17:47:43 2017 rev:63 rq:456801 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/grep/grep.changes        2017-02-13 
00:25:33.643518043 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2017-03-05 
17:47:44.741887972 +0100
@@ -1,0 +2,14 @@
+Sat Feb 11 07:19:36 UTC 2017 - [email protected]
+
+- Update to version 3.0:
+  * grep without -F no longer goes awry when given two or more
+    patterns that contain no special characters other than '\' and
+    also contain a subpattern like '\.' that escapes a character to
+    make it ordinary.
+  * grep no longer fails to build on PCRE versions before 8.20.
+- Cleanup spec file:
+  * Drop support for old distributions
+  * Create lang subpackage
+  * Use fdupes to replace duplicate files with symlinks
+
+-------------------------------------------------------------------

Old:
----
  grep-2.28.tar.xz
  grep-2.28.tar.xz.sig

New:
----
  grep-3.0.tar.xz
  grep-3.0.tar.xz.sig

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

Other differences:
------------------
++++++ grep.spec ++++++
--- /var/tmp/diff_new_pack.hPrzV6/_old  2017-03-05 17:47:45.453787214 +0100
+++ /var/tmp/diff_new_pack.hPrzV6/_new  2017-03-05 17:47:45.457786648 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           grep
-Version:        2.28
+Version:        3.0
 Release:        0
 Summary:        Print lines matching a pattern
 License:        GPL-3.0+
@@ -26,80 +26,66 @@
 Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:        
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
+BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
-BuildRequires:  xz
 Requires(pre):  %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
+Recommends:     %{name}-lang
 Provides:       base:%{_bindir}/grep
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} < 1120
-BuildRequires:  pcre
-%endif
 
 %description
-The grep command searches one or more input files for lines
-containing a match to a specified pattern.  By default, grep prints
-the matching lines.
+The grep command searches one or more input files for lines containing a
+match to a specified pattern.  By default, grep prints the matching lines.
+
+%lang_package
 
 %prep
 %setup -q
-%if 0%{?suse_version} < 1120
-echo 
"ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" 
>config.cache
-%endif
 
 %build
 %global optflags %{optflags} -fPIE
 export LDFLAGS="-pie"
-%if 0%{?suse_version} < 1120
-%configure -C --bindir=/bin --disable-silent-rules
-%else if 0%{?suse_version} < 1310
-%configure --disable-silent-rules
-%else
 %configure --disable-silent-rules --without-included-regex
-%endif
 make %{?_smp_mflags}
 
 %check
 make check VERBOSE=1 %{?_smp_mflags}
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
-%if 0%{?suse_version} < 1120
-install -d %{buildroot}%{_bindir}
-ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
-ln -sf ../../bin/fgrep %{buildroot}%{_bindir}/fgrep
-ln -sf ../../bin/grep  %{buildroot}%{_bindir}/grep
-%else
+%make_install
 #UsrMerge
 install -d %{buildroot}/bin
 ln -sf %{_bindir}/egrep %{buildroot}/bin/egrep
 ln -sf %{_bindir}/fgrep %{buildroot}/bin/fgrep
 ln -sf %{_bindir}/grep %{buildroot}/bin/grep
 #EndUsrMerge
-%endif
+%fdupes -s %{buildroot}
 %find_lang %{name}
 
 %post
-%install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
 
 %preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
 
-%files -f %{name}.lang
+%files
 %defattr(-,root,root)
 %doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog*
-%if 0%{?suse_version} < 1120
-/bin/*
-%else
 #UsrMerge
 /bin/egrep
 /bin/fgrep
 /bin/grep
 #EndUsrMerge
-%endif
-%{_bindir}/*
-%{_mandir}/man1/*%{ext_man}
-%{_infodir}/*%{ext_info}
+%{_bindir}/egrep
+%{_bindir}/fgrep
+%{_bindir}/grep
+%{_mandir}/man1/egrep.1%{ext_man}
+%{_mandir}/man1/fgrep.1%{ext_man}
+%{_mandir}/man1/grep.1%{ext_man}
+%{_infodir}/grep.info%{ext_info}
+
+%files lang -f %{name}.lang
+%defattr(-,root,root)
 
 %changelog

++++++ grep-2.28.tar.xz -> grep-3.0.tar.xz ++++++
++++ 4809 lines of diff (skipped)



Reply via email to