!2 update to release 1.26

Merge pull request !2 from tianwei/master
This commit is contained in:
openeuler-ci-bot 2020-07-25 11:49:29 +08:00 committed by Gitee
commit 592dc68d12
4 changed files with 8 additions and 17 deletions

Binary file not shown.

BIN
productmd-1.26.tar.bz2 Normal file

Binary file not shown.

View File

@ -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

View File

@ -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 <tianwei12@huawei.com> - 1.26-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update to release 1.26
* Wed Oct 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22-2
- Type:enhancement
- ID:NA