Package python-module-uritemplate: Specfile
%define oname uritemplate %def_with python3 Name: python-module-%oname Version: 3.0.0 Release: alt1 Summary: Python implementation of RFC6570, URI Template License: Apache Software License Group: Development/Python Url: https://pypi.python.org/pypi/uritemplate Source: %name-%version.tar BuildArch: noarch BuildRequires(pre): rpm-build-python %if_with python3 BuildRequires(pre): rpm-build-python3 %endif %setup_python_module %oname %py_provides %oname # Automatically added by buildreq on Thu Jan 28 2016 (-bi) # optimized out: python-base python-modules python-modules-compiler python-modules-email python3 python3-base BuildRequires: python-devel rpm-build-python3 %description This is a Python implementation of RFC6570, URI Template, and can expand templates up to and including Level 4 in that specification. %package -n python3-module-%oname Summary: Python implementation of RFC6570, URI Template Group: Development/Python3 %py3_provides %oname %description -n python3-module-%oname This is a Python implementation of RFC6570, URI Template, and can expand templates up to and including Level 4 in that specification. %prep %setup %if_with python3 cp -fR . ../python3 %endif %build %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %files %doc README.rst %python_sitelibdir/* %if_with python3 %files -n python3-module-%oname %doc README.rst %python3_sitelibdir/* %endif %changelog * Mon May 20 2019 Grigory Ustinov <grenka@altlinux.org> 3.0.0-alt1 - Build new version. * Tue Apr 30 2019 Grigory Ustinov <grenka@altlinux.org> 0.6-alt3.2 - Rebuild with python3.7. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.6-alt3.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.6-alt3.1 - NMU: Use buildreq for BR. * Tue Oct 28 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6-alt3 - Added provides %oname * Tue Aug 19 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6-alt2 - Added module for Python 3 * Thu Sep 19 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6-alt1 - Version 0.6 * Wed Apr 03 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.2-alt1 - Initial build for Sisyphus |