Package init
This commit is contained in:
parent
7bf49e513a
commit
bac38ef3e5
@ -1,13 +1,12 @@
|
||||
Name: python-productmd
|
||||
Version: 1.22
|
||||
Release: 1
|
||||
Release: 2
|
||||
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-euleros.patch
|
||||
Patch9001: productmd-add-support-openeuler.patch
|
||||
Patch9000: productmd-add-support-generic-os.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -28,7 +27,7 @@ Productmd for python2.
|
||||
|
||||
%package -n python3-productmd
|
||||
Summary: productmd for python3
|
||||
BuildRequires: python3-devel python3-setuptools python3-six
|
||||
BuildRequires: python3-devel python3-setuptools python3-six sed
|
||||
Requires: python3-six
|
||||
|
||||
%description -n python3-productmd
|
||||
@ -37,6 +36,8 @@ Productmd for python3.
|
||||
%prep
|
||||
%autosetup -n productmd-%{version} -p1
|
||||
|
||||
sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
@ -68,5 +69,11 @@ Productmd for python3.
|
||||
%{python3_sitelib}/productmd-%{version}-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user