|
|
51cf4a |
Name: python-rpm-macros
|
|
|
51cf4a |
Version: 3.9
|
|
|
6f4bc5 |
Release: 48%{?dist}
|
|
|
51cf4a |
Summary: The common Python RPM macros
|
|
|
51cf4a |
URL: https://src.fedoraproject.org/rpms/python-rpm-macros/
|
|
|
51cf4a |
|
|
|
6f4bc5 |
# macros and lua: MIT
|
|
|
6f4bc5 |
# import_all_modules.py: MIT
|
|
|
6f4bc5 |
# compileall2.py: PSFv2
|
|
|
51cf4a |
License: MIT and Python
|
|
|
51cf4a |
|
|
|
51cf4a |
# Macros:
|
|
|
51cf4a |
Source101: macros.python
|
|
|
51cf4a |
Source102: macros.python-srpm
|
|
|
51cf4a |
Source104: macros.python3
|
|
|
51cf4a |
Source105: macros.pybytecompile
|
|
|
51cf4a |
|
|
|
51cf4a |
# Lua files
|
|
|
51cf4a |
Source201: python.lua
|
|
|
51cf4a |
|
|
|
51cf4a |
# Python code
|
|
|
51cf4a |
%global compileall2_version 0.7.1
|
|
|
51cf4a |
Source301: https://github.com/fedora-python/compileall2/raw/v%{compileall2_version}/compileall2.py
|
|
|
6f4bc5 |
Source302: import_all_modules.py
|
|
|
51cf4a |
|
|
|
51cf4a |
BuildArch: noarch
|
|
|
51cf4a |
|
|
|
51cf4a |
# For %%__default_python3_pkgversion used in %%python_provide
|
|
|
51cf4a |
# For python.lua
|
|
|
51cf4a |
# For compileall2.py
|
|
|
51cf4a |
Requires: python-srpm-macros = %{version}-%{release}
|
|
|
51cf4a |
|
|
|
51cf4a |
%description
|
|
|
51cf4a |
This package contains the unversioned Python RPM macros, that most
|
|
|
51cf4a |
implementations should rely on.
|
|
|
51cf4a |
|
|
|
51cf4a |
You should not need to install this package manually as the various
|
|
|
51cf4a |
python?-devel packages require it. So install a python-devel package instead.
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%package -n python-srpm-macros
|
|
|
51cf4a |
Summary: RPM macros for building Python source packages
|
|
|
51cf4a |
|
|
|
51cf4a |
# For directory structure and flags macros
|
|
|
51cf4a |
Requires: redhat-rpm-config
|
|
|
51cf4a |
|
|
|
51cf4a |
# We bundle our own software here :/
|
|
|
51cf4a |
Provides: bundled(python3dist(compileall2)) = %{compileall2_version}
|
|
|
51cf4a |
|
|
|
51cf4a |
%description -n python-srpm-macros
|
|
|
51cf4a |
RPM macros for building Python source packages.
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%package -n python3-rpm-macros
|
|
|
51cf4a |
Summary: RPM macros for building Python 3 packages
|
|
|
51cf4a |
|
|
|
51cf4a |
# For %%__python3 and %%python3
|
|
|
51cf4a |
Requires: python-srpm-macros = %{version}-%{release}
|
|
|
51cf4a |
|
|
|
6f4bc5 |
# For %%py_setup and import_all_modules.py
|
|
|
51cf4a |
Requires: python-rpm-macros = %{version}-%{release}
|
|
|
51cf4a |
|
|
|
51cf4a |
%description -n python3-rpm-macros
|
|
|
51cf4a |
RPM macros for building Python 3 packages.
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%prep
|
|
|
51cf4a |
%autosetup -c -T
|
|
|
51cf4a |
cp -a %{sources} .
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%install
|
|
|
51cf4a |
mkdir -p %{buildroot}%{rpmmacrodir}
|
|
|
51cf4a |
install -m 644 macros.* %{buildroot}%{rpmmacrodir}/
|
|
|
51cf4a |
|
|
|
51cf4a |
mkdir -p %{buildroot}%{_rpmluadir}/fedora/srpm
|
|
|
51cf4a |
install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm python.lua
|
|
|
51cf4a |
|
|
|
51cf4a |
mkdir -p %{buildroot}%{_rpmconfigdir}/redhat
|
|
|
51cf4a |
install -m 644 compileall2.py %{buildroot}%{_rpmconfigdir}/redhat/
|
|
|
6f4bc5 |
install -m 644 import_all_modules.py %{buildroot}%{_rpmconfigdir}/redhat/
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%check
|
|
|
51cf4a |
# no macros in comments
|
|
|
51cf4a |
! grep -E '^#[^%%]*%%[^%%]' %{buildroot}%{rpmmacrodir}/macros.*
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%files
|
|
|
51cf4a |
%{rpmmacrodir}/macros.python
|
|
|
51cf4a |
%{rpmmacrodir}/macros.pybytecompile
|
|
|
6f4bc5 |
%{_rpmconfigdir}/redhat/import_all_modules.py
|
|
|
51cf4a |
|
|
|
51cf4a |
%files -n python-srpm-macros
|
|
|
51cf4a |
%{rpmmacrodir}/macros.python-srpm
|
|
|
51cf4a |
%{_rpmconfigdir}/redhat/compileall2.py
|
|
|
51cf4a |
%{_rpmluadir}/fedora/srpm/python.lua
|
|
|
51cf4a |
|
|
|
51cf4a |
%files -n python3-rpm-macros
|
|
|
51cf4a |
%{rpmmacrodir}/macros.python3
|
|
|
51cf4a |
|
|
|
51cf4a |
|
|
|
51cf4a |
%changelog
|
|
|
6f4bc5 |
* Tue Dec 21 2021 Karolina Surma <ksurma@redhat.com> - 3.9-48
|
|
|
6f4bc5 |
- Fix CI test configuration, so that pytest can import the package code
|
|
|
6f4bc5 |
|
|
|
6f4bc5 |
* Wed Dec 08 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-47
|
|
|
6f4bc5 |
- Set %%__python3 value according to %%python3_pkgversion
|
|
|
6f4bc5 |
I.e. when %%python3_pkgversion is 3.12, %%__python3 is /usr/bin/python3.12
|
|
|
6f4bc5 |
|
|
|
6f4bc5 |
* Mon Nov 01 2021 Karolina Surma <ksurma@redhat.com> - 3.9-46
|
|
|
6f4bc5 |
- Fix multiline arguments processing for %%py_check_import
|
|
|
6f4bc5 |
- Fix %%py_shebang_flags handling within %%py_check_import
|
|
|
6f4bc5 |
- Process .pth files in buildroot's sitedirs in %%py_check_import
|
|
|
6f4bc5 |
- Move import_all_modules.py from python-srpm-macros to python-rpm-macros
|
|
|
6f4bc5 |
|
|
|
6f4bc5 |
* Mon Oct 25 2021 Karolina Surma <ksurma@redhat.com> - 3.9-45
|
|
|
6f4bc5 |
- Introduce -f (read from file) option to %%py{3}_check_import
|
|
|
6f4bc5 |
- Introduce -t (filter top-level modules) option to %%py{3}_check_import
|
|
|
6f4bc5 |
- Introduce -e (exclude module globs) option to %%py{3}_check_import
|
|
|
6f4bc5 |
|
|
|
6f4bc5 |
* Thu Sep 09 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-44
|
|
|
6f4bc5 |
- Set $RPM_BUILD_ROOT in %%{python3_...} macros
|
|
|
6f4bc5 |
to allow selecting alternate sysconfig install scheme based on that variable
|
|
|
6f4bc5 |
|
|
|
3ddaf2 |
* Wed Aug 11 2021 Tomas Orsava <torsava@redhat.com> - 3.9-43
|
|
|
3ddaf2 |
- Define a new macros %%python_wheel_dir and %%python_wheel_pkg_prefix
|
|
|
3ddaf2 |
- Related: rhbz#1982668
|
|
|
3ddaf2 |
|
|
|
51cf4a |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.9-42
|
|
|
51cf4a |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
51cf4a |
Related: rhbz#1991688
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Jul 07 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-41
|
|
|
51cf4a |
- Introduce %%py3_check_import
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jun 28 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-40
|
|
|
51cf4a |
- %%pytest: Set $PYTEST_ADDOPTS when %%{__pytest_addopts} is defined
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jun 15 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-39
|
|
|
51cf4a |
- Fix %%python_provide when fed python3.10-foo to obsolete python-foo instead of python--foo
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Apr 27 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-38
|
|
|
51cf4a |
- Escape %% symbols in macro files comments
|
|
|
51cf4a |
- Fixes: rhbz#1953910
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Apr 16 2021 Karolina Surma <ksurma@redhat.com> - 3.9-37
|
|
|
51cf4a |
- Use sysconfig.get_path() to get %%python3_sitelib and %%python3_sitearch
|
|
|
51cf4a |
- Fixes: rhbz#1947468
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Apr 16 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-36.1
|
|
|
51cf4a |
- Allow commas as argument separator for extras names in %%python_extras_subpkg
|
|
|
51cf4a |
- Fixes: rhbz#1936486
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.9-36
|
|
|
51cf4a |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Feb 20 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-35
|
|
|
51cf4a |
- Fix %%python_extras_subpkg with underscores in extras names
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Feb 08 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-34
|
|
|
51cf4a |
- Remove python2-rpm-macros
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/Disable_Python_2_Dist_RPM_Generators_and_Freeze_Python_2_Macros
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Feb 05 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-13
|
|
|
51cf4a |
- Automatically word-wrap the description of extras subpackages
|
|
|
51cf4a |
- Fixes: rhbz#1922442
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9-12
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Dec 08 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-11
|
|
|
51cf4a |
- Support defining %%py3_shebang_flags to %%nil
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Sep 14 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-10
|
|
|
51cf4a |
- Add %%python3_platform_triplet and %%python3_ext_suffix
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Jul 24 2020 Lumír Balhar <lbalhar@redhat.com> - 3.9-9
|
|
|
51cf4a |
- Adapt %%py[3]_shebang_fix to use versioned pathfixX.Y.py
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Jul 24 2020 Lumír Balhar <lbalhar@redhat.com> - 3.9-8
|
|
|
51cf4a |
- Disable Python hash seed randomization in %%py_byte_compile
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jul 21 2020 Lumír Balhar <lbalhar@redhat.com> - 3.9-7
|
|
|
51cf4a |
- Make %%py3_dist respect %%python3_pkgversion
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jul 16 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-6
|
|
|
51cf4a |
- Make the unversioned %%__python macro error
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/PythonMacroError
|
|
|
51cf4a |
- Make %%python macros more consistent with %%python3 macros
|
|
|
51cf4a |
- Define %%python_platform (as a Python version agnostic option to %%python3_platform)
|
|
|
51cf4a |
- Add --no-index --no-warn-script-location pip options to %%pyX_install_wheel
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Jul 08 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-5
|
|
|
51cf4a |
- Introduce %%python_extras_subpkg
|
|
|
51cf4a |
- Adapt %%py_dist_name to keep square brackets
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/PythonExtras
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jun 16 2020 Lumír Balhar <lbalhar@redhat.com> - 3.9-4
|
|
|
51cf4a |
- Use compileall from stdlib for Python >= 3.9
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jun 11 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-3
|
|
|
51cf4a |
- Allow to combine %%pycached with other macros (e.g. %%exclude or %%ghost) (#1838992)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat May 30 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-2
|
|
|
51cf4a |
- Require the exact same version-release of other subpackages of this package
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu May 21 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9-1
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/Python3.9
|
|
|
51cf4a |
- Switch the %%py_dist_name macro to convert dots (".") into dashes as defined in PEP 503 (#1791530)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon May 11 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-8
|
|
|
51cf4a |
- Implement %%pytest
|
|
|
51cf4a |
- Implement %%pyX_shebang_fix
|
|
|
51cf4a |
- Strip tildes from %%version in %%pypi_source by default
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu May 07 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-7
|
|
|
51cf4a |
- Change %%__default_python3_pkgversion from 38 to 3.8
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue May 05 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-6
|
|
|
51cf4a |
- Require recent enough SRPM macros from RPM macros, to prevent missing Lua files
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue May 05 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-5
|
|
|
51cf4a |
- Implement %%py_provides
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon May 04 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.8-4
|
|
|
51cf4a |
- Make %%py3_install_wheel macro remove direct_url.json file created by PEP 610.
|
|
|
51cf4a |
- https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Apr 27 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-3
|
|
|
51cf4a |
- Make pythonX-rpm-macros depend on python-rpm-macros (#1827811)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Mar 31 2020 Lumír Balhar <lbalhar@redhat.com> - 3.8-2
|
|
|
51cf4a |
- Update of bundled compileall2 module to 0.7.1 (bugfix release)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Mar 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8-1
|
|
|
51cf4a |
- Hardcode the default Python 3 version in the SRPM macros (#1812087)
|
|
|
51cf4a |
- Provide python38-foo for python3-foo and the other way around (future RHEL compatibility)
|
|
|
51cf4a |
- %%python_provide: Allow any names starting with "python" or "pypy"
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Feb 10 2020 Miro Hrončok <mhroncok@redhat.com> - 3-54
|
|
|
51cf4a |
- Update of bundled compileall2 module to 0.7.0
|
|
|
51cf4a |
Adds the optional --hardlink-dupes flag for compileall2 for pyc deduplication
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Feb 06 2020 Miro Hrončok <mhroncok@redhat.com> - 3-53
|
|
|
51cf4a |
- Define %%py(2|3)?_shbang_opts_nodash to be used with pathfix.py -a
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3-52
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Dec 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3-51
|
|
|
51cf4a |
- Define %%python, but make it work only if %%__python is redefined
|
|
|
51cf4a |
- Add the %%pycached macro
|
|
|
51cf4a |
- Remove stray __pycache__ directory from /usr/bin when running %%py_install,
|
|
|
51cf4a |
%%py_install_wheel and %%py_build_wheel macros
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Nov 26 2019 Lumír Balhar <lbalhar@redhat.com> - 3-50
|
|
|
51cf4a |
- Update of bundled compileall2 module
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Sep 27 2019 Miro Hrončok <mhroncok@redhat.com> - 3-49
|
|
|
51cf4a |
- Define %%python2 and %%python3
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Aug 26 2019 Miro Hrončok <mhroncok@redhat.com> - 3-48
|
|
|
51cf4a |
- Drop --strip-file-prefix option from %%pyX_install_wheel macros, it is not needed
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3-47
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Jul 12 2019 Miro Hrončok <mhroncok@redhat.com> - 3-46
|
|
|
51cf4a |
- %%python_provide: Switch python2 and python3 behavior
|
|
|
51cf4a |
- https://fedoraproject.org/wiki/Changes/Python_means_Python3
|
|
|
51cf4a |
- Use compileall2 module for byte-compilation with Python >= 3.4
|
|
|
51cf4a |
- Do not allow passing arguments to Python during byte-compilation
|
|
|
51cf4a |
- Use `-s` argument for Python during byte-compilation
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jul 09 2019 Miro Hrončok <mhroncok@redhat.com> - 3-45
|
|
|
51cf4a |
- %%python_provide: Don't try to obsolete %%_isa provides
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jun 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3-44
|
|
|
51cf4a |
- Make %%__python /usr/bin/python once again until we are ready
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jun 10 2019 Miro Hrončok <mhroncok@redhat.com> - 3-43
|
|
|
51cf4a |
- Define %%python_sitelib, %%python_sitearch, %%python_version, %%python_version_nodots,
|
|
|
51cf4a |
in rpm 4.15 those are no longer defined, the meaning of python is derived from %%__python.
|
|
|
51cf4a |
- Usage of %%__python or the above-mentioned macros will error unless user defined.
|
|
|
51cf4a |
- The %%python_provide macro no longer gives the arched provide for arched packages (#1705656)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3-42
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-41
|
|
|
51cf4a |
- Add %%python_disable_dependency_generator
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Dec 05 2018 Miro Hrončok <mhroncok@redhat.com> - 3-40
|
|
|
51cf4a |
- Workaround leaking buildroot PATH in %%py_byte_compile (#1647212)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Nov 01 2018 Petr Viktorin <pviktori@redhat.com> - 3-39
|
|
|
51cf4a |
- Move "sleep 1" workaround from py3_build to py2_build (#1644923)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Sep 20 2018 Tomas Orsava <torsava@redhat.com> - 3-38
|
|
|
51cf4a |
- Move the __python2/3 macros to the python-srpm-macros subpackage
|
|
|
51cf4a |
- This facilitates using the %%{__python2/3} in Build/Requires
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Aug 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3-37
|
|
|
51cf4a |
- Make %%py_byte_compile terminate build on SyntaxErrors (#1616219)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Aug 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3-36
|
|
|
51cf4a |
- Make %%py_build wokr if %%__python is defined to custom value
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-35
|
|
|
51cf4a |
- Change way how enabling-depgen works internally
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Jul 14 2018 Tomas Orsava <torsava@redhat.com> - 3-34
|
|
|
51cf4a |
- macros.pybytecompile: Detect Python version through sys.version_info instead
|
|
|
51cf4a |
of guessing from the executable name
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3-33
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jul 10 2018 Tomas Orsava <torsava@redhat.com> - 3-32
|
|
|
51cf4a |
- Fix %%py_byte_compile macro: when invoked with a Python 2 binary it also
|
|
|
51cf4a |
mistakenly ran py3_byte_compile
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jul 03 2018 Miro Hrončok <mhroncok@redhat.com> - 3-31
|
|
|
51cf4a |
- Add %%python3_platform useful for PYTHONPATH on arched builds
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jun 18 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-30
|
|
|
51cf4a |
- Add %%pypi_source macro, as well as %%__pypi_url and
|
|
|
51cf4a |
%%_pypi_default_extension.
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Apr 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3-29
|
|
|
51cf4a |
- move macros.pybytecompile from python3-devel
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Apr 06 2018 Tomas Orsava <torsava@redhat.com> - 3-28
|
|
|
51cf4a |
- Fix the %%py_dist_name macro to not convert dots (".") into dashes, so that
|
|
|
51cf4a |
submodules can be addressed as well
|
|
|
51cf4a |
Resolves: rhbz#1564095
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Mar 23 2018 Miro Hrončok <mhroncok@redhat.com> - 3-27
|
|
|
51cf4a |
- make LDFLAGS propagated whenever CFLAGS are
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3-26
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-25
|
|
|
51cf4a |
- Add %%python_enable_dependency_generator
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 3-24
|
|
|
51cf4a |
- Remove platform-python macros (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Oct 26 2017 Ville Skyttä <ville.skytta@iki.fi> - 3-23
|
|
|
51cf4a |
- Use -Es/-I to invoke macro scriptlets (#1506355)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Aug 02 2017 Tomas Orsava <torsava@redhat.com> - 3-22
|
|
|
51cf4a |
- Add platform-python macros (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-21
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Mar 03 2017 Michal Cyprian <mcyprian@redhat.com> - 3-20
|
|
|
51cf4a |
- Revert "Switch %%__python3 to /usr/libexec/system-python"
|
|
|
51cf4a |
after the Fedora Change https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
|
|
|
51cf4a |
was postponed
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri Feb 17 2017 Michal Cyprian <mcyprian@redhat.com> - 3-19
|
|
|
51cf4a |
- Switch %%__python3 to /usr/libexec/system-python
|
|
|
51cf4a |
|
|
|
51cf4a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-18
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jan 23 2017 Michal Cyprian <mcyprian@redhat.com> - 3-17
|
|
|
51cf4a |
- Add --no-deps option to py_install_wheel macros
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jan 17 2017 Tomas Orsava <torsava@redhat.com> - 3-16
|
|
|
51cf4a |
- Added macros for Build/Requires tags using Python dist tags:
|
|
|
51cf4a |
https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Nov 24 2016 Orion Poplawski <orion@cora.nwra.com> 3-15
|
|
|
51cf4a |
- Make expanded macros start on the same line as the macro
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Nov 16 2016 Orion Poplawski <orion@cora.nwra.com> 3-14
|
|
|
51cf4a |
- Fix %%py3_install_wheel (bug #1395953)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Nov 16 2016 Orion Poplawski <orion@cora.nwra.com> 3-13
|
|
|
51cf4a |
- Add missing sleeps to other build macros
|
|
|
51cf4a |
- Fix build_egg macros
|
|
|
51cf4a |
- Add %%py_build_wheel and %%py_install_wheel macros
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Nov 15 2016 Orion Poplawski <orion@cora.nwra.com> 3-12
|
|
|
51cf4a |
- Add %%py_build_egg and %%py_install_egg macros
|
|
|
51cf4a |
- Allow multiple args to %%py_build/install macros
|
|
|
51cf4a |
- Tidy up macro formatting
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Aug 24 2016 Orion Poplawski <orion@cora.nwra.com> 3-11
|
|
|
51cf4a |
- Use %%rpmmacrodir
|
|
|
51cf4a |
|
|
|
51cf4a |
* Tue Jul 12 2016 Orion Poplawski <orion@cora.nwra.com> 3-10
|
|
|
51cf4a |
- Do not generate useless Obsoletes with %%{?_isa}
|
|
|
51cf4a |
|
|
|
51cf4a |
* Fri May 13 2016 Orion Poplawski <orion@cora.nwra.com> 3-9
|
|
|
51cf4a |
- Make python-rpm-macros require python-srpm-macros (bug #1335860)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu May 12 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-8
|
|
|
51cf4a |
- Add single-second sleeps to work around setuptools bug.
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3-7
|
|
|
51cf4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-6
|
|
|
51cf4a |
- Fix typo in %%python_provide
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-5
|
|
|
51cf4a |
- Handle noarch python sub-packages (bug #1290900)
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> 3-4
|
|
|
51cf4a |
- Fix python2/3-rpm-macros package names
|
|
|
51cf4a |
|
|
|
51cf4a |
* Thu Jan 7 2016 Orion Poplawski <orion@cora.nwra.com> 3-3
|
|
|
51cf4a |
- Add empty %%prep and %%build
|
|
|
51cf4a |
|
|
|
51cf4a |
* Mon Jan 4 2016 Orion Poplawski <orion@cora.nwra.com> 3-2
|
|
|
51cf4a |
- Combined package
|
|
|
51cf4a |
|
|
|
51cf4a |
* Wed Dec 30 2015 Orion Poplawski <orion@cora.nwra.com> 3-1
|
|
|
51cf4a |
- Initial package
|