forked from examachine/pisi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
patch
29 lines (26 loc) · 1.27 KB
/
patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- build.py (revision 4541)
+++ build.py (working copy)
@@ -232,7 +232,7 @@
for patch in spec.source.patches:
file_name = basename(patch.filename)
dir_name = dirname(patch.filename)
- patchuri = join(self.location,
+ patchuri = join(self.specdiruri,
ctx.const.files_dir, dir_name, file_name)
self.download(patchuri, join(self.destdir, ctx.const.files_dir, dir_name))
@@ -240,7 +240,7 @@
spec = self.spec
for package in spec.packages:
for pcomar in package.providesComar:
- comaruri = join(self.location,
+ comaruri = join(self.specdiruri,
ctx.const.comar_dir, pcomar.script)
self.download(comaruri, join(self.destdir, ctx.const.comar_dir))
@@ -250,7 +250,7 @@
for afile in pkg.additionalFiles:
file_name = basename(afile.filename)
dir_name = dirname(afile.filename)
- afileuri = join(self.location,
+ afileuri = join(self.specdiruri,
ctx.const.files_dir, dir_name, file_name)
self.download(afileuri, join(self.destdir, ctx.const.files_dir, dir_name))