From e0f7b08fbee1e53852c375a84f2223fe374d5bc2 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 30 Jun 2011 15:17:34 +0100 Subject: [PATCH] 1.0.0-a1 (bug #586950). --- .gitignore | 1 + pyusb.spec | 19 ++++++++++++------- sources | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 3595e46..3e10f85 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ pyusb-0.4.1.tar.gz +/pyusb-1.0.0-a1.tar.gz diff --git a/pyusb.spec b/pyusb.spec index 547f2d6..babbfdc 100644 --- a/pyusb.spec +++ b/pyusb.spec @@ -1,23 +1,25 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%global alphatag a1 Name: pyusb -Version: 0.4.1 -Release: 7%{?dist} +Version: 1.0.0 +Release: 0.1.%{alphatag}%{?dist} Summary: Python bindings for libusb Group: Development/Languages License: BSD -URL: http://pyusb.berlios.de/ -Source0: http://prdownload.berlios.de/pyusb/pyusb-%{version}.tar.gz +URL: http://pyusb.sourceforge.net/ +Source0: pyusb-%{version}-%{alphatag}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel BuildRequires: libusb-devel +BuildArch: noarch %description PyUSB provides easy USB access to python. The module contains classes and methods to support most USB operations. %prep -%setup -q +%setup -q -n %{name}-%{version}-%{alphatag} %build @@ -34,11 +36,14 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README license.txt -%{python_sitearch}/* +%doc README LICENSE +%{python_sitelib}/* %changelog +* Thu Jun 30 2011 Tim Waugh - 1.0.0-0.1.a1 +- 1.0.0-a1 (bug #586950). + * Wed Feb 09 2011 Fedora Release Engineering - 0.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index efb9cf7..37728d6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9576c3e471e40e021fa44f36712bbd04 pyusb-0.4.1.tar.gz +8a995953af70bf281a6e162f3e0d8df8 pyusb-1.0.0-a1.tar.gz