forked from pool/urlscan
Accepting request 892593 from home:dirkmueller:Factory
- update to 0.9.6: * Python 3.6+ required * Convert to newer email.message.EmailMessage format for processing. Closes #98 * Hopefully fix #105. Escapes every "&" in the URL * Attempt --run-safe implementation * Fixes #106 * Scan a selection of email headers for URLs. Closes #97. * Add option for custom regex. Closes #79. * Allow $ as an acceptable trailing character * Fix urwid reverse error. Thanks to @pavoljuhas. Closes #99 OBS-URL: https://build.opensuse.org/request/show/892593 OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=20
This commit is contained in:
parent
11f95c58e3
commit
e84f5652b2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:db76f61966431a8938adc998aaa2b30be54f9b1ff2a4c0064e9915df2fb6b996
|
|
||||||
size 32010
|
|
3
urlscan-0.9.6.tar.gz
Normal file
3
urlscan-0.9.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e8e406e3f87060f8765aab5a4aaecb3602a0ebe7c0936c22e1ecfc65589420e9
|
||||||
|
size 32909
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 12 22:03:24 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.9.6:
|
||||||
|
* Python 3.6+ required
|
||||||
|
* Convert to newer email.message.EmailMessage format for processing. Closes #98
|
||||||
|
* Hopefully fix #105. Escapes every "&" in the URL
|
||||||
|
* Attempt --run-safe implementation
|
||||||
|
* Fixes #106
|
||||||
|
* Scan a selection of email headers for URLs. Closes #97.
|
||||||
|
* Add option for custom regex. Closes #79.
|
||||||
|
* Allow $ as an acceptable trailing character
|
||||||
|
* Fix urwid reverse error. Thanks to @pavoljuhas. Closes #99
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 28 09:44:43 UTC 2020 - Martin Rey <mrey@suse.com>
|
Tue Jul 28 09:44:43 UTC 2020 - Martin Rey <mrey@suse.com>
|
||||||
|
|
||||||
|
20
urlscan.spec
20
urlscan.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package urlscan
|
# spec file for package urlscan
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,8 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define python_flavor python3
|
||||||
Name: urlscan
|
Name: urlscan
|
||||||
Version: 0.9.5
|
Version: 0.9.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An other URL extractor/viewer
|
Summary: An other URL extractor/viewer
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -25,16 +26,14 @@ 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
|
Source0: https://github.com/firecat53/urlscan/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: muttrc
|
Source1: muttrc
|
||||||
Requires: python3
|
|
||||||
Requires: python3-base
|
|
||||||
Requires: python3-urwid
|
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-rpm-macros
|
BuildRequires: python3-rpm-macros
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Requires: python3
|
||||||
|
Requires: python3-base
|
||||||
|
Requires: python3-urwid
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%define python_flavor python3
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The urlscan utility displays URLs found in an email message with
|
The urlscan utility displays URLs found in an email message with
|
||||||
@ -50,18 +49,17 @@ python3 setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
rm -rf %{buildroot}/usr/share/doc/%{name}*
|
rm -rf %{buildroot}%{_datadir}/doc/%{name}*
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name}
|
install -m 0644 %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
rm -rvf %{buildroot}%{python_sitelib}/%{name}-%{version}-*-info
|
rm -rvf %{buildroot}%{python_sitelib}/%{name}-%{version}-*-info
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{python_sitelib}/%{name}
|
%{python_sitelib}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1.gz
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
%doc %{_defaultdocdir}/%{name}/muttrc
|
%doc %{_defaultdocdir}/%{name}/muttrc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user