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
|
||||
|
||||
|
14
urlscan.spec
14
urlscan.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,14 +20,14 @@ Name: urlscan
|
||||
Version: 0.8.6
|
||||
Release: 0
|
||||
Summary: An other URL extractor/viewer
|
||||
License: GPL-2.0
|
||||
License: GPL-2.0-or-later
|
||||
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: python-urwid
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python3-urwid
|
||||
BuildRequires: python3-devel
|
||||
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()")}
|
||||
@ -42,10 +42,10 @@ quoted-printable and base64 encoding.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user