2020-03-09 17:34:58 +08:00
|
|
|
Name: python-junitxml
|
|
|
|
|
Version: 0.7
|
2020-10-29 10:17:25 +08:00
|
|
|
Release: 18
|
2020-03-09 17:34:58 +08:00
|
|
|
Summary: Python unittest TestResult that outputs JUnit compatible XML
|
|
|
|
|
License: LGPLv3
|
|
|
|
|
URL: https://launchpad.net/pyjunitxml
|
|
|
|
|
Source0: https://pypi.python.org/packages/source/j/junitxml/junitxml-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
2020-10-29 10:17:25 +08:00
|
|
|
BuildRequires: python3-devel
|
2020-03-09 17:34:58 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A Python unittest TestResult that outputs JUnit compatible
|
|
|
|
|
XML.
|
|
|
|
|
|
|
|
|
|
%package -n python3-junitxml
|
|
|
|
|
Summary: Python unittest TestResult that outputs JUnit compatible XML
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
%description -n python3-junitxml
|
|
|
|
|
A Python unittest TestResult that outputs JUnit compatible
|
|
|
|
|
XML.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n junitxml-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2020-10-29 10:17:25 +08:00
|
|
|
%{__python3} setup.py build
|
2020-03-09 17:34:58 +08:00
|
|
|
|
|
|
|
|
%install
|
2020-10-29 10:17:25 +08:00
|
|
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
2020-03-09 17:34:58 +08:00
|
|
|
mv %{buildroot}%{_bindir}/pyjunitxml %{buildroot}%{_bindir}/pyjunitxml-%{python3_version}
|
|
|
|
|
ln -s ./pyjunitxml-%{python3_version} %{buildroot}%{_bindir}/pyjunitxml-3
|
|
|
|
|
|
|
|
|
|
%files -n python3-junitxml
|
|
|
|
|
%{_bindir}/pyjunitxml-3
|
|
|
|
|
%{_bindir}/pyjunitxml-%{python3_version}
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-10-29 10:17:25 +08:00
|
|
|
* Wed Oct 21 2020 Ge wang <wangge20@huawei.com> - 0.7-18
|
|
|
|
|
- remove python2 packages
|
|
|
|
|
|
2020-03-09 17:34:58 +08:00
|
|
|
* Mon Mar 9 2020 likexin <likexin4@huawei.com> - 0.7-17
|
|
|
|
|
- package init
|