Code Review
/
ta
/
rpmbuilder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix building of forked upstream packages
[ta/rpmbuilder.git]
/
rpmbuilder
/
rpmtools.py
diff --git
a/rpmbuilder/rpmtools.py
b/rpmbuilder/rpmtools.py
index
a9ab625
..
ef1c9c7
100644
(file)
--- a/
rpmbuilder/rpmtools.py
+++ b/
rpmbuilder/rpmtools.py
@@
-128,10
+128,10
@@
class Specworker(object):
'Failed to parse %global macro "{}" (error: {})'.format(linestripped,
str(err)))
'Failed to parse %global macro "{}" (error: {})'.format(linestripped,
str(err)))
- elif linestripped.lower().startswith("buildrequires:"):
+ elif linestripped.lower().startswith("buildrequires:")
and "only_builddep_resolve" not in self.spec_globals
:
self.buildrequires.extend(self.__get_value_from_line(linestripped))
self.buildrequires.extend(self.__get_value_from_line(linestripped))
- elif linestripped.lower().startswith("requires:"):
+ elif linestripped.lower().startswith("requires:")
and "only_builddep_resolve" not in self.spec_globals
:
self.requires.extend(self.__get_value_from_line(linestripped))
elif linestripped.lower().startswith("release:"):
self.requires.extend(self.__get_value_from_line(linestripped))
elif linestripped.lower().startswith("release:"):