Compare commits

..

No commits in common. "fbd283fde0503271c7f51e077583779a3ba81066" and "00b3401f7f4210d7f4f0b57778be897b7af62711" have entirely different histories.

4 changed files with 10 additions and 29 deletions

BIN
productmd-1.30.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,13 @@
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):
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"
elif self.name.startswith("EulerOS"):
self.name = "EulerOS"
self.short = "EulerOS"
--
2.27.0
else:
self.short = None

View File

@ -1,5 +1,5 @@
Name: python-productmd
Version: 1.38
Version: 1.30
Release: 1
Summary: Python library providing parsers for metadata
License: LGPLv2+
@ -53,25 +53,10 @@ sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py
%files -n python3-productmd
%license LICENSE AUTHORS
%{python3_sitelib}/*
%{python3_sitelib}/productmd/
%{python3_sitelib}/productmd-%{version}-py?.?.egg-info
%changelog
* Tue Jan 30 2024 zhaotianyang <zhaotianyang4@huawei.com> - 1.38-1
- upgrade version to 1.38
- add image type: dvd-ostree-osbuild, live-osbuild and ociarchive
* Sat Jul 29 2023 shixuantong <shixuantong1@huawei.com> - 1.36-1
- upgrade version to 1.36
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.33-2
- Rebuild for next release
* Mon Dec 20 2021 renhongxun <renhongxun@huawei.com> - 1.33-1
- Upgrade to version 1.33
* Sat Dec 04 2021 shixuantong <shixuantong@huawei.com> - 1.30-2
- fix build fail for python3.10
* Tue Feb 2 2021 shangyibin <shangyibin1@huawei.com> - 1.30-1
- Upgrade to version 1.30