diff --git a/productmd-1.22.tar.bz2 b/productmd-1.22.tar.bz2 deleted file mode 100644 index 24cc358f454d5a5291cfc96b82cfbba98d4289b5..0000000000000000000000000000000000000000 Binary files a/productmd-1.22.tar.bz2 and /dev/null differ diff --git a/productmd-1.26.tar.bz2 b/productmd-1.26.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..b7865b029f2eb9375dec47d6db01636cc6c6d2e1 Binary files /dev/null and b/productmd-1.26.tar.bz2 differ diff --git a/productmd-add-support-generic-os.patch b/productmd-add-support-generic-os.patch deleted file mode 100644 index 4b1e6ab8bcc820046a8c8a64efa0cfe859b8e0a0..0000000000000000000000000000000000000000 --- a/productmd-add-support-generic-os.patch +++ /dev/null @@ -1,13 +0,0 @@ -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): - 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 = None - diff --git a/python-productmd.spec b/python-productmd.spec index 541d81bee4d628d945b967244d0ea8b8fc0a83ff..6bad93b5ab1dea8037815d5047ae4f83fdcf88ef 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -1,13 +1,11 @@ Name: python-productmd -Version: 1.22 -Release: 2 +Version: 1.26 +Release: 1 Summary: Python library providing parsers for metadata License: LGPLv2+ URL: https://github.com/release-engineering/productmd Source0: https://files.pythonhosted.org/packages/source/p/productmd/productmd-%{version}.tar.bz2 -Patch9000: productmd-add-support-generic-os.patch - BuildArch: noarch %description @@ -69,6 +67,12 @@ sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py %{python3_sitelib}/productmd-%{version}-py?.?.egg-info %changelog +* Fri Jul 24 2020 tianwei - 1.26-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update to release 1.26 + * Wed Oct 23 2019 openEuler Buildteam - 1.22-2 - Type:enhancement - ID:NA