Blame python-mdx_gh_links.spec

6a50ba2
%global pypiname mdx_gh_links
6a50ba2
%global projname github-links
6a50ba2
6a50ba2
Name:           python-%{pypiname}
6a50ba2
Version:        0.2
6f3a3b6
Release:        5%{?dist}
6a50ba2
Summary:        Python-Markdown Github-Links Extension
6a50ba2
6a50ba2
License:        BSD
6a50ba2
URL:            https://github.com/Python-Markdown/%{projname}/
6a50ba2
Source0:        https://github.com/Python-Markdown/%{projname}/archive/%{version}.tar.gz#/%{projname}-%{version}.tar.gz
6a50ba2
6a50ba2
BuildArch:      noarch
6a50ba2
6a50ba2
6a50ba2
%global _description %{expand:
6a50ba2
This package provides an extension to Python-Markdown which adds support for
6a50ba2
shorthand links to GitHub users, repositories, issues and commits.}
6a50ba2
6a50ba2
%description %_description
6a50ba2
6a50ba2
%package -n python3-%{pypiname}
6a50ba2
Summary:        %{summary}
6a50ba2
BuildRequires:  python3-devel
08b4394
BuildRequires:  python3dist(setuptools)
6a50ba2
%{?python_provide:%python_provide python3-%{pypiname}}
6a50ba2
BuildRequires:  python3-markdown
6a50ba2
6a50ba2
%description -n python3-%{pypiname} %_description
6a50ba2
6a50ba2
%prep
6a50ba2
%autosetup -n %{projname}-%{version}
6a50ba2
6a50ba2
%build
6a50ba2
%py3_build
6a50ba2
6a50ba2
%install
6a50ba2
%py3_install
6a50ba2
6a50ba2
%check
6a50ba2
%{__python3} test_gh_links.py
6a50ba2
6a50ba2
%files -n python3-%{pypiname}
6a50ba2
%license LICENSE
6a50ba2
%doc README.md
6a50ba2
%{python3_sitelib}/%{pypiname}-*.egg-info/
6a50ba2
%{python3_sitelib}/%{pypiname}.py
6a50ba2
%{python3_sitelib}/__pycache__/*
6a50ba2
6a50ba2
%changelog
6f3a3b6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-5
6f3a3b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6f3a3b6
ca8b85d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-4
ca8b85d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ca8b85d
08b4394
* Thu Jun 25 2020 Robin Lee <cheeselee@fedoraproject.org> - 0.2-3
08b4394
- BR python3dist(setuptools)
08b4394
1373e79
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.2-2
1373e79
- Rebuilt for Python 3.9
1373e79
6a50ba2
* Sun Mar  8 2020 Robin Lee <cheeselee@fedoraproject.org> - 0.2-1
6a50ba2
- Initial packaging