1.0.0-a1 (bug #586950).
This commit is contained in:
parent
93e8235d35
commit
e0f7b08fbe
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
pyusb-0.4.1.tar.gz
|
||||
/pyusb-1.0.0-a1.tar.gz
|
||||
|
||||
19
pyusb.spec
19
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 <twaugh@redhat.com> - 1.0.0-0.1.a1
|
||||
- 1.0.0-a1 (bug #586950).
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user