Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mmv for openSUSE:Factory checked in 
at 2022-08-29 16:20:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mmv (Old)
 and      /work/SRC/openSUSE:Factory/.mmv.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mmv"

Mon Aug 29 16:20:22 2022 rev:19 rq:1000016 version:2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mmv/mmv.changes  2015-07-14 17:45:52.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.mmv.new.2083/mmv.changes        2022-08-29 
16:20:23.165809426 +0200
@@ -1,0 +2,10 @@
+Mon Aug 29 10:54:34 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 2.3
+  * Lift restriction that mmv could not work on directories
+    (except with -r)
+  * Remove the ability to read output back on standard input
+- Delete allow-non-ascii.patch, mmv-1.01b-include.dif,
+  mmv-1.01b-options.patch, mmv-1.01b.dif (no longer applicable)
+
+-------------------------------------------------------------------

Old:
----
  allow-non-ascii.patch
  copyright
  mmv-1.01b-include.dif
  mmv-1.01b-options.patch
  mmv-1.01b.dif
  mmv_1.01b.orig.tar.gz

New:
----
  mmv-2.3.tar.gz

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

Other differences:
------------------
++++++ mmv.spec ++++++
--- /var/tmp/diff_new_pack.cac6PE/_old  2022-08-29 16:20:23.817810742 +0200
+++ /var/tmp/diff_new_pack.cac6PE/_new  2022-08-29 16:20:23.821810750 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mmv
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,20 @@
 # 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:           mmv
-Version:        1.01b
+Version:        2.3
 Release:        0
 Summary:        Move/Copy/Append/Link Multiple Files by Wildcard Patterns
-License:        GPL-1.0+
+License:        GPL-1.0-or-later
 Group:          Productivity/File utilities
-Url:            http://packages.qa.debian.org/m/mmv.html
-Source0:        
http://ftp.debian.org/debian/pool/main/m/mmv/%{name}_%{version}.orig.tar.gz
-Source1:        
http://packages.debian.org/changelogs/pool/main/m/mmv/current/copyright
-# PATCH-FIX-OPENSUSE mmv-1.01b.dif -- Compilation and Makefile fixes
-Patch0:         mmv-1.01b.dif
-# PATCH-FIX-OPENSUSE allow-non-ascii.patch bnc#34232 ja...@exsuse.de -- Allow 
non-ASCII for the target file names
-Patch1:         allow-non-ascii.patch
-# PATCH-FIX-OPENSUSE mmv-1.01b-options.patch bnc#35289 tcr...@suse.cz -- Honor 
'--' in option list
-Patch2:         mmv-1.01b-options.patch
-# PATCH-FIX-OPENSUSE mmv-1.01b-include.dif -- Fix include files
-Patch3:         mmv-1.01b-include.dif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+URL:            https://github.com/rrthomas/mmv/
+Source:         
https://github.com/rrthomas/mmv/releases/download/v%{version}/mmv-%{version}.tar.gz
+BuildRequires:  c_compiler
+BuildRequires:  pkgconfig(bdw-gc)
 
 %description
 Mmv moves (or copies, appends, or links, as specified) each source file 
matching
@@ -45,36 +37,18 @@
 either proceeding by avoiding the offending parts or aborting.
 
 %prep
-%setup -q -n %{name}-%{version}.orig
-%patch0
-%patch1 -p 1 -b .allow-non-ascii
-%patch2
-%patch3
-cp -a %{SOURCE1} .
+%autosetup
 
 %build
-# Add LARGEFILE to CFLAGS bnc#137906
-make \
-  %{?_smp_mflags} \
-  CC="gcc" \
-  CFLAGS="%{optflags} -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+%configure --docdir="%{_defaultdocdir}/%{name}"
+%make_build
 
 %install
-install -d -m 755 %{buildroot}%{_bindir}
-install -d -m 755 %{buildroot}%{_mandir}/man1
-make "DESTDIR=%{buildroot}" install IMAN=%{buildroot}%{_mandir}
-cd %{buildroot}%{_bindir}
-ln -s mmv mad
-ln -s mmv mcp
-ln -s mmv mln
-cd %{buildroot}%{_mandir}/man1/
-ln -s mmv.1.gz mad.1.gz
-ln -s mmv.1.gz mcp.1.gz
-ln -s mmv.1.gz mln.1.gz
+%make_install
+cp -a COPYING "%{buildroot}/%{_defaultdocdir}/%{name}/"
 
 %files
-%defattr(-,root,root,-)
-%doc ANNOUNCE ARTICLE copyright
+%{_defaultdocdir}/%{name}/
 %{_bindir}/*
 %{_mandir}/man1/*
 

Reply via email to