[pyusb] 1.0.0-a2.

Tim Waugh twaugh at fedoraproject.org
Mon Jan 23 11:14:19 UTC 2012


commit 6c45ec167941e67656c99bd4fcc22f12e6a46334
Author: Tim Waugh <twaugh at redhat.com>
Date:   Mon Jan 23 10:59:47 2012 +0000

    1.0.0-a2.

 .gitignore |    1 +
 pyusb.spec |   15 +++++++++------
 sources    |    2 +-
 3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3e10f85..eff82ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 pyusb-0.4.1.tar.gz
 /pyusb-1.0.0-a1.tar.gz
+/pyusb-1.0.0a2.tar.gz
diff --git a/pyusb.spec b/pyusb.spec
index ba2f0ef..c2f336a 100644
--- a/pyusb.spec
+++ b/pyusb.spec
@@ -1,14 +1,14 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-%global alphatag a1
+%global alphatag a2
 Name: pyusb
 Version: 1.0.0
-Release: 0.2.%{alphatag}%{?dist}
+Release: 0.3.%{alphatag}%{?dist}
 Summary: Python bindings for libusb
 Group: Development/Languages
 License: BSD	
 URL: http://pyusb.sourceforge.net/
-Source0: pyusb-%{version}-%{alphatag}.tar.gz
+Source0: pyusb-%{version}%{alphatag}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: python-devel
 BuildRequires: libusb-devel
@@ -19,12 +19,12 @@ PyUSB provides easy USB access to python. The module contains classes and
 methods to support most USB operations.
 
 %prep
-%setup -q -n %{name}-%{version}-%{alphatag}
+%setup -q -n %{name}-%{version}%{alphatag}
 
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-sed -i -e 's/\r//g' README
+sed -i -e 's/\r//g' README.rst
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,11 +36,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README LICENSE
+%doc README.rst LICENSE
 %{python_sitelib}/*
 
 
 %changelog
+* Mon Jan 23 2012 Tim Waugh <twaugh at redhat.com> - 1.0.0-0.3.a2
+- 1.0.0-a2.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-0.2.a1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 37728d6..09b6d25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a995953af70bf281a6e162f3e0d8df8  pyusb-1.0.0-a1.tar.gz
+9136b3dc019272c62a5b6d4eb624f89f  pyusb-1.0.0a2.tar.gz


More information about the scm-commits mailing list