Go to file
Miro Hrončok 6186b94b6e 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-15 12:13:38 +02:00
tests Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-15 12:13:38 +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:25:45 +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-25 10:47:10 +02:00
macros.python-srpm Strip tildes from %version in %pypi_source by default, add tests 2020-05-25 10:47:10 +02:00
macros.python2 Implement %pyX_shebang_fix 2020-05-25 10:47:10 +02:00
macros.python3 Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-15 12:13:38 +02:00
python-rpm-macros.spec Allow to combine %pycached with other macros (e.g. %exclude or %ghost) 2020-06-15 12:13:38 +02:00
sources Initial setup of the repo 2016-01-12 23:33:17 +00:00