From cf929298d5aab8c80ada375db271d2def105ec80 Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Jun 22 2015 11:46:47 +0000 Subject: Update to 1.1.1 - Run spec2scl on Python 3 --- diff --git a/.gitignore b/.gitignore index ddb4923..1db6f88 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /spec2scl-1.0.1.tar.gz /spec2scl-1.1.0.tar.gz /spec2scl-1.1.0a.tar.gz +/spec2scl-1.1.1.tar.gz diff --git a/sources b/sources index e5c5f17..28c4bac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ed3d1422f81e571547eb1e3e1b2288f9 spec2scl-1.1.0a.tar.gz +0560f972d499c79f96adf31cd9752f5d spec2scl-1.1.1.tar.gz diff --git a/spec2scl.spec b/spec2scl.spec index 4e45e1b..c6f2287 100644 --- a/spec2scl.spec +++ b/spec2scl.spec @@ -2,8 +2,8 @@ %global pypi_name spec2scl Name: %{pypi_name} -Version: 1.1.0a -Release: 3%{?dist} +Version: 1.1.1 +Release: 1%{?dist} Summary: Convert RPM specfiles to be SCL ready License: MIT @@ -11,16 +11,17 @@ URL: https://bitbucket.org/bkabrda/spec2scl/ Source0: http://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools + %if 0%{?fedora} -BuildRequires: python-flexmock -BuildRequires: python-jinja2 -BuildRequires: pytest +BuildRequires: python3-flexmock +BuildRequires: python3-jinja2 +BuildRequires: python3-pytest %endif -Requires: python-setuptools -Requires: python-jinja2 +Requires: python3-setuptools +Requires: python3-jinja2 %description spec2scl is a tool to convert RPM specfiles to SCL-style specfiles. @@ -32,23 +33,27 @@ spec2scl is a tool to convert RPM specfiles to SCL-style specfiles. rm -rf %{pypi_name}.egg-info %build -%{__python} setup.py build +%{__python3} setup.py build %install -%{__python} setup.py install --skip-build --root %{buildroot} +%{__python3} setup.py install --skip-build --root %{buildroot} %check %if 0%{?fedora} -PYTHONPATH=$(pwd) py.test +PYTHONPATH=$(pwd) py.test-%{python3_version} %endif %files %doc README.rst LICENSE %{_bindir}/%{pypi_name} -%{python_sitelib}/%{pypi_name} -%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Mon Jun 22 2015 Slavek Kabrda - 1.1.1-1 +- Update to 1.1.1 +- Run spec2scl on Python 3 + * Fri Jun 19 2015 Fedora Release Engineering - 1.1.0a-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild