aboutsummaryrefslogtreecommitdiffstats
path: root/create-srpm
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-01-29 18:14:56 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-01-29 18:14:56 +0000
commita493be252f25b57767023930d4ed927b37816e71 (patch)
treee25eb71eba2146cac6dd8dc4bbb4b7c043d65076 /create-srpm
parentd4d9914ec004a9ad1b767bc177d45af6694080be (diff)
downloadmgarepo-a493be252f25b57767023930d4ed927b37816e71.tar
mgarepo-a493be252f25b57767023930d4ed927b37816e71.tar.gz
mgarepo-a493be252f25b57767023930d4ed927b37816e71.tar.bz2
mgarepo-a493be252f25b57767023930d4ed927b37816e71.tar.xz
mgarepo-a493be252f25b57767023930d4ed927b37816e71.zip
Removed bogus macros files and added [macros ..] sections to repsys.conf.
These sections are referenced by the "rpm-macros" option in [submit ..] sections and contain the RPM macros to be used with the target of the package being generated. These macros are defined using --define option of rpm.
Diffstat (limited to 'create-srpm')
-rwxr-xr-xcreate-srpm3
1 files changed, 2 insertions, 1 deletions
diff --git a/create-srpm b/create-srpm
index fc235bf..5223d45 100755
--- a/create-srpm
+++ b/create-srpm
@@ -52,7 +52,8 @@ class CmdIface:
packager=packager,
revname=1,
svnlog=1,
- scripts=target.scripts)
+ scripts=target.scripts,
+ macros=target.macros)
uploadsrpm = get_helper("upload-srpm")
if uploadsrpm: