From 3aea566a66f9d892533a3eb71b8103ca9aa6f2b3 Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Apr 21 2016 06:59:31 +0000 Subject: Upgrade to new version and use python3 as default --- diff --git a/.gitignore b/.gitignore index 1d025e9..cce7548 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /2.5.tar.gz /2.6.tar.gz /2.7.tar.gz +/2.9.tar.gz diff --git a/py3status.spec b/py3status.spec index 91c05ff..a9966f3 100644 --- a/py3status.spec +++ b/py3status.spec @@ -1,9 +1,6 @@ -%{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} - Name: py3status -Version: 2.7 -Release: 2%{?dist} +Version: 2.9 +Release: 1%{?dist} Summary: An extensible i3status wrapper written in python Group: User Interface/Desktops @@ -12,8 +9,8 @@ URL: https://github.com/ultrabug/py3status Source0: https://github.com/ultrabug/py3status/archive/%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools Requires: i3status %description @@ -28,22 +25,27 @@ No extra configuration file needed, just install & enjoy ! %build -%{__python2} setup.py build +%py3_build %install -%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT +%py3_install %files -%doc README.rst LICENSE CHANGELOG +%license LICENSE +%doc README.rst CHANGELOG %{_bindir}/py3status -%dir %{python2_sitelib}/py3status -%{python2_sitelib}/py3status/* -%{python2_sitelib}/*.egg-info +%dir %{python3_sitelib}/py3status +%{python3_sitelib}/py3status/* +%{python3_sitelib}/*.egg-info %changelog +* Thu Apr 21 2016 Jakub Jedelsky - 2.9-1 +- update to version 2.9 +- use python3 support as default (BZ#1282483) + * Thu Feb 04 2016 Fedora Release Engineering - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index b9da4a1..83c05b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -234ecb21b538d37a7137cd1ed30d8d71 2.7.tar.gz +145aec16c347649100d3c3b8fbf7ce55 2.9.tar.gz