Package python-module-yaml: 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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | %define project PyYAML %def_with python3 Name: python-module-yaml Version: 5.4.1 Release: alt0.c9 Summary: PyYAML, a YAML parser and emitter for Python License: MIT Group: Development/Python Url: https://github.com/yaml/pyyaml #BuildArch: noarch # Source-url: https://github.com/yaml/pyyaml/archive/%version.tar.gz Source: %name-%version.tar BuildRequires(pre): rpm-build-intro >= 2.0.0 BuildRequires: python-devel libyaml-devel python-module-Cython %if_with python3 BuildRequires(pre): rpm-build-python3 python3-module-Cython BuildRequires: python3-devel %endif %description YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for the Python programming language. PyYAML features a complete YAML 1.1 parser, Unicode support, and relatively sensible error messages. %if_with python3 %package -n python3-module-yaml Summary: PyYAML, a YAML parser and emitter for Python3 Group: Development/Python3 %description -n python3-module-yaml YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for the Python3 programming language. PyYAML features a complete YAML 1.1 parser, Unicode support, and relatively sensible error messages. %endif %prep %setup %python3_dirsetup %build %add_optflags -fno-strict-aliasing %python_build build_ext %if_with python3 pushd ../python3 %python3_build build_ext popd %endif %install %python_install %python3_dirinstall %files %doc CHANGES README %python_sitelibdir/* %if_with python3 %files -n python3-module-yaml %python3_sitelibdir/* %endif %changelog * Thu Mar 18 2021 Andrey Cherepanov <cas@altlinux.org> 5.4.1-alt0.c9 - Backport version 5.4.x to c9 branch (fixes CVE-2020-1747). * Fri Feb 19 2021 Sergey Bolshakov <sbolshakov@altlinux.ru> 5.4.1-alt1 - 5.4.1 released * Mon Jul 06 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 5.3.1-alt1 - 5.3.1 released * Wed Feb 12 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 5.3-alt1 - 5.3 released * Wed Dec 11 2019 Grigory Ustinov <grenka@altlinux.org> 5.2-alt1 - Build new version 5.2. * Mon Aug 05 2019 Grigory Ustinov <grenka@altlinux.org> 5.1.2-alt1 - Build new version. * Wed Jul 10 2019 Grigory Ustinov <grenka@altlinux.org> 5.1.1-alt1 - Build new version. * Tue Mar 19 2019 Grigory Ustinov <grenka@altlinux.org> 5.1-alt1 - Build new version. * Tue Dec 25 2018 Grigory Ustinov <grenka@altlinux.org> 3.13-alt1 - Build new version. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.12-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Sun Oct 22 2017 Vitaly Lipatov <lav@altlinux.ru> 3.12-alt1 - new version 3.12 (with rpmrb script) (ALT bug 34046) * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.11-alt1.hg20141128.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jul 30 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.11-alt1.hg20141128 - New snapshot * Wed Aug 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.11-alt1.hg20140326 - Version 3.11 * Wed Dec 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.10-alt2.hg20121224 - Snapshot from Mercurial * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 3.10-alt2.1 - Rebuild with Python-3.3 * Sat Apr 07 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.10-alt2 - Dont' rename _yaml.*.so -> _yaml.so * Wed Apr 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.10-alt1 - Version 3.10 - Added module for Python 3 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.05-alt2.1.1 - Rebuild with Python-2.7 * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.05-alt2.1 - Rebuilt with python 2.6 * Sun Jul 20 2008 Alexander Myltsev <avm@altlinux.ru> 3.05-alt2 - Fix #16285 (package lost directory). - Pull a minor bugfix from SVN (a single dot is not a valid float). * Fri Nov 16 2007 Alex V. Myltsev <avm@altlinux.ru> 3.05-alt1 - Initial build for Sisyphus. |