How to Install and Uninstall rpkg-macros.noarch Package on Fedora 38
Last updated: October 30,2024
1. Install "rpkg-macros.noarch" package
In this section, we are going to explain the necessary steps to install rpkg-macros.noarch on Fedora 38
$
sudo dnf update
Copied
$
sudo dnf install
rpkg-macros.noarch
Copied
2. Uninstall "rpkg-macros.noarch" package
This is a short guide on how to uninstall rpkg-macros.noarch on Fedora 38:
$
sudo dnf remove
rpkg-macros.noarch
Copied
$
sudo dnf autoremove
Copied
3. Information about the rpkg-macros.noarch package on Fedora 38
Last metadata expiration check: 0:05:10 ago on Sun Mar 17 04:59:58 2024.
Available Packages
Name : rpkg-macros
Version : 2.0
Release : 4.fc38
Architecture : noarch
Size : 40 k
Source : rpkg-macros-2.0-4.fc38.src.rpm
Repository : fedora
Summary : Set of preproc macros for rpkg utility
URL : https://pagure.io/rpkg-util.git
License : GPLv2+
Description : Set of preproc macros to be used by rpkg utility. They
: are designed to dynamically generate certain parts
: of rpm spec files. You can use those macros also without
: rpkg by:
:
: $ cat | preproc -s /usr/lib/rpkg.macros.d/all.bash -e INPUT_PATH=
:
: INPUT_PATH env variable is passed to preproc to inform
: macros about the input file location. The variable is used
: to derive INPUT_DIR_PATH variable which rpkg macros use.
:
: If neither INPUT_PATH nor INPUT_DIR_PATH are specified,
: INPUT_PATH will stay empty and INPUT_DIR_PATH will default
: to '.' (the current working directory).
:
: Another option to experiment with the macros is to source
: /usr/lib/rpkg.macros.d/all.bash into your bash environment
: Then you can directly invoke the macros on your command-line
: as bash functions. See content in /usr/lib/rpkg.macros.d to
: discover available macros.
:
: Please, see man rpkg-macros for more information.
Available Packages
Name : rpkg-macros
Version : 2.0
Release : 4.fc38
Architecture : noarch
Size : 40 k
Source : rpkg-macros-2.0-4.fc38.src.rpm
Repository : fedora
Summary : Set of preproc macros for rpkg utility
URL : https://pagure.io/rpkg-util.git
License : GPLv2+
Description : Set of preproc macros to be used by rpkg utility. They
: are designed to dynamically generate certain parts
: of rpm spec files. You can use those macros also without
: rpkg by:
:
: $ cat
:
: INPUT_PATH env variable is passed to preproc to inform
: macros about the input file location. The variable is used
: to derive INPUT_DIR_PATH variable which rpkg macros use.
:
: If neither INPUT_PATH nor INPUT_DIR_PATH are specified,
: INPUT_PATH will stay empty and INPUT_DIR_PATH will default
: to '.' (the current working directory).
:
: Another option to experiment with the macros is to source
: /usr/lib/rpkg.macros.d/all.bash into your bash environment
: Then you can directly invoke the macros on your command-line
: as bash functions. See content in /usr/lib/rpkg.macros.d to
: discover available macros.
:
: Please, see man rpkg-macros for more information.