From ad87a225911bb3fea464e8fe21066e2c6263a036 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Nov 01 2013 16:40:39 +0000 Subject: Latest upstream with bugfixes to link shortening. --- diff --git a/.gitignore b/.gitignore index 69c0e32..be04392 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /pkgwat.cli-0.6.tar.gz /pkgwat.cli-0.7.tar.gz /pkgwat.cli-0.8.tar.gz +/pkgwat.cli-0.9.tar.gz diff --git a/pkgwat.spec b/pkgwat.spec index b910942..9cebada 100644 --- a/pkgwat.spec +++ b/pkgwat.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?fedora} %global with_python3 1 %endif @@ -11,8 +11,8 @@ %global modname pkgwat.cli Name: pkgwat -Version: 0.8 -Release: 2%{?dist} +Version: 0.9 +Release: 1%{?dist} Summary: CLI tool for querying the fedora packages webapp Group: Development/Libraries @@ -70,7 +70,7 @@ cp -a . %{py3dir} %build -%{__python} setup.py build +%{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} @@ -88,13 +88,13 @@ mv %{buildroot}/%{_bindir}/pkgwat %{buildroot}/%{_bindir}/python3-pkgwat popd %endif -%{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README.rst LICENSE -%{python_sitelib}/pkgwat/cli -%{python_sitelib}/%{modname}-%{version}* +%{python2_sitelib}/pkgwat/cli +%{python2_sitelib}/%{modname}-%{version}* %{_bindir}/pkgwat %if 0%{?with_python3} @@ -103,11 +103,14 @@ popd %{python3_sitelib}/pkgwat/cli %{python3_sitelib}/%{modname}-%{version}-* %{_bindir}/python3-pkgwat - %endif %changelog +* Fri Nov 01 2013 Ralph Bean - 0.9-1 +- Latest upstream with bugfixes for link shortening. +- Modernize python2 rpm macros. + * Sun Aug 04 2013 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 542f525..3a66afc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7724c1a74cef1e6c875e9833bb0c08d3 pkgwat.cli-0.8.tar.gz +1fd5a75ef116046c73fddce93d974c83 pkgwat.cli-0.9.tar.gz