%global pypi_name junitxml Name: python-%{pypi_name} Version: 0.7 Release: 38%{?dist} Summary: PyJUnitXML, a pyunit extension to output JUnit compatible XML License: LGPL-3.0-only URL: https://launchpad.net/pyjunitxml Source0: https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %global _description\ PyJUnitXML\ ==========\ A Python unittest TestResult that outputs JUnit\ compatible XML. %description %_description %package -n python3-%{pypi_name} Summary: PyJUnitXML, a pyunit extension to output JUnit compatible XML BuildRequires: python3-devel %description -n python3-%{pypi_name} PyJUnitXML ========== A Python unittest TestResult that outputs JUnit compatible XML. %prep %setup -q -n %{pypi_name}-%{version} rm -rf %{py3dir} cp -a . %{py3dir} %build pushd %{py3dir} %{__python3} setup.py build popd %install pushd %{py3dir} %{__python3} setup.py install --skip-build --root %{buildroot} popd mv %{buildroot}%{_bindir}/pyjunitxml %{buildroot}%{_bindir}/pyjunitxml-%{python3_version} ln -s ./pyjunitxml-%{python3_version} %{buildroot}%{_bindir}/pyjunitxml-3 %files -n python3-%{pypi_name} %doc COPYING %{_bindir}/pyjunitxml-3 %{_bindir}/pyjunitxml-%{python3_version} %{python3_sitelib}/* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.7-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.7-37 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.7-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.7-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.7-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.7-33 - Rebuilt for Python 3.12 * Wed Mar 01 2023 Gwyn Ciesla - 0.7-32 - migrated to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 0.7-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 21 2022 Gwyn Ciesla - 0.7-30 - BR setuptools. * Fri Jul 22 2022 Fedora Release Engineering - 0.7-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7-28 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.7-25 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.7-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.7-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.7-22 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.7-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 23 2019 Gwyn Ciesla - 0.7-20 - Drop Python 2 support, no more consumers. * Mon Aug 19 2019 Miro Hrončok - 0.7-19 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.7-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.7-15 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Iryna Shcherbina - 0.7-14 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.7-12 - Python 2 binary package renamed to python2-junitxml See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Feb 16 2017 Iryna Shcherbina - 0.7-10 - Fix python-junitxml dragging in both Python 3 and Python 2 (RHBZ#1422933) * Sat Feb 11 2017 Fedora Release Engineering - 0.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.7-8 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.7-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Tue Apr 29 2014 Steve Linabery - 0.7-1 - Initial package.