COMAR dosyaları da oluşturan paketin içerisine yerleştiriliyor artık.
pspec.xml yapısını oldukça iyi tasarlamışız. Kendimizi seviyorum...
This commit is contained in:
@@ -250,6 +250,15 @@ class PisiBuild:
|
||||
pkg = Package(pkgName, 'w')
|
||||
c = os.getcwd()
|
||||
|
||||
# add comar files to package
|
||||
os.chdir(self.pspecDir)
|
||||
for pcomar in package.providesComar:
|
||||
fname = os.path.join(const.comar_dir,
|
||||
pcomar.script)
|
||||
pkg.add_to_package(fname)
|
||||
|
||||
|
||||
# add xmls and files
|
||||
os.chdir(self.ctx.pkg_dir())
|
||||
pkg.add_to_package(const.metadata_xml)
|
||||
pkg.add_to_package(const.files_xml)
|
||||
|
||||
Reference in New Issue
Block a user