%global _empty_manifest_terminate_build 0 Name: python-mdformat-gfm Version: 0.3.5 Release: 1 Summary: Mdformat plugin for GitHub Flavored Markdown compatibility. License: MIT URL: https://github.com/hukkinj1/mdformat-gfm Source0: https://files.pythonhosted.org/packages/5e/31/1ac2f7f7a16ef33b4de03c9296afe18659624d67886da802a871c85eef31/mdformat-gfm-0.3.5.tar.gz Patch1: 0001-removes-cap-on-mdit-py-plugins-dependency.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-poetry-core %description Mdformat plugin for GitHub Flavored Markdown compatibility. %package -n python3-mdformat-gfm Summary: Mdformat plugin for GitHub Flavored Markdown compatibility. Provides: python-mdformat-gfm BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-hatchling %description -n python3-mdformat-gfm Mdformat plugin for GitHub Flavored Markdown compatibility. %package help Summary: Development documents and examples for mdformat-gfm Provides: python3-mdformat-gfm-doc %description help Development documents and examples for mdformat-gfm. %prep %autosetup -p1 -n mdformat-gfm-%{version} %build %pyproject_build %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files -n python3-mdformat-gfm %doc README.md %license LICENSE %{python3_sitelib}/mdformat_gfm %{python3_sitelib}/mdformat_gfm*.dist-info/ %files help %{_docdir}/* %changelog * Tue Nov 7 2023 Dongxing Wang - 0.3.5-1 - Init package.