Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37897139
en ru br
ALT Linux repos
4.1: 0.2-alt1
4.0: 0.2-alt1

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:

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

List of contributors

List of rpms provided by this srpm:

  • rpm-build-spec2macro
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin