diff --git a/productmd-1.33.tar.gz b/productmd-1.33.tar.gz deleted file mode 100644 index 090ce62..0000000 Binary files a/productmd-1.33.tar.gz and /dev/null differ diff --git a/productmd-1.36.tar.gz b/productmd-1.36.tar.gz new file mode 100644 index 0000000..ef4b99d Binary files /dev/null and b/productmd-1.36.tar.gz differ diff --git a/productmd-add-support-generic-os.patch b/productmd-add-support-generic-os.patch index edb1ef5..72aa22f 100644 --- a/productmd-add-support-generic-os.patch +++ b/productmd-add-support-generic-os.patch @@ -1,13 +1,17 @@ -diff -uNrp a/productmd/treeinfo.py b/productmd/treeinfo.py ---- a/productmd/treeinfo.py 2016-11-15 15:04:26.000000000 +0000 -+++ b/productmd/treeinfo.py 2019-01-10 16:44:48.998592066 +0000 -@@ -245,6 +245,9 @@ class Release(BaseProduct): +diff --git a/productmd/treeinfo.py b/productmd/treeinfo.py +index 4ba6e9d..27927a4 100644 +--- a/productmd/treeinfo.py ++++ b/productmd/treeinfo.py +@@ -260,6 +260,9 @@ class Release(BaseProduct): elif self.name.startswith("CentOS"): self.name = "CentOS" self.short = "CentOS" + elif self.name.startswith("generic_os"): + self.name = "generic_os" + self.short = "generic_os" - else: - self.short = "" - + elif self.name.startswith("EulerOS"): + self.name = "EulerOS" + self.short = "EulerOS" +-- +2.27.0 + diff --git a/python-productmd.spec b/python-productmd.spec index a70036e..bcef3b9 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -1,6 +1,6 @@ Name: python-productmd -Version: 1.33 -Release: 2 +Version: 1.36 +Release: 1 Summary: Python library providing parsers for metadata License: LGPLv2+ URL: https://github.com/release-engineering/productmd @@ -56,6 +56,9 @@ sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py %{python3_sitelib}/* %changelog +* Sat Jul 29 2023 shixuantong - 1.36-1 +- upgrade version to 1.36 + * Wed Oct 26 2022 zhangruifang - 1.33-2 - Rebuild for next release