2019-11-06 19:49:52 +08:00
|
|
|
Name: python-productmd
|
2024-01-30 17:28:03 +08:00
|
|
|
Version: 1.38
|
2023-07-29 10:43:34 +08:00
|
|
|
Release: 1
|
2019-11-06 19:49:52 +08:00
|
|
|
Summary: Python library providing parsers for metadata
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://github.com/release-engineering/productmd
|
2021-02-02 16:57:42 +08:00
|
|
|
Source0: %{pypi_source productmd %{version}}
|
2019-11-06 19:49:52 +08:00
|
|
|
|
2020-10-20 14:52:06 +08:00
|
|
|
Patch9000:productmd-add-support-generic-os.patch
|
|
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
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
|
2019-12-13 16:04:34 +08:00
|
|
|
BuildRequires: python3-devel python3-setuptools python3-six sed
|
2019-11-06 19:49:52 +08:00
|
|
|
Requires: python3-six
|
|
|
|
|
|
|
|
|
|
%description -n python3-productmd
|
|
|
|
|
Productmd for python3.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n productmd-%{version} -p1
|
|
|
|
|
|
2019-12-13 16:04:34 +08:00
|
|
|
sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py
|
|
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
%build
|
2020-10-20 15:20:25 +08:00
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
2020-10-20 15:20:25 +08:00
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
2020-10-20 15:20:25 +08:00
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
%{__python3} ./setup.py test
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
2020-10-20 15:20:25 +08:00
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
|
|
|
|
|
%files -n python3-productmd
|
|
|
|
|
%license LICENSE AUTHORS
|
2021-12-20 15:50:51 +08:00
|
|
|
%{python3_sitelib}/*
|
2019-11-06 19:49:52 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2024-01-30 17:28:03 +08:00
|
|
|
* 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
|
|
|
|
|
|
2023-07-29 10:43:34 +08:00
|
|
|
* Sat Jul 29 2023 shixuantong <shixuantong1@huawei.com> - 1.36-1
|
|
|
|
|
- upgrade version to 1.36
|
|
|
|
|
|
2022-10-26 07:58:30 +00:00
|
|
|
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.33-2
|
|
|
|
|
- Rebuild for next release
|
|
|
|
|
|
2021-12-20 15:50:51 +08:00
|
|
|
* Mon Dec 20 2021 renhongxun <renhongxun@huawei.com> - 1.33-1
|
|
|
|
|
- Upgrade to version 1.33
|
|
|
|
|
|
2021-12-04 17:42:53 +08:00
|
|
|
* Sat Dec 04 2021 shixuantong <shixuantong@huawei.com> - 1.30-2
|
|
|
|
|
- fix build fail for python3.10
|
|
|
|
|
|
2021-02-02 16:57:42 +08:00
|
|
|
* Tue Feb 2 2021 shangyibin <shangyibin1@huawei.com> - 1.30-1
|
|
|
|
|
- Upgrade to version 1.30
|
|
|
|
|
|
2020-10-20 15:20:25 +08:00
|
|
|
* Wed Nov 4 2020 wangjie<wangjie294@huawei.com> -1.26-3
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2
|
|
|
|
|
|
2020-10-20 14:52:06 +08:00
|
|
|
* Tue Oct 20 2020 tianwei <tianwei12@huawei.com> - 1.26-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add support generic os patch
|
|
|
|
|
|
2020-07-24 20:08:50 +08:00
|
|
|
* Fri Jul 24 2020 tianwei <tianwei12@huawei.com> - 1.26-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to release 1.26
|
|
|
|
|
|
2019-12-13 16:04:34 +08:00
|
|
|
* Wed Oct 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add support generic os
|
|
|
|
|
|
2019-11-06 19:49:52 +08:00
|
|
|
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22-1
|
|
|
|
|
- Package init
|