1.0.0-a2.
This commit is contained in:
parent
66d2247129
commit
6c45ec1679
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
pyusb-0.4.1.tar.gz
|
||||
/pyusb-1.0.0-a1.tar.gz
|
||||
/pyusb-1.0.0a2.tar.gz
|
||||
|
||||
15
pyusb.spec
15
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@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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user