diff --git a/.gitignore b/.gitignore index aa9f0d4..e6dea40 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /txWS-0.7.tar.gz +/txWS-0.7.1.tar.gz diff --git a/python-txws.spec b/python-txws.spec index b172e75..aa03644 100644 --- a/python-txws.spec +++ b/python-txws.spec @@ -1,14 +1,15 @@ %global modname txws +%global capname txWS Name: python-txws -Version: 0.7 -Release: 6%{?dist} +Version: 0.7.1 +Release: 1%{?dist} Summary: Twisted WebSockets wrapper Group: Development/Languages License: MIT -URL: http://pypi.python.org/pypi/txWS -Source0: http://pypi.python.org/packages/source/t/txWS/txWS-0.7.tar.gz +URL: http://pypi.python.org/pypi/%{capname} +Source0: http://pypi.python.org/packages/source/t/%{capname}/%{capname}-%{version}.tar.gz BuildArch: noarch @@ -23,7 +24,7 @@ txWS (pronounced "Twisted WebSockets") is a small, short, simple library for adding WebSockets server support to your favorite Twisted applications. %prep -%setup -q -n txWS-%{version} +%setup -q -n %{capname}-%{version} %if 0%{?rhel} %{__sed} -i -e 's/"Twisted",//' setup.py @@ -44,9 +45,15 @@ for adding WebSockets server support to your favorite Twisted applications. %files %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/%{modname}.py* +%{python_sitelib}/%{capname}-%{version}-*.egg-info + %changelog +* Fri Jul 27 2012 Ralph Bean 0.7.1-1 +- Upstream release. +- Use %%{capname} macro. + * Sat Jul 21 2012 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index dbe7026..5d98076 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8f5fb03c189d83b47b21176c7574126 txWS-0.7.tar.gz +0663015b62528a94107b9b434755f887 txWS-0.7.1.tar.gz