forked from pool/python-simplejson
Accepting request 48274 from devel:languages:python
Copy from devel:languages:python/python-simplejson based on submit request 48274 from user coolo OBS-URL: https://build.opensuse.org/request/show/48274 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
a3540e97a6
commit
de2ba0e95e
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-simplejson (Version 2.0.9)
|
||||
# spec file for package python-simplejson (Version 2.1.1)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,15 +19,18 @@
|
||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
||||
|
||||
Name: python-simplejson
|
||||
Version: 2.0.9
|
||||
Version: 2.1.1
|
||||
Release: 1
|
||||
License: BSD
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://undefined.org/python/#simplejson
|
||||
Group: Development/Libraries/Python
|
||||
Source: simplejson-%{version}.tar.bz2
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes python python-devel python-setuptools
|
||||
%py_requires
|
||||
%{py_requires}
|
||||
|
||||
%description
|
||||
simplejson is a simple, fast, complete, correct and extensible JSON
|
||||
@@ -35,10 +38,6 @@ simplejson is a simple, fast, complete, correct and extensible JSON
|
||||
with no dependencies, but includes an optional C extension for a serious speed
|
||||
boost.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bob Ippolito <bob@redivi.com>
|
||||
|
||||
%package doc
|
||||
License: BSD
|
||||
Summary: Documentation for simplejson
|
||||
@@ -53,28 +52,23 @@ boost.
|
||||
|
||||
This package contains documentation for simplejson.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bob Ippolito <bob@redivi.com>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n simplejson-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
|
||||
%fdupes $RPM_BUILD_ROOT
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc LICENSE.txt
|
||||
%doc LICENSE.txt CHANGES.txt
|
||||
%{py_sitedir}*
|
||||
|
||||
%files doc
|
||||
|
Reference in New Issue
Block a user