Hello community,

here is the log from the commit of package whohas for openSUSE:Factory checked 
in at 2018-08-24 16:59:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/whohas (Old)
 and      /work/SRC/openSUSE:Factory/.whohas.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "whohas"

Fri Aug 24 16:59:33 2018 rev:10 rq:623944 version:0.29.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/whohas/whohas.changes    2012-11-18 
20:27:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.whohas.new/whohas.changes       2018-08-24 
16:59:33.897748626 +0200
@@ -1,0 +2,35 @@
+Sun Jul  8 10:23:30 UTC 2018 - [email protected]
+
+- Update to version 0.29.1:
+  * Use less memory and improve threading (requires forks Perl
+    module).
+  * Update the documentation.
+  * Fetch multiple suites at once for Debian/Ubuntu.
+  * Improve options parsing.
+  * Add a config file to set desired distros/releases.
+  * Fix support for Gentoo, Slackware, OpenBSD, FreeBSD, Arch, AUR,
+    Fedora, Fink, openSUSE, Mandriva and Cygwin.
+- Add key to check signed tarball:
+  * whohas.keyring (Paul Wise <[email protected]>)
+- Fix wrong permissions on installed files:
+  * Add whohas-0.29.1-fix-permissions.patch.
+- Rebase improve-fetchdoc.patch.
+- Drop upstreamed patches:
+  * archlinux-url-561536.patch
+  * debian-versions.patch
+  * dont-mask-vars-560891.patch
+  * fedora-search-619873.patch
+  * gentoo-result-url-516071.patch
+  * help-param-513476.patch
+  * manpage-0.23.patch
+  * manpage-0.24.patch
+  * openbsd-cache-results-557724.patch
+  * opensuse.patch
+  * strictness-510020-510524.patch
+  * ubuntu-versions.patch
+  * whohas-fix_install.patch
+- Update information for OpenBSD and Fedora (picked from upstream):
+  * Add whohas-0.29.1-update-fedora.patch.
+  * Add whohas-0.29.1-update-openbsd.patch.
+
+-------------------------------------------------------------------

Old:
----
  archlinux-url-561536.patch
  debian-versions.patch
  dont-mask-vars-560891.patch
  fedora-search-619873.patch
  gentoo-result-url-516071.patch
  help-param-513476.patch
  manpage-0.23.patch
  manpage-0.24.patch
  openbsd-cache-results-557724.patch
  opensuse.patch
  strictness-510020-510524.patch
  ubuntu-versions.patch
  whohas-0.29.tar.gz
  whohas-fix_install.patch

New:
----
  whohas-0.29.1-fix-permissions.patch
  whohas-0.29.1-update-fedora.patch
  whohas-0.29.1-update-openbsd.patch
  whohas-0.29.1.tar.gz
  whohas-0.29.1.tar.gz.asc
  whohas.keyring

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

Other differences:
------------------
++++++ whohas.spec ++++++
--- /var/tmp/diff_new_pack.3ELcij/_old  2018-08-24 16:59:35.097750045 +0200
+++ /var/tmp/diff_new_pack.3ELcij/_new  2018-08-24 16:59:35.101750050 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package whohas
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 8/2011 open-slx GmbH <[email protected]>
 # Copyright (c) 2010 - 7/2011 Sascha Manns <[email protected]>
 #
@@ -19,46 +19,29 @@
 
 
 Name:           whohas
-Version:        0.29
+Version:        0.29.1
 Release:        0
 Summary:        Package list querying tool
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/Console
 Url:            http://www.philippwesche.org/200811/whohas/intro.html
-Source0:        
http://www.philippwesche.org/200811/%{name}/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE whohas-fix_install.patch [email protected] -- Added a Makefile 
for Installation.
-Patch0:         whohas-fix_install.patch
-# PATCH-FIX-UPSTREAM manpage-0.23.patch [email protected] -- Add the 
--shallow option to the syntax line in the manpage
-Patch1:         manpage-0.23.patch
-# PATCH-FIX-UPSTREAM manpage-0.24.patch [email protected] -- Update 
the version number in the manual from 0.23 to 0.24
-Patch2:         manpage-0.24.patch
-# PATCH-FIX-UPSTREAM ubuntu-versions.patch deb#670675 
[email protected] -- Show all versions of a package from Ubuntu, not 
just the earliest
-Patch3:         ubuntu-versions.patch
-# PATCH-FIX-UPSTREAM debian-versions.patch deb#655497 
[email protected] -- Providing output for all Debian distributions
-Patch4:         debian-versions.patch
-# PATCH-FIX-UPSTREAM help-param-513476.patch deb#513476 
[email protected] -- Handle the --help parameter instead of assuming it 
is a package name
-Patch5:         help-param-513476.patch
-# PATCH-FIX-UPSTREAM strictness-510020-510524.patch deb#510020 deb#510524 
[email protected] -- Add a --strict option to output only exactly 
matching package names
-Patch6:         strictness-510020-510524.patch
-# PATCH-FIX-OPENSUSE gentoo-result-url-516071.patch deb#516071 
[email protected] -- Return a more official link to the gentoo package, 
where more useful information can be found
-Patch7:         gentoo-result-url-516071.patch
+Source0:        
https://github.com/whohas/whohas/releases/download/%{version}/%{name}-%{version}.tar.gz
+Source1:        
https://github.com/whohas/whohas/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
+Source3:        whohas.keyring
 # PATCH-FIX-OPENSUSE improve-fetchdoc.patch [email protected] -- Shift 
some of the burden in sub fetchdoc onto the LWP::UserAgent class. This also 
allows us to process XML files without breaking the first line
-Patch8:         improve-fetchdoc.patch
-# PATCH-FIX-UPSTREAM openbsd-cache-results-557724.patch deb#557724 
[email protected] -- For OpenBSD, use @name to loop through a cached 
list, not @repos which is never populated
-Patch9:         openbsd-cache-results-557724.patch
-# PATCH-FIX-UPSTREAM dont-mask-vars-560891.patch deb#560891 
[email protected] -- Remove a double-declaration of @dates
-Patch10:        dont-mask-vars-560891.patch
-# PATCH-FIX-OPENSUSE archlinux-url-561536.patch deb#561536 
[email protected] -- Update search URL for Arch repositories
-Patch11:        archlinux-url-561536.patch
-# PATCH-FIX-OPENSUSE fedora-search-619873.patch deb#619873 
[email protected] -- Support Fedora's package listing
-Patch12:        fedora-search-619873.patch
-# PATCH-FIX-UPSTREAM opensuse.patch [email protected] -- Fix openSUSE 
packages search
-Patch13:        opensuse.patch
+Patch0:         improve-fetchdoc.patch
+# PATCH-FIX-UPSTREAM whohas-0.29.1-fix-permissions.patch -- Fix wrong 
executable bits set on docs 
+Patch1:         whohas-0.29.1-fix-permissions.patch
+# PATCH-FIX-UPSTREAM whohas-0.29.1-update-fedora.patch -- Update information 
for Fedora (picked from upstream)
+Patch2:         whohas-0.29.1-update-fedora.patch
+# PATCH-FIX-UPSTREAM whohas-0.29.1-update-openbsd.patch -- Update information 
for OpenBSD (picked from upstream)
+Patch3:         whohas-0.29.1-update-openbsd.patch
 Requires:       perl = %{perl_version}
-Requires:       perl-XML-Simple
-Requires:       perl-libwww-perl
+Requires:       perl(LWP::UserAgent)
+Requires:       perl(Thread::Queue)
+Requires:       perl(forks)
+Recommends:     perl(Sys::CPU)
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 whohas is a command line tool that allows querying several package lists at
@@ -74,37 +57,20 @@
    release of a distribution (not implemented for all distributions).
 
 %prep
-%setup -q
-%patch0
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-
-# Fix permissions (fix for rpmlint errors "spurious-executable-perm" and 
"executable-docs")
-chmod 755 html_assets
-chmod 644 Changelog LICENSE intro.html intro.txt html_assets/*
+%autosetup -p1
 
 %build
+# Nothing to do.
 
 %install
-make DESTDIR=%{buildroot} install
+%make_install PREFIX=%{_prefix} docdir=%{_docdir}/%{name}
 
 %files
-%defattr(-,root,root,-)
-%doc Changelog LICENSE intro.html intro.txt html_assets/
+%license LICENSE
 %{_bindir}/%{name}
-%doc %{_mandir}/man1/%{name}.1%{ext_man}
-%doc %dir %{_mandir}/de/man1
-%doc %{_mandir}/de/man1/%{name}.1%{ext_man}
+%{_docdir}/%{name}
+%{_mandir}/man1/%{name}.1%{?ext_man}
+%dir %{_mandir}/de/man1
+%{_mandir}/de/man1/%{name}.1%{?ext_man}
 
 %changelog

++++++ improve-fetchdoc.patch ++++++
--- /var/tmp/diff_new_pack.3ELcij/_old  2018-08-24 16:59:35.113750064 +0200
+++ /var/tmp/diff_new_pack.3ELcij/_new  2018-08-24 16:59:35.117750069 +0200
@@ -6,8 +6,8 @@
 ## DP: This also allows us to process XML files without breaking the first line
 
 @DPATCH@
---- a/program/whohas
-+++ b/program/whohas
+--- a/whohas
++++ b/whohas
 @@ -1146,33 +1146,16 @@ sub fetchdoc {
  
        my $ua = LWP::UserAgent->new;
@@ -30,7 +30,7 @@
 -                      last;
 -              } elsif ($count > 4) {   # loop termination condition
 -                      unless ($silent == 1) {
--                              print ("Tried fetching \"$url\" five times. 
Giving up.\n");
+-                              warn ("Tried fetching \"$url\" five times. 
Giving up.\n");
 -                      }
 -                      return ();
 -                      last;

++++++ whohas-0.29.1-fix-permissions.patch ++++++
Date: 2018-07-08 18:04:58 +0200
Subject: Fix permissions of installed files
Upstream: not submitted yet

---
diff -up whohas-0.29.1/Makefile.orig whohas-0.29.1/Makefile
--- whohas-0.29.1/Makefile.orig 2018-07-08 12:54:06.343758323 +0200
+++ whohas-0.29.1/Makefile      2018-07-08 12:54:26.703757319 +0200
@@ -22,7 +22,7 @@ install:
        $(INSTALL) -d $(DESTDIR)$(docdir)
        $(INSTALL) -m644 intro.html $(DESTDIR)$(docdir)
        $(INSTALL) -d $(DESTDIR)$(docdir)/html_assets
-       $(INSTALL) -m755 html_assets/* $(DESTDIR)$(docdir)/html_assets
+       $(INSTALL) -m644 html_assets/* $(DESTDIR)$(docdir)/html_assets
        $(INSTALL) -m644 README $(DESTDIR)$(docdir)
        $(INSTALL) -m644 NEWS $(DESTDIR)$(docdir)
        $(INSTALL) -m644 TODO $(DESTDIR)$(docdir)
++++++ whohas-0.29.1-update-fedora.patch ++++++
>From ef340f01aa8a1803ec9d832ffc94eb96a463ef7d Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Wed, 9 Dec 2015 15:08:36 +0800
Subject: [PATCH] Update Fedora version numbers

---
 whohas | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/whohas b/whohas
index 5bb6905..72d410a 100755
--- a/whohas
+++ b/whohas
@@ -54,8 +54,8 @@ unless (-d $confdir) {
 my @columns = (11,38,18,4,10,25);
 my $cols = 6;
 
-our $fedora_min_release                 =  20                  ;
-our $fedora_max_release                 =  21                  ;
+our $fedora_min_release                 =  21                  ;
+our $fedora_max_release                 =  23                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
 our $openbsd_release            = "5.7"                ;
>From aa15ef453d298fdfba342c78abc71d5261cc38f0 Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Sun, 5 Jun 2016 23:29:14 +0800
Subject: [PATCH] Fedora 21 is now archived

See: https://dl.fedoraproject.org/pub/fedora/linux/releases/21/README
---
 whohas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/whohas b/whohas
index 72d410a..9e54fe3 100755
--- a/whohas
+++ b/whohas
@@ -54,7 +54,7 @@ unless (-d $confdir) {
 my @columns = (11,38,18,4,10,25);
 my $cols = 6;
 
-our $fedora_min_release                 =  21                  ;
+our $fedora_min_release                 =  22                  ;
 our $fedora_max_release                 =  23                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
>From f3d30b85695192fcce8937d49043fc130e947688 Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Fri, 21 Oct 2016 10:06:23 +0800
Subject: [PATCH] Sync Fedora release numbers with the upstream repository

---
 whohas    | 2 +-
 whohas.cf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/whohas b/whohas
index 9e54fe3..fb1fb36 100755
--- a/whohas
+++ b/whohas
@@ -55,7 +55,7 @@ my @columns = (11,38,18,4,10,25);
 my $cols = 6;
 
 our $fedora_min_release                 =  22                  ;
-our $fedora_max_release                 =  23                  ;
+our $fedora_max_release                 =  24                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
 our $openbsd_release            = "5.7"                ;
diff --git a/whohas.cf b/whohas.cf
index e6f0031..d5b701e 100644
--- a/whohas.cf
+++ b/whohas.cf
@@ -9,7 +9,7 @@
 # Versioning information.
 #
 
-#$fedora_min_release = 25;
+#$fedora_min_release = 22;
 #$fedora_max_release = 24;
 #$debian_current_release = 'all';
 #$ubuntu_current_release = 'all';
>From 922662c74368625ad0ab3fdd5ac64d8542a3f2cc Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Mon, 2 Oct 2017 14:56:00 +0800
Subject: [PATCH] Sync Fedora release numbers with the upstream repository

---
 whohas    | 4 ++--
 whohas.cf | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/whohas b/whohas
index 0057745..4203e55 100755
--- a/whohas
+++ b/whohas
@@ -54,8 +54,8 @@ unless (-d $confdir) {
 my @columns = (11,38,18,4,10,25);
 my $cols = 6;
 
-our $fedora_min_release                 =  22                  ;
-our $fedora_max_release                 =  24                  ;
+our $fedora_min_release                 =  25                  ;
+our $fedora_max_release                 =  26                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
 our $openbsd_release            = "5.7"                ;
diff --git a/whohas.cf b/whohas.cf
index b88dead..3022dff 100644
--- a/whohas.cf
+++ b/whohas.cf
@@ -9,8 +9,8 @@
 # Versioning information.
 #
 
-#$fedora_min_release = 22;
-#$fedora_max_release = 24;
+#$fedora_min_release = 25;
+#$fedora_max_release = 26;
 #$debian_current_release = 'all';
 #$ubuntu_current_release = 'all';
 #$openbsd_release = '5.7';
>From c67cc4bc2ca375430c93e65f3455a487fc0f10fa Mon Sep 17 00:00:00 2001
From: Stephen Kitt <[email protected]>
Date: Mon, 15 Jan 2018 08:41:13 +0100
Subject: [PATCH] Update Fedora releases for FC27

---
 whohas    | 4 ++--
 whohas.cf | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/whohas b/whohas
index 4203e55..11c59f0 100755
--- a/whohas
+++ b/whohas
@@ -54,8 +54,8 @@ unless (-d $confdir) {
 my @columns = (11,38,18,4,10,25);
 my $cols = 6;
 
-our $fedora_min_release                 =  25                  ;
-our $fedora_max_release                 =  26                  ;
+our $fedora_min_release                 =  26                  ;
+our $fedora_max_release                 =  27                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
 our $openbsd_release            = "5.7"                ;
diff --git a/whohas.cf b/whohas.cf
index 3022dff..9bff7f3 100644
--- a/whohas.cf
+++ b/whohas.cf
@@ -9,8 +9,8 @@
 # Versioning information.
 #
 
-#$fedora_min_release = 25;
-#$fedora_max_release = 26;
+#$fedora_min_release = 26;
+#$fedora_max_release = 27;
 #$debian_current_release = 'all';
 #$ubuntu_current_release = 'all';
 #$openbsd_release = '5.7';
>From 9a60f0d595e2b3551236902f3e0749fee8dcb5d7 Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Fri, 2 Feb 2018 09:38:49 +0800
Subject: [PATCH] Switch Fedora from i386 to x86_64

The i386 directory is no longer present for current releases.
---
 whohas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/whohas b/whohas
index 11c59f0..04f801a 100755
--- a/whohas
+++ b/whohas
@@ -186,7 +186,7 @@ sub maxthreads {
 sub fedora {
        my $baseurl = "http://dl.fedoraproject.org/pub/fedora/linux/releases/";;
        my $distroname = "Fedora";
-       my $arch = "i386";
+       my $arch = "x86_64";
        my $searchy = $_[0];
        my @names;
        my @versions;
++++++ whohas-0.29.1-update-openbsd.patch ++++++
>From f939efc127710bb727df84eda67244b56507ed83 Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Fri, 21 Oct 2016 10:25:59 +0800
Subject: [PATCH] Update OpenBSD version number to the latest release (6.0)

---
 whohas    | 2 +-
 whohas.cf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/whohas b/whohas
index fb1fb36..5641966 100755
--- a/whohas
+++ b/whohas
@@ -58,7 +58,7 @@ our $fedora_min_release                =  26                  
;
 our $fedora_max_release                 =  27                  ;
 our $debian_current_release     = "all"                ;
 our $ubuntu_current_release     = "all"                ;
-our $openbsd_release            = "5.7"                ;
+our $openbsd_release            = "6.0"                ;
 
 my @distrosAvailable = qw(arch cygwin debian fedora fink freebsd gentoo 
macports mandriva netbsd openbsd opensuse slack sourcemage ubuntu);
 my %distrosSelected;
diff --git a/whohas.cf b/whohas.cf
index d5b701e..b88dead 100644
--- a/whohas.cf
+++ b/whohas.cf
@@ -13,7 +13,7 @@
 #$fedora_max_release = 27;
 #$debian_current_release = 'all';
 #$ubuntu_current_release = 'all';
-#$openbsd_release = '5.7';
+#$openbsd_release = '6.0';
 
 #
 # Inclusion of distributions.
>From fa612f44e968ef4ccdbbb4f8da7633cb6df6853d Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Fri, 21 Oct 2016 10:29:06 +0800
Subject: [PATCH] Update OpenBSD regexes for the new directory listing format

---
 whohas | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/whohas b/whohas
index 5641966..0057745 100755
--- a/whohas
+++ b/whohas
@@ -550,8 +550,8 @@ sub openbsd_newer {
                my @lines = split /\n/, &fetchdoc($baseurl);
                my $now = 0;
                for (my $i = 0; $i < @lines; $i++) {
-                       if ($lines[$i] =~ /^<IMG 
SRC="\/icons\/compressed\.gif/) {
-                               my @firstParts = split /<A 
HREF="|\.tgz">|.tgz<\/A> +|  +/, $lines[$i];
+                       if ($lines[$i] =~ /^<IMG 
SRC="\/icons\/compressed\.gif|\.tgz/i) {
+                               my @firstParts = split /<A 
HREF="|\.tgz">|.tgz<\/A> +|  +/i, $lines[$i];
                                my $a = @names;
                                ($names[$a],$versions[$a]) = 
&openbsd_combos($firstParts[2]);
                                push @dates, $firstParts[4];
++++++ whohas-0.29.tar.gz -> whohas-0.29.1.tar.gz ++++++
++++ 3806 lines of diff (skipped)

++++++ whohas.keyring ++++++
++++ 2582 lines (skipped)


Reply via email to