Go to file
Miro Hrončok 985a80572f Allow to combine %pycached with other macros (e.g. %exclude or %ghost)
Previous implementation allowed for only one argument to be passed to
the %pycached macro, which made it impossible to combine it with other macros.

Current implementation allows to pass other macros as arguments to
%pycached.

Example:

    %pycached %exclude /path/to/foo.py

For macro expansion limitations, the opposite order is not possible.
That is to be documented in the guidelines:
https://pagure.io/packaging-committee/pull-request/986

Added some tests.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1838992

Co-authored-by: Marcel Plch <mplch@redhat.com>
2020-06-11 20:51:34 +02:00
tests Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-11 20:51:34 +02: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 Do not allow passing arguments to Python during byte-compilation 2019-07-15 14:26:49 +02:00
macros.python Implement %pyX_shebang_fix 2020-05-18 18:58:39 +02:00
macros.python-srpm https://fedoraproject.org/wiki/Changes/Python3.9 2020-05-21 17:39:01 +02:00
macros.python2 Implement %pyX_shebang_fix 2020-05-18 18:58:39 +02:00
macros.python3 Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-11 20:51:34 +02:00
python-rpm-macros.spec Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-11 20:51:34 +02: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