From 2496ac4d58c5f0f7398c0beeb290229fc8aba26ae25c617c20bcd685c7a4bf22 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sat, 13 Apr 2013 10:31:07 +0000 Subject: [PATCH] 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 --- pre_checkin.sh | 4 ---- python-pysendfile.changes | 5 +++++ python3-pysendfile.changes | 16 ++++++++++++++++ python3-pysendfile.spec | 7 +++---- 4 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 pre_checkin.sh diff --git a/pre_checkin.sh b/pre_checkin.sh deleted file mode 100644 index 5725ec7..0000000 --- a/pre_checkin.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -sed 's,^\(Name: *\)python-,\1python3-,;s,^\(Requires: *\)python-,\1python3-,;s,^\(BuildRequires: *\)python-,\1python3-,;s,python setup.py,python3 setup.py,;s,python_sitelib,python3_sitelib,;s,python_sitearch,python3_sitearch,' python-pysendfile.spec > python3-pysendfile.spec -cp python-pysendfile.changes python3-pysendfile.changes diff --git a/python-pysendfile.changes b/python-pysendfile.changes index 0b12703..d646f1c 100644 --- a/python-pysendfile.changes +++ b/python-pysendfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com + +- Remove pre_checkin.sh since the two packages are not the same + ------------------------------------------------------------------- Mon Jan 21 15:50:12 UTC 2013 - p.drouand@gmail.com diff --git a/python3-pysendfile.changes b/python3-pysendfile.changes index 0b12703..c0c2618 100644 --- a/python3-pysendfile.changes +++ b/python3-pysendfile.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com + +- Remove pre_checkin.sh since the two packages are not the same + +------------------------------------------------------------------- +Sat Apr 13 09:52:52 UTC 2013 - toddrme2178@gmail.com + +- Cleanup unneeded macros + +------------------------------------------------------------------- +Fri Apr 12 11:13:01 UTC 2013 - toddrme2178@gmail.com + +- Added requires and buildrequires python3. It will not work + properly without them on openSUSE < 12.3 + ------------------------------------------------------------------- Mon Jan 21 15:50:12 UTC 2013 - p.drouand@gmail.com diff --git a/python3-pysendfile.spec b/python3-pysendfile.spec index 61a3be3..371151b 100644 --- a/python3-pysendfile.spec +++ b/python3-pysendfile.spec @@ -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.