Go to file
Miro Hrončok 8a1e9e0953 Set Version: %{__default_python3_version} to remove one place to bump
Since Fedora 33, the package version always == %{__default_python3_version}.
When we update Python to 3.X+1, we update the version and the macro.

When the macro is not updated confusing things happen.
See for example https://bugzilla.redhat.com/show_bug.cgi?id=1931421#c4

We could assert the versions match in %check instead,
but this way a temporary pull request for a new Python version, such as
https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/50
https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/84
can be kept rebased via the git forge UI.

Note that the value of %{__default_python3_version} is loaded from sources in
dist git, otherwise it would be defined by the previous build of this package.

As a result, the spec file is no longer parsable on it's own, but IMHO that's OK.
2021-02-24 13:05:56 +01:00
tests Fix %python_extras_subpkg with underscores in extras names 2021-02-20 12:52:02 +01:00
.gitignore Initial setup of the repo 2016-01-12 23:33:17 +00:00
compileall2.py Update of bundled compileall2 module to 0.7.1 (bugfix release) 2020-03-31 14:24:09 +02:00
macros.pybytecompile Disable Python hash seed randomization in %py_byte_compile 2020-07-24 07:35:07 +02:00
macros.python Support defining %py3_shebang_flags to %nil 2020-12-09 11:39:08 +01:00
macros.python-srpm Fix %python_extras_subpkg with underscores in extras names 2021-02-20 12:52:02 +01:00
macros.python3 Support defining %py3_shebang_flags to %nil 2020-12-09 11:39:08 +01:00
python-rpm-macros.spec Set Version: %{__default_python3_version} to remove one place to bump 2021-02-24 13:05:56 +01:00
python.lua Make %py_provides work repeatedly 2020-05-05 13:54:28 +02:00
sources Initial setup of the repo 2016-01-12 23:33:17 +00:00