From ad053b4e452b8a4bc2f6b92bf615e8795940fc6eacdc7a50c7ca9da37fae31d8 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 13 Mar 2020 07:39:09 +0000 Subject: [PATCH] Update to urlscan-0.9.4 OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=16 --- urlscan-0.9.2.tar.gz | 3 --- urlscan-0.9.4.tar.gz | 3 +++ urlscan.changes | 15 +++++++++++++++ urlscan.spec | 17 +++++++++++------ 4 files changed, 29 insertions(+), 9 deletions(-) delete mode 100644 urlscan-0.9.2.tar.gz create mode 100644 urlscan-0.9.4.tar.gz diff --git a/urlscan-0.9.2.tar.gz b/urlscan-0.9.2.tar.gz deleted file mode 100644 index bcbccc2..0000000 --- a/urlscan-0.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:312f0be32f784f23c2143b7f74a40ffa3ee88a638c74d8f6af038b71b4865468 -size 29418 diff --git a/urlscan-0.9.4.tar.gz b/urlscan-0.9.4.tar.gz new file mode 100644 index 0000000..cdc443f --- /dev/null +++ b/urlscan-0.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc76c3c8a852f1fbdde69faa336184b7f060b33e8e4573d6ffa8790ed6f429b6 +size 31705 diff --git a/urlscan.changes b/urlscan.changes index 057d794..6884ef0 100644 --- a/urlscan.changes +++ b/urlscan.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Mar 13 06:10:44 UTC 2020 - Dr. Werner Fink + +- Update to version 0.9.4 + * Remove Python 2 compatibility +- Update to version 0.9.3 + * Cycle through opening links with webbrowser module, xdg-open or --run argument + * Add option to copy to primary selection or clipboard. Fix #87 + * Generate new config file using command line switch instead of keybinding + * Allow remapping a key to open url in addition to space and enter + * Show help menu with F1 and show dynamic keybindings + * Allow editing key bindings in config.json. Fix #72. +- Set python flavour spec file macro to get the rpm pythin macros defined +- Remove egg information tree as we require python3-urwid + ------------------------------------------------------------------- Thu Feb 7 07:46:49 UTC 2019 - Dr. Werner Fink diff --git a/urlscan.spec b/urlscan.spec index 6d1dfbb..e9b6b72 100644 --- a/urlscan.spec +++ b/urlscan.spec @@ -1,7 +1,7 @@ # # spec file for package urlscan # -# Copyright (c) 2019 SUSE LINUX 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,25 +12,29 @@ # 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: urlscan -Version: 0.9.2 +Version: 0.9.4 Release: 0 Summary: An other URL extractor/viewer License: GPL-2.0-or-later Group: Productivity/Networking/Web/Browsers -Url: https://github.com/firecat53/urlscan +URL: https://github.com/firecat53/urlscan Source0: https://github.com/firecat53/urlscan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: muttrc +Requires: python3 +Requires: python3-base Requires: python3-urwid +BuildRequires: python3-base BuildRequires: python3-devel +BuildRequires: python3-rpm-macros BuildRequires: python3-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%define python_flavor python3 %description The urlscan utility displays URLs found in an email message with @@ -49,13 +53,14 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}/usr/share/doc/%{name}* mkdir -p %{buildroot}%{_defaultdocdir}/%{name} install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name} +rm -rvf %{buildroot}%{python_sitelib}/%{name}-%{version}-*-info %files %defattr(-,root,root) %license COPYING %doc README.rst %{_bindir}/%{name} -%{python_sitelib}/* +%{python_sitelib}/%{name} %{_mandir}/man1/%{name}.1.gz %doc %{_defaultdocdir}/%{name}/muttrc