Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Markdown-3.3.4.tar.gz
SOURCES/Markdown-3.5.1.tar.gz

@ -1 +1 @@
e6a49d903afcaeb861ee53ffe8751640ca97b2c8 SOURCES/Markdown-3.3.4.tar.gz
5db17edab42330d87a51696f78b3a17e8d6851da SOURCES/Markdown-3.5.1.tar.gz

@ -2,48 +2,48 @@
%global pkgname markdown
Name: python-%{pkgname}
Version: 3.3.4
Release: 4%{?dist}
Version: 3.5.1
Release: 6%{?dist}
Summary: Markdown implementation in Python
License: BSD
License: BSD-3-Clause
URL: https://python-markdown.github.io/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-PyYAML
%if ( 0%{?rhel} && 0%{?rhel} <= 9 )
BuildRequires: python3-importlib-metadata >= 4.4
Requires: python3-importlib-metadata >= 4.4
%endif
%description
%global _description %{expand:
This is a Python implementation of John Grubers Markdown. It is
almost completely compliant with the reference implementation, though
there are a few very minor differences.
there are a few very minor differences.}
%description %_description
%package -n python%{python3_pkgversion}-%{pkgname}
Summary: Markdown implementation in Python
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-PyYAML
BuildRequires: python%{python3_pkgversion}-setuptools
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: python%{python3_pkgversion}-importlib-metadata
Requires: python%{python3_pkgversion}-importlib-metadata
%endif
Conflicts: python2-%{pkgname} < 3.1-2
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%package -n python3-%{pkgname}
Summary: %{summary}
%description -n python%{python3_pkgversion}-%{pkgname}
This is a Python implementation of John Gruber's Markdown. It is
almost completely compliant with the reference implementation, though
there are a few known issues.
%description -n python3-%{pkgname} %_description
%prep
%autosetup -p1 -n %{srcname}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files %{pkgname}
# process license file
PYTHONPATH=%{buildroot}%{python3_sitelib} \
@ -55,22 +55,79 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%python3 -m unittest discover tests
%files -n python%{python3_pkgversion}-%{pkgname}
%files -n python3-%{pkgname} -f %{pyproject_files}
# temporarily skip packaging docs - see also
# https://github.com/Python-Markdown/markdown/issues/621
#doc python3/build/docs/*
%license LICENSE.*
%{python3_sitelib}/*
%license LICENSE.html LICENSE.md
%{_bindir}/markdown_py
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.4-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.5.1-6
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Aug 19 2024 Tomas Popela <tpopela@redhat.com> - 3.5.1-5
- Move to SDPX license format
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.5.1-4
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Nov 4 2023 Thomas Moschny <thomas.moschny@gmx.de> - 3.5.1-1
- Update to 3.5.1.
* Sun Oct 22 2023 Thomas Moschny <thomas.moschny@gmx.de> - 3.5-1
- Update to 3.5.
* Sun Jul 30 2023 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.4-1
- Update to 3.4.4.
- Update packaging.
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.4.1-3
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 29 2022 Sandro Mani <manisandro@gmail.com> - 3.4.1-1
- Update to 3.4.1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3.7-2
- Rebuilt for Python 3.11
* Sat May 28 2022 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.7-1
- Update to 3.3.7.
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Dec 5 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.6-2
- Update requirements for Python < 3.10.
* Sat Nov 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.6-1
- Update to 3.3.6.
* Sat Nov 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.5-1
- Update to 3.3.5.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.4-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.3.4-3
- Rebuilt for Python 3.10
* Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-2
- Apply PR6 by Igor Raits <ignatenkobrain@fedoraproject.org>: Support

Loading…
Cancel
Save