Update to urlscan-0.9.4

OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=16
This commit is contained in:
Dr. Werner Fink 2020-03-13 07:39:09 +00:00 committed by Git OBS Bridge
parent 7bda74bbd9
commit ad053b4e45
4 changed files with 29 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:312f0be32f784f23c2143b7f74a40ffa3ee88a638c74d8f6af038b71b4865468
size 29418

3
urlscan-0.9.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc76c3c8a852f1fbdde69faa336184b7f060b33e8e4573d6ffa8790ed6f429b6
size 31705

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Mar 13 06:10:44 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>

View File

@ -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