Group :: Development/Python3
RPM: python3-module-simplejson
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname simplejson
Name: python3-module-%oname
Version: 3.19.1
Release: alt1
Summary: Simplejson is a simple, fast, extensible JSON encoder/decoder for Python
License: MIT/X Consortium
Group: Development/Python3
Url: https://simplejson.readthedocs.io/
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildRequires: python3-module-sphinx-sphinx-build-symlink
%description
Simplejson is a simple, fast, complete, correct and extensible JSON
encoder and decoder for Python 2.3+. It is pure Python code with no
dependencies.
%package doc
Summary: Documentation for %name
Group: Development/Python
BuildArch: noarch
%description doc
Simplejson is a simple, fast, complete, correct and extensible JSON
encoder and decoder for Python 2.3+. It is pure Python code with no
dependencies.
This package contains documentation for simplejson.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
python3 ./scripts/make_docs.py
%install
%python3_install
# python2 compat only
rm -f %buildroot/%python3_sitelibdir/%oname/ordered_dict.py
%check
python3 setup.py test
%files
%python3_sitelibdir/%oname/
%exclude %python3_sitelibdir/%oname/tests
%python3_sitelibdir/*.egg-info
%files doc
%doc docs/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname simplejson
Name: python3-module-%oname
Version: 3.19.1
Release: alt1
Summary: Simplejson is a simple, fast, extensible JSON encoder/decoder for Python
License: MIT/X Consortium
Group: Development/Python3
Url: https://simplejson.readthedocs.io/
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildRequires: python3-module-sphinx-sphinx-build-symlink
%description
Simplejson is a simple, fast, complete, correct and extensible JSON
encoder and decoder for Python 2.3+. It is pure Python code with no
dependencies.
%package doc
Summary: Documentation for %name
Group: Development/Python
BuildArch: noarch
%description doc
Simplejson is a simple, fast, complete, correct and extensible JSON
encoder and decoder for Python 2.3+. It is pure Python code with no
dependencies.
This package contains documentation for simplejson.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
python3 ./scripts/make_docs.py
%install
%python3_install
# python2 compat only
rm -f %buildroot/%python3_sitelibdir/%oname/ordered_dict.py
%check
python3 setup.py test
%files
%python3_sitelibdir/%oname/
%exclude %python3_sitelibdir/%oname/tests
%python3_sitelibdir/*.egg-info
%files doc
%doc docs/*
%changelog
…
Todas as alterações você pod ver aqui