[ All 3 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ]
×

Package python2-rpm-macros-3-38.module+el8.10.0+290+0cb98707.noarch download

Name python2-rpm-macros
Epoch 0
Version 3
Release 38.module+el8.10.0+290+0cb98707
Architecture noarch
Website/URL
License MIT
Build Time 2024-05-24 15:23:27
Build Host builder-x86-03.inferitos.ru
Summary RPM macros for building Python 2 packages
Repositories AppStream
Description RPM macros for building Python 2 packages.
Errata INFSA-2024:2987
Size 13 KiB
Source Project python2-rpm-macros-3-38.module+el8.10.0+290+0cb98707
SHA-256 checksum fa34cf94583dc77e893ec1f5a350c474f6edbae5f6f5da6c47490d459c03e37a
× Full screenshot
Changelog link
* Wed Apr 03 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3-38
- Rebuilt for MSVSphere 8.10 beta

* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 3-38
- Bumping due to problems with modular RPM upgrade path
- Resolves: rhbz#1695587

* Fri Dec 14 2018 Miro Hrončok <mhroncok@redhat.com> - 3-37
- Workaround leaking buildroot PATH in 
python_binary="%1"
buildroot_path="%2"
bytecode_compilation_path=".${buildroot_path/#$RPM_BUILD_ROOT}"
failure=0
pushd $RPM_BUILD_ROOT
find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -O -m py_compile || failure=1
find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -m py_compile || failure=1
popd
test $failure -eq 0
- Resolves: rhbz#1644455

* Fri Dec 14 2018 Miro Hrončok <mhroncok@redhat.com> - 3-36
- Make %py_byte_compile terminate build on SyntaxErrors
- Resolves: rhbz#1620168

* Tue Aug 28 2018 Tomas Orsava <torsava@redhat.com> - 3-35
- Separate the python2-rpm-macros subpackage into its own component

* Mon Jul 16 2018 Tomas Orsava <torsava@redhat.com> - 3-34
- macros.pybytecompile: Macro was not line-continued properly and thus didn't work

* Wed Jul 11 2018 Tomas Orsava <torsava@redhat.com> - 3-33
- macros.pybytecompile: Detect Python version through sys.version_info instead
  of guessing from the executable name

* Tue Jul 10 2018 Tomas Orsava <torsava@redhat.com> - 3-32
- Merging: (Tue Jul 10 2018 Tomas Orsava <torsava@redhat.com> - 3-32)
  - Fix %py_byte_compile macro: when invoked with a Python 2 binary it also
    mistakenly ran py3_byte_compile
- Merging: (Tue Jul 03 2018 Miro Hrončok <mhroncok@redhat.com> - 3-31)
  - Add %python3_platform useful for PYTHONPATH on arched builds
- Merging: (Mon Jun 18 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-30)
  - Add %pypi_source macro, as well as %__pypi_url and
    %_pypi_default_extension.
- Merging: (Wed Apr 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3-29)
  - move macros.pybytecompile from python3-devel

* Wed Jun 27 2018 Tomas Orsava <torsava@redhat.com> - 3-31
- Remove RHEL_ALLOW_PYTHON2_FOR_BUILD=1 from build and install macros,
  as that is where the user needs to set it themself

* Thu Jun 21 2018 Tomas Orsava <torsava@redhat.com> - 3-30
- Explicitly enable Python 2 when invoking Python 2 macros
  See: https://url.corp.redhat.com/rhel8-py2