Accepting request 163872 from devel:languages:python3
- Remove pre_checkin.sh since the two packages are not the same - Added requires and buildrequires python3. It will not work properly without them on openSUSE < 12.3 OBS-URL: https://build.opensuse.org/request/show/163872 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=8
This commit is contained in:
parent
bea839a87e
commit
1f6947edfe
@ -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,;s,python tests.py,python3 tests.py,' python-jsonschema.spec > python3-jsonschema.spec
|
|
||||||
cp python-jsonschema.changes python3-jsonschema.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 Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
|
Mon Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Remove pre_checkin.sh since the two packages are not the same
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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 Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
|
Mon Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jsonschema
|
# spec file for package python3-jsonschema
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -24,10 +24,12 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/Julian/jsonschema
|
Url: http://github.com/Julian/jsonschema
|
||||||
Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
||||||
|
BuildRequires: python3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
# Test build requirements
|
# Test build requirements
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python3-mock
|
||||||
BuildRequires: python3-unittest2
|
BuildRequires: python3-unittest2
|
||||||
|
Requires: python3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python3_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python3_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user