XYZ File Manager
Current Path:
/lib/rpm/macros.d
lib
/
rpm
/
macros.d
/
π
..
π
macros.aaa-pyproject-srpm
(879 B)
π
macros.alt-python311
(2.03 KB)
π
macros.clang
(522 B)
π
macros.cmake
(2.28 KB)
π
macros.dist
(252 B)
π
macros.dwz
(1.76 KB)
π
macros.efi-srpm
(3.19 KB)
π
macros.environment-modules
(75 B)
π
macros.fedora-misc
(2.42 KB)
π
macros.fedora-misc-srpm
(1.68 KB)
π
macros.firewalld
(239 B)
π
macros.fonts-srpm
(5.17 KB)
π
macros.forge
(3.25 KB)
π
macros.ghc-srpm
(535 B)
π
macros.go-srpm
(9.81 KB)
π
macros.java-srpm
(94 B)
π
macros.kernel-srpm
(109 B)
π
macros.kmp
(4.35 KB)
π
macros.ldc-srpm
(70 B)
π
macros.ldconfig
(307 B)
π
macros.lua-srpm
(283 B)
π
macros.mono-srpm
(181 B)
π
macros.nodejs-srpm
(324 B)
π
macros.ocaml-srpm
(745 B)
π
macros.openblas-srpm
(104 B)
π
macros.perl-srpm
(862 B)
π
macros.pkgconf
(61 B)
π
macros.python-srpm
(11.13 KB)
π
macros.qt5-qtbase
(78 B)
π
macros.qt5-srpm
(492 B)
π
macros.rust-srpm
(1.34 KB)
π
macros.scl
(13.45 KB)
π
macros.selinux-policy
(6.9 KB)
π
macros.systemd
(6.92 KB)
π
macros.sysusers
(343 B)
π
macros.valgrind-srpm
(127 B)
π
macros.vim
(40 B)
π
macros.vpath
(241 B)
Editing: macros.fedora-misc-srpm
# Fedora macros, safe to use at SRPM build stage # A directory for rpm macros %rpmmacrodir /usr/lib/rpm/macros.d # A directory for appdata metainfo. This has changed between releases so a # macro is useful. %_metainfodir %{_datadir}/metainfo # A directory for SWID tag files describing the installation %_swidtagdir %{_prefix}/lib/swidtag/fedoraproject.org # Applies the fedora.wordwrap filter to the content of an rpm variable, and # prints the result. # βΒ putting multiple lines of UTF-8 text inside a variable is usually # accomplished with %{expand:some_text} # Control variables, flags and arguments: # -v <variable_name> (default value: _description) %wordwrap(v:) %{lua: local fedora = require "fedora.common" local variable = "%{?" .. rpm.expand("%{-v*}%{!-v:_description}") .. "}" print(fedora.wordwrap(variable)) } # A single Name: and %package substitute # Control variables, flags and arguments: # %{source_name} the SRPM name # %{source_summary} the SRPM summary # %{source_description} the SRPM description # -n <name> declare a package named <name> # (%package-like behavior) # -v be verbose # %1 declare a package named %{source_name}-%{%1} # (%package-like behavior) %new_package(n:v) %{lua: local fedora = require "fedora.common" local pkg_name = fedora.readflag("n") local verbose = fedora.hasflag("v") local name_suffix = fedora.read("1") local source_name = fedora.read("source_name") local first = not ( fedora.read("name") or fedora.read("currentname") ) fedora.new_package(source_name, pkg_name, name_suffix, first, verbose) }
Upload File
Create Folder