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