forked from pool/python-CommonMark
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
3a95968cae | |||
af239c202d |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 13:01:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:20:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-CommonMark
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,11 +26,12 @@ Summary: Python parser for the CommonMark Markdown spec
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/rtfd/CommonMark-py
|
||||
Source: https://files.pythonhosted.org/packages/source/c/commonmark/commonmark-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Provides: python-commonmark = %{version}
|
||||
Obsoletes: python-commonmark < %{version}
|
||||
BuildArch: noarch
|
||||
@@ -55,10 +56,10 @@ CommonMark specification, using only native modules.
|
||||
%setup -q -n commonmark-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/cmark
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -80,7 +81,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} python3 commonmark/tests/run_spec_test
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/commonmark
|
||||
%{python_sitelib}/commonmark-%{version}*-info
|
||||
%{python_sitelib}/commonmark-%{version}*info
|
||||
%python_alternative %{_bindir}/cmark
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user