1.0.0-a2.

This commit is contained in:
Tim Waugh 2012-01-23 10:59:47 +00:00
parent 66d2247129
commit 6c45ec1679
3 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
pyusb-0.4.1.tar.gz
/pyusb-1.0.0-a1.tar.gz
/pyusb-1.0.0a2.tar.gz

View File

@ -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@redhat.com> - 1.0.0-0.3.a2
- 1.0.0-a2.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.2.a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
8a995953af70bf281a6e162f3e0d8df8 pyusb-1.0.0-a1.tar.gz
9136b3dc019272c62a5b6d4eb624f89f pyusb-1.0.0a2.tar.gz