forked from pool/python-pysendfile
Accepting request 163864 from devel:languages:python3
- Remove pre_checkin.sh since the two packages are not the same - Cleanup unneeded macros - Added requires and buildrequires python3. It will not work properly without them on openSUSE < 12.3 OBS-URL: https://build.opensuse.org/request/show/163864 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysendfile?expand=0&rev=5
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-pysendfile
|
||||
# spec file for package python3-pysendfile
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -24,12 +24,11 @@ Summary: A Python interface to sendfile(2)
|
||||
Url: http://code.google.com/p/pysendfile/
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pysendfile.googlecode.com/files/%{mod_name}-%{version}.tar.gz
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-nose
|
||||
Requires: python3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python3_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
|
||||
%description
|
||||
A python interface to sendfile(2) system call.
|
||||
|
Reference in New Issue
Block a user