projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8db77b7
)
Don't update target for anything other than the first file per package.
author
Sam Hartman
<hartmans@debian.org>
Tue, 20 May 2014 01:28:32 +0000
(21:28 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 23 Jun 2014 15:03:54 +0000
(11:03 -0400)
rpm-builder
patch
|
blob
|
history
diff --git
a/rpm-builder
b/rpm-builder
index
5492784
..
75a3399
100755
(executable)
--- a/
rpm-builder
+++ b/
rpm-builder
@@
-139,7
+139,8
@@
for t in os.listdir(dist_dir):
if target_type == ".spec":
package_order[trimmed] = t
else:
- if trimmed not in package_order: package_order[trimmed] = t
+ # Replace None but nothing else
+ if not package_order.get(trimmed): package_order[trimmed] = t