X7ROOT File Manager
Current Path:
/lib/rpm/macros.d
lib
/
rpm
/
macros.d
/
ðŸ“
..
📄
macros.alt-python310
(2.01 KB)
📄
macros.alt-python311
(2.03 KB)
📄
macros.alt-python312
(2.01 KB)
📄
macros.alt-python313
(2.01 KB)
📄
macros.alt-python38
(1.97 KB)
📄
macros.alt-python39
(1.98 KB)
📄
macros.dwz
(1.76 KB)
📄
macros.efi-srpm
(3 KB)
📄
macros.environment-modules
(75 B)
📄
macros.fedora-misc
(2.76 KB)
📄
macros.fedora-misc-srpm
(239 B)
📄
macros.firewalld
(239 B)
📄
macros.forge
(12.43 KB)
📄
macros.ghc-srpm
(414 B)
📄
macros.go-srpm
(7.17 KB)
📄
macros.info
(390 B)
📄
macros.kernel-srpm
(116 B)
📄
macros.ldc-srpm
(73 B)
📄
macros.ldconfig
(307 B)
📄
macros.mono-srpm
(181 B)
📄
macros.nodejs-srpm
(324 B)
📄
macros.ocaml-srpm
(737 B)
📄
macros.openblas-srpm
(104 B)
📄
macros.perl
(5.06 KB)
📄
macros.perl-srpm
(794 B)
📄
macros.pybytecompile
(886 B)
📄
macros.python
(3.36 KB)
📄
macros.python-srpm
(5.95 KB)
📄
macros.python2
(1.82 KB)
📄
macros.python3
(3.63 KB)
📄
macros.qt5-qtbase
(78 B)
📄
macros.ruby
(1001 B)
📄
macros.rust-srpm
(61 B)
📄
macros.scl
(13.53 KB)
📄
macros.selinux-policy
(6.61 KB)
📄
macros.systemd
(4.03 KB)
📄
macros.systemtap
(206 B)
📄
macros.valgrind-srpm
(127 B)
📄
macros.vim
(40 B)
📄
macros.vpath
(228 B)
Editing: macros.pybytecompile
# Note that the path could itself be a python file, or a directory # Python's compile_all module only works on directories, and requires a max # recursion depth # Usage: # %py_byte_compile <interpereter> <path> # Example: # %py_byte_compile %{__python3} %{buildroot}%{_datadir}/spam/plugins/ # This will terminate build on SyntaxErrors, if you want to avoid that, # use it in a subshell like this: # (%{py_byte_compile <interpereter> <path>}) || : %py_byte_compile()\ python_binary="%1"\ buildroot_path="%2"\ bytecode_compilation_path=".${buildroot_path/#$RPM_BUILD_ROOT}"\ failure=0\ pushd $RPM_BUILD_ROOT\ find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -O -m py_compile || failure=1\ find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -m py_compile || failure=1\ popd\ test $failure -eq 0
Upload File
Create Folder