Move to python3 boo#1119223
OBS-URL: https://build.opensuse.org/package/show/utilities/urlscan?expand=0&rev=11
This commit is contained in:
parent
a1231612af
commit
7657073df9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 12 10:02:50 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Move to python3 (boo#1119223)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 4 06:19:46 UTC 2017 - werner@suse.de
|
Tue Jul 4 06:19:46 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
14
urlscan.spec
14
urlscan.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package urlscan
|
# spec file for package urlscan
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -20,14 +20,14 @@ Name: urlscan
|
|||||||
Version: 0.8.6
|
Version: 0.8.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An other URL extractor/viewer
|
Summary: An other URL extractor/viewer
|
||||||
License: GPL-2.0
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Networking/Web/Browsers
|
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: python-urwid
|
Requires: python3-urwid
|
||||||
BuildRequires: python-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@ -42,10 +42,10 @@ quoted-printable and base64 encoding.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python3 setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python 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}/usr/share/doc/%{name}*
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name}
|
install -m 0644 %{S:1} %{buildroot}%{_defaultdocdir}/%{name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user