diff --git a/mbs-cg-upload.patch b/mbs-cg-upload.patch index 6a185ac..a82ff6b 100644 --- a/mbs-cg-upload.patch +++ b/mbs-cg-upload.patch @@ -10,6 +10,24 @@ index 078cc1f..4c9ee67 100644 import koji +@@ -273,7 +274,7 @@ class KojiContentGenerator(object): + u'filesize': len(self.mmd), + u'checksum_type': u'md5', + u'checksum': unicode(hashlib.md5(self.mmd).hexdigest()), +- u'filename': u'modulemd.yaml', ++ u'filename': u'modulemd.txt', + u'components': components + } + ) +@@ -317,7 +318,7 @@ class KojiContentGenerator(object): + Returns path to the temporary directory + """ + prepdir = tempfile.mkdtemp(prefix="koji-cg-import") +- mmd_path = os.path.join(prepdir, "modulemd.yaml") ++ mmd_path = os.path.join(prepdir, "modulemd.txt") + with open(mmd_path, "w") as mmd_f: + mmd_f.write(self.mmd) + @@ -328,6 +328,32 @@ class KojiContentGenerator(object): return prepdir diff --git a/module-build-service.spec b/module-build-service.spec index c43519d..30f4cd3 100644 --- a/module-build-service.spec +++ b/module-build-service.spec @@ -1,6 +1,6 @@ Name: module-build-service Version: 1.3.25 -Release: 6%{?dist} +Release: 7%{?dist} Summary: The Module Build Service for Modularity @@ -224,6 +224,9 @@ done %changelog +* Mon Aug 07 2017 Jan Kaluza - 1.3.25-7 +- upload modulemd.yaml to Koji as modulemd.txt + * Fri Aug 04 2017 Jan Kaluza - 1.3.25-6 - fix tagging components when all of them are reused