1 Star 0 Fork 21

zjut_zy/python-productmd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-productmd.spec 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
zhaotianyang 提交于 2024-01-30 17:28 . upgrade version to 1.38
Name: python-productmd
Version: 1.38
Release: 1
Summary: Python library providing parsers for metadata
License: LGPLv2+
URL: https://github.com/release-engineering/productmd
Source0: %{pypi_source productmd %{version}}
Patch9000:productmd-add-support-generic-os.patch
BuildArch: noarch
%description
This package is a Python library providing parsers for metadata related to
composes and installation media.
%package -n python3-productmd
Summary: productmd for python3
BuildRequires: python3-devel python3-setuptools python3-six sed
Requires: python3-six
%description -n python3-productmd
Productmd for python3.
%prep
%autosetup -n productmd-%{version} -p1
sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py
%build
%py3_build
%install
%py3_install
%check
%{__python3} ./setup.py test
%pre
%preun
%post
%postun
%files -n python3-productmd
%license LICENSE AUTHORS
%{python3_sitelib}/*
%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
* Wed Nov 4 2020 wangjie<wangjie294@huawei.com> -1.26-3
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove python2
* Tue Oct 20 2020 tianwei <tianwei12@huawei.com> - 1.26-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add support generic os patch
* 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
- SUG:NA
- DESC:add support generic os
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zjuzy/python-productmd.git
git@gitee.com:zjuzy/python-productmd.git
zjuzy
python-productmd
python-productmd
master

搜索帮助