diff --git a/productmd-1.33.tar.gz b/productmd-1.33.tar.gz deleted file mode 100644 index 090ce62e2063cdef379531c5b87c7ef76cee328c..0000000000000000000000000000000000000000 Binary files a/productmd-1.33.tar.gz and /dev/null differ diff --git a/productmd-1.37.tar.gz b/productmd-1.37.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..68150cef1db5466c2cef6bfa49752ea67dbecf08 Binary files /dev/null and b/productmd-1.37.tar.gz differ diff --git a/productmd-add-support-generic-os.patch b/productmd-add-support-generic-os.patch index edb1ef50627aeec6b0b446b7737a860284a2e159..72aa22f89dd6ec64b2ecbdac980c74687ba7a5a4 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 8a13da4879fbe996521f174d9bd3aa3d5dec9abc..ab0a1b29cc517c1a604bee3e5e6771b221579764 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -1,6 +1,6 @@ Name: python-productmd -Version: 1.33 -Release: 2 +Version: 1.37 +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 +* Thu Nov 2 2023 caixiaomeng - 1.37-1 +- Upgrade to version 1.37 + * Wed Oct 26 2022 zhangruifang - 1.33-2 - Rebuild for next release