Compare commits
No commits in common. "rawhide" and "f29" have entirely different histories.
1 changed files with 27 additions and 94 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
Name: python-xmltramp
|
Name: python-xmltramp
|
||||||
Version: 2.18
|
Version: 2.18
|
||||||
Release: 29%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Pythonic API for XML
|
Summary: Pythonic API for XML
|
||||||
|
|
||||||
# Automatically converted from old format: GPLv2 - review is highly recommended.
|
Group: Development/Languages
|
||||||
License: GPL-2.0-only
|
License: GPLv2
|
||||||
# License text is not present in the upstream file, though clearly marked as GPLv2
|
# License text is not present in the upstream file, though clearly marked as GPLv2
|
||||||
# See https://www.redhat.com/archives/fedora-legal-list/2008-January/msg00010.html
|
# See https://www.redhat.com/archives/fedora-legal-list/2008-January/msg00010.html
|
||||||
|
|
||||||
|
|
@ -18,13 +18,20 @@ Patch4: 0004-empty-slice-is-slice-None-None-None-on-Python-3.patch
|
||||||
Patch5: 0005-use-OrderedDict-for-attributes-and-namespaces.patch
|
Patch5: 0005-use-OrderedDict-for-attributes-and-namespaces.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
xmltramp is a simple Pythonic API for working with XML.
|
xmltramp is a simple Pythonic API for working with XML
|
||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python2-xmltramp
|
||||||
|
Summary: %summary
|
||||||
|
%{?python_provide:%python_provide python2-xmltramp}
|
||||||
|
|
||||||
|
%description -n python2-xmltramp %_description
|
||||||
|
|
||||||
%package -n python3-xmltramp
|
%package -n python3-xmltramp
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-xmltramp}
|
%{?python_provide:%python_provide python3-xmltramp}
|
||||||
|
|
@ -34,109 +41,35 @@ Summary: %summary
|
||||||
%prep
|
%prep
|
||||||
%setup -c -T
|
%setup -c -T
|
||||||
cp -p %{SOURCE0} xmltramp.py
|
cp -p %{SOURCE0} xmltramp.py
|
||||||
%patch -P1 -p1
|
%patch1 -p1
|
||||||
%patch -P2 -p1
|
%patch2 -p1
|
||||||
%patch -P3 -p1
|
%patch3 -p1
|
||||||
%patch -P4 -p1
|
%patch4 -p1
|
||||||
%patch -P5 -p1
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# noarch
|
# noarch
|
||||||
|
|
||||||
%install
|
|
||||||
install -Dm0644 -t %{buildroot}%{python3_sitelib}/ xmltramp.py
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%{__python2} xmltramp.py
|
||||||
%{__python3} xmltramp.py
|
%{__python3} xmltramp.py
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{python2_sitelib}/
|
||||||
|
cp -p xmltramp.py $RPM_BUILD_ROOT/%{python2_sitelib}/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{python3_sitelib}/
|
||||||
|
cp -p xmltramp.py $RPM_BUILD_ROOT/%{python3_sitelib}/
|
||||||
|
|
||||||
|
%files -n python2-xmltramp
|
||||||
|
%{python2_sitelib}/xmltramp.py*
|
||||||
|
|
||||||
%files -n python3-xmltramp
|
%files -n python3-xmltramp
|
||||||
%{python3_sitelib}/xmltramp.py*
|
%{python3_sitelib}/xmltramp.py*
|
||||||
%{python3_sitelib}/__pycache__/
|
%{python3_sitelib}/__pycache__/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.18-29
|
|
||||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
||||||
|
|
||||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.18-28
|
|
||||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
||||||
|
|
||||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-27
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 2.18-26
|
|
||||||
- Rebuilt for Python 3.14
|
|
||||||
|
|
||||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-25
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 2.18-24
|
|
||||||
- convert license to SPDX
|
|
||||||
|
|
||||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-23
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.18-22
|
|
||||||
- Rebuilt for Python 3.13
|
|
||||||
|
|
||||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-21
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-20
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-19
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.18-18
|
|
||||||
- Rebuilt for Python 3.12
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-17
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.18-15
|
|
||||||
- Rebuilt for Python 3.11
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-14
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.18-12
|
|
||||||
- Rebuilt for Python 3.10
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.18-9
|
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.18-7
|
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
||||||
|
|
||||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.18-6
|
|
||||||
- Rebuilt for Python 3.8
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.18-3
|
|
||||||
- Python2 binary package has been removed
|
|
||||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-2
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue