Compare commits

..

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

2
.gitignore vendored

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

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

@ -2,48 +2,48 @@
%global pkgname markdown %global pkgname markdown
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 3.5.1 Version: 3.3.4
Release: 6%{?dist} Release: 4%{?dist}
Summary: Markdown implementation in Python Summary: Markdown implementation in Python
License: BSD-3-Clause License: BSD
URL: https://python-markdown.github.io/ URL: https://python-markdown.github.io/
Source0: %{pypi_source} Source0: %{pypi_source}
BuildArch: noarch 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
%global _description %{expand: %description
This is a Python implementation of John Grubers Markdown. It is This is a Python implementation of John Grubers Markdown. It is
almost completely compliant with the reference implementation, though 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
%package -n python3-%{pkgname} Conflicts: python2-%{pkgname} < 3.1-2
Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%description -n python3-%{pkgname} %_description %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.
%prep %prep
%autosetup -p1 -n %{srcname}-%{version} %autosetup -p1 -n %{srcname}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
%install %install
%pyproject_install %py3_install
%pyproject_save_files %{pkgname}
# process license file # process license file
PYTHONPATH=%{buildroot}%{python3_sitelib} \ PYTHONPATH=%{buildroot}%{python3_sitelib} \
@ -55,79 +55,22 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%python3 -m unittest discover tests %python3 -m unittest discover tests
%files -n python3-%{pkgname} -f %{pyproject_files} %files -n python%{python3_pkgversion}-%{pkgname}
# temporarily skip packaging docs - see also # temporarily skip packaging docs - see also
# https://github.com/Python-Markdown/markdown/issues/621 # https://github.com/Python-Markdown/markdown/issues/621
#doc python3/build/docs/* #doc python3/build/docs/*
%license LICENSE.html LICENSE.md %license LICENSE.*
%{python3_sitelib}/*
%{_bindir}/markdown_py %{_bindir}/markdown_py
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.5.1-6 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.4-4
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* 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
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.3.4-3 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.4-3
- Rebuilt for Python 3.10 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-2 * Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-2
- Apply PR6 by Igor Raits <ignatenkobrain@fedoraproject.org>: Support - Apply PR6 by Igor Raits <ignatenkobrain@fedoraproject.org>: Support

Loading…
Cancel
Save