File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ %{! ?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2+
3+ Summary: ethtool python bindings
4+ Name: python-ethtool
5+ Version: 0.2
6+ Release: 1%{?dist }
7+ Source0: %{name }-%{version }.tar.bz2
8+ License: GPLv2+
9+ Group: System Environment/Libraries
10+ BuildRequires: python-devel
11+ BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
12+
13+ %description
14+ ethtool python bindings
15+
16+ %prep
17+ %setup -q
18+
19+ %install
20+ rm -rf %{buildroot }
21+ make DESTDIR=%{buildroot } install
22+
23+ %clean
24+ rm -rf %{buildroot }
25+
26+ %files
27+ %defattr(-,root,root)
28+ %doc COPYING
29+ %{python_sitearch }/ethtool.so
30+
31+ %changelog
32+ * Tue Jun 10 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-3
33+ - add dist to the release tag
34+
35+ * Tue Dec 18 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-2
36+ - First build into MRG repo
37+
38+ * Tue Dec 18 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
39+ - Get ethtool code from rhpl 0.212
You can’t perform that action at this time.
0 commit comments