Пакет rpm-build-spec2macro: Информация
Исходный пакет: rpm-build-spec2macro
Версия: 0.2-alt1
Собран: 6 июля 2007 г. 0:55
Категория: Разработка/Прочее
Сообщить об ошибке в пакетеДомашняя страница:
Лицензия: GPLv2
О пакете: Convert specfile macros from specfile to rpmmacros file format
Описание:
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
Сопровождающий: Alexey Rusakov
Последнее изменение
3 июля 2007 г. Alexey Rusakov 0.2-alt1
- escape + in the sed script properly.
3 июля 2007 г. Alexey Rusakov 0.1-alt1
- Initial version