Group :: Development/Other
RPM: rpm-build-spec2macro
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.2-alt1
Build date: 3 july 2007, 23:10 ( 879.6 weeks ago )
Size: 3320 b
License: GPLv2
Summary: Convert specfile macros from specfile to rpmmacros file format
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 3 july 2007, 23:10 ( 879.6 weeks ago )
Size: 3320 b
License: GPLv2
Summary: Convert specfile macros from specfile to rpmmacros file format
Description:
This package is used with RPM specfiles. If you do not build software from sources, you don't need this package.
This package contains spec2macro RPM macro that takes a file with a set of macro %definitions and converts it to a file that can be put to /etc/rpm/macros.d/ directory. It is useful when you want to use a macro in your specfile and at the same time to install this macro from this specfile to /etc/rpm/macros.d/. A simple example (can be inserted in your specfile) follows. First, you include the file with definitions to use in your own spec:
Source10: mymacros.spec
BuildPreReq: rpm-build-spec2macro
%%include %%SOURCE10
And then, in %install section, you install these definitions:
mkdir -p %buildroot%_sysconfdir/rpm/macros.d
%spec2macro %%SOURCE10 >%buildroot%_sysconfdir/rpm/macros.d/mymacros
Current maintainer: Alexey Rusakov This package contains spec2macro RPM macro that takes a file with a set of macro %definitions and converts it to a file that can be put to /etc/rpm/macros.d/ directory. It is useful when you want to use a macro in your specfile and at the same time to install this macro from this specfile to /etc/rpm/macros.d/. A simple example (can be inserted in your specfile) follows. First, you include the file with definitions to use in your own spec:
Source10: mymacros.spec
BuildPreReq: rpm-build-spec2macro
%%include %%SOURCE10
And then, in %install section, you install these definitions:
mkdir -p %buildroot%_sysconfdir/rpm/macros.d
%spec2macro %%SOURCE10 >%buildroot%_sysconfdir/rpm/macros.d/mymacros
List of contributors List of rpms provided by this srpm:
- rpm-build-spec2macro