Пакет python-module-bsddb3: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | %define modname bsddb3 # sometime 1 test out of 501 fails only in girar %def_disable check Name: python-module-%modname Version: 6.2.6 Release: alt1 Summary: Python bindings for BerkleyDB Group: Development/Python License: BSD Url: https://pypi.python.org/pypi/bsddb3/ Source: https://pypi.io/packages/source/b/%modname/%modname-%version.tar.gz BuildRequires: libdb4-devel BuildRequires: python-devel BuildRequires: python3-devel rpm-build-python3 # for check BuildRequires: /proc python-test python3-test %description This package provides Python wrappers for Berkeley DB . %package -n python3-module-%modname Summary: Python3 bindings for BerkleyDB Group: Development/Python3 License: BSD %description -n python3-module-%modname This package provides Python3 wrappers for Berkeley DB. %prep %setup -n %modname-%version -a0 mv %modname-%version py3build %build %python_build pushd py3build %python3_build popd %install %python_install pushd py3build %python3_install popd %if_enabled check %check %__python test.py pushd py3build %__python3 test.py popd %endif %files %python_sitelibdir/%modname/ %python_sitelibdir/%modname-%version-py*.egg-info %doc ChangeLog *.txt %exclude %python_sitelibdir/%modname/tests/ %files -n python3-module-%modname %python3_sitelibdir/%modname/ %python3_sitelibdir/%modname-%version-py*.egg-info %exclude %python3_sitelibdir/%modname/tests/ %exclude %_includedir/python*/%modname/bsddb.h %changelog * Wed Jul 11 2018 Yuri N. Sedunov <aris@altlinux.org> 6.2.6-alt1 - 6.2.6 * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 6.2.5-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Fri Sep 15 2017 Yuri N. Sedunov <aris@altlinux.org> 6.2.5-alt1 - 6.2.5 * Sat Jan 28 2017 Yuri N. Sedunov <aris@altlinux.org> 6.2.4-alt1 - 6.2.4 * Wed Jun 01 2016 Yuri N. Sedunov <aris@altlinux.org> 6.2.1-alt1 - 6.2.1 * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 6.1.1-alt1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Fri Feb 19 2016 Yuri N. Sedunov <aris@altlinux.org> 6.1.1-alt1 - 6.1.1 * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 6.0.1-alt1.1 - NMU: Use buildreq for BR. * Sun Jul 06 2014 Yuri N. Sedunov <aris@altlinux.org> 6.0.1-alt1 - first build for Sisyphus |