From e84f5652b232191ae512bd0924bde2de78e8e5c84ca8150de21a38d0b4f3e018 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 17 May 2021 07:11:54 +0000 Subject: [PATCH] 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 --- urlscan-0.9.5.tar.gz | 3 --- urlscan-0.9.6.tar.gz | 3 +++ urlscan.changes | 14 ++++++++++++++ urlscan.spec | 20 +++++++++----------- 4 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 urlscan-0.9.5.tar.gz create mode 100644 urlscan-0.9.6.tar.gz diff --git a/urlscan-0.9.5.tar.gz b/urlscan-0.9.5.tar.gz deleted file mode 100644 index f4b93d7..0000000 --- a/urlscan-0.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db76f61966431a8938adc998aaa2b30be54f9b1ff2a4c0064e9915df2fb6b996 -size 32010 diff --git a/urlscan-0.9.6.tar.gz b/urlscan-0.9.6.tar.gz new file mode 100644 index 0000000..303499a --- /dev/null +++ b/urlscan-0.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8e406e3f87060f8765aab5a4aaecb3602a0ebe7c0936c22e1ecfc65589420e9 +size 32909 diff --git a/urlscan.changes b/urlscan.changes index ddc8cb8..fc936e3 100644 --- a/urlscan.changes +++ b/urlscan.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 12 22:03:24 UTC 2021 - Dirk Müller + +- 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 diff --git a/urlscan.spec b/urlscan.spec index c0493a9..37414cc 100644 --- a/urlscan.spec +++ b/urlscan.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,9 @@ # +%define python_flavor python3 Name: urlscan -Version: 0.9.5 +Version: 0.9.6 Release: 0 Summary: An other URL extractor/viewer License: GPL-2.0-or-later @@ -25,16 +26,14 @@ Group: Productivity/Networking/Web/Browsers 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 +Requires: python3 +Requires: python3-base +Requires: python3-urwid BuildArch: noarch -%define python_flavor python3 %description The urlscan utility displays URLs found in an email message with @@ -50,18 +49,17 @@ python3 setup.py build %install 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} -install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name} +install -m 0644 %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name} rm -rvf %{buildroot}%{python_sitelib}/%{name}-%{version}-*-info %files -%defattr(-,root,root) %license COPYING %doc README.rst %{_bindir}/%{name} %{python_sitelib}/%{name} -%{_mandir}/man1/%{name}.1.gz +%{_mandir}/man1/%{name}.1%{?ext_man} %doc %{_defaultdocdir}/%{name}/muttrc %changelog