commit 94b6b596a642a417461e1454c031e2d4946fd40f Author: tigro Date: Sat Jan 4 15:35:10 2025 +0300 import python-recommonmark-0.7.1-10.git.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f45f6df --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/recommonmark-0.7.1.tar.gz diff --git a/.python-recommonmark.metadata b/.python-recommonmark.metadata new file mode 100644 index 0000000..7c22682 --- /dev/null +++ b/.python-recommonmark.metadata @@ -0,0 +1 @@ +60042c874c0600517edb11d264bce1ec61a15d4f SOURCES/recommonmark-0.7.1.tar.gz diff --git a/SPECS/python-recommonmark.spec b/SPECS/python-recommonmark.spec new file mode 100644 index 0000000..7a623b1 --- /dev/null +++ b/SPECS/python-recommonmark.spec @@ -0,0 +1,215 @@ +%global sum docutils-compatibility bridge to CommonMark +%global desc A docutils-compatibility bridge to CommonMark.\ +\ +This allows you to write CommonMark inside of Docutils & Sphinx projects.\ +\ +Documentation is available on Read the Docs: http://recommonmark.readthedocs.org + +Name: python-recommonmark +Version: 0.7.1 +Release: 10.git%{?dist} +Summary: %{sum} + +License: MIT +URL: https://github.com/readthedocs/recommonmark +Source0: https://github.com/readthedocs/recommonmark/archive/%{version}/recommonmark-%{version}.tar.gz +BuildArch: noarch + +%description +%{desc} + + +%package -n python%{python3_pkgversion}-recommonmark +Summary: %{sum} +BuildArch: noarch +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-docutils +BuildRequires: python%{python3_pkgversion}-CommonMark +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-sphinx +%{?python_provide:%python_provide python%{python3_pkgversion}-recommonmark} + +%description -n python%{python3_pkgversion}-recommonmark +%{desc} + + +%prep +%setup -qn recommonmark-%{version} +# Remove upstream's egg-info +rm -rf recommonmark.egg-info + +sed -i '1{\@^#!/usr/bin/env python@d}' recommonmark/scripts.py + + +%build +%py3_build + + +%install +# install python3 first to have unversioned binaries for python 3 +%py3_install +pushd %{buildroot}%{_bindir} # Enter buildroot bindir to ease symlink creation +for cm2bin in cm2*; do + mv "${cm2bin}" "${cm2bin}-%{python3_version}" + ln -s "${cm2bin}-%{python3_version}" "${cm2bin}-3" +done +popd # Leave buildroot bindir + + + +%check +# Skip some tests because of https://github.com/readthedocs/recommonmark/issues/164 +%pytest --ignore tests/test_sphinx.py + + +%files -n python%{python3_pkgversion}-recommonmark +%doc README.md +%license license.md +%{python3_sitelib}/recommonmark-%{version}*-py%{python3_version}.egg-info/ +%{python3_sitelib}/recommonmark/ +%{_bindir}/cm2*-3 +%{_bindir}/cm2*-%{python3_version} + + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 0.7.1-10.git +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.7.1-10.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.7.1-9.git +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.7.1-8.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.7.1-7.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Sep 21 2023 Miro Hrončok - 0.7.1-6.git +- Run at least some tests during the build +- Remove duplicate manual runtime Requires + +* Fri Jul 21 2023 Fedora Release Engineering - 0.7.1-5.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 0.7.1-4.git +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.7.1-3.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.7.1-2.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 29 2022 Julien Enselme - 0.7.1-1 +- Update to 0.7.1 + +* Mon Jun 13 2022 Python Maint - 0.6.0-7.git +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-6.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-5.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.6.0-4.git +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-3.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-2.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 18 2020 Julien Enselme - 0.6.0-1 +- Update to 0.6.0 + +* Tue May 26 2020 Miro Hrončok - 0.5.0-6.git +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.0-5.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.5.0-4.git +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.5.0-3.git +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.0-2.git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jul 13 2019 Julien Enselme - 0.5.0-1 +- Update to 0.5.0 +- Skip some broken tests. + +* Sat Feb 02 2019 Fedora Release Engineering - 0.4.0-19.gitdbed1c4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Oct 20 2018 Julien Enselme - 0.4.0-18.gitdbed1c4 +- Bump version + +* Sat Oct 20 2018 Julien Enselme - 0.4.0-17.gitdbed1c4 +- Fix import of commonmark +- Remove Python 2 subpackage + +* Sat Jul 14 2018 Fedora Release Engineering - 0.4.0-16.gitdbed1c4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.4.0-15.gitdbed1c4 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.4.0-14.gitdbed1c4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 27 2018 Iryna Shcherbina - 0.4.0-13.gitdbed1c4 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Thu Jul 27 2017 Fedora Release Engineering - 0.4.0-12.gitdbed1c4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 22 2017 Julien Enselme - 0.4.0-11.gitdbed1c4 +- Fix requires + +* Wed Feb 22 2017 Julien Enselme - 0.4.0-10.gitdbed1c4 +- Add support for CommonMark 0.7.0 + +* Sat Feb 11 2017 Fedora Release Engineering - 0.4.0-9.git7ca5247 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.4.0-8.git7ca5247 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.4.0-7.git7ca5247 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Mon Jul 11 2016 Julien Enselme - 0.4.0-6.git7ca5247 +- Fix typo in comment + +* Thu Feb 04 2016 Fedora Release Engineering - 0.4.0-5.git7ca5247 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jan 18 2016 Julien Enselme - 0.4.0-4.git7ca5247 +- Move unversionned binaries to python2 subpackage + +* Sun Jan 17 2016 Julien Enselme - 0.4.0-3.git7ca5247 +- Use tarball from github to have tests and LICENSE +- Add %%check section + +* Sat Jan 16 2016 Julien Enselme - 0.4.0-2 +- Remove separate source tag for license +- Add binary to python2 subpackage + +* Sun Jan 10 2016 Julien Enselme - 0.4.0-1 +- Update to 0.4.0 + +* Thu Dec 31 2015 Julien Enselme - 0.2.0-2 +- Add missing dist tag + +* Fri Dec 4 2015 Julien Enselme - 0.2.0-1 +- Inital package