- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs-redirects?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 2 09:06:27 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 18 15:28:48 UTC 2021 - Elisei Roca <eroca@mailbox.org>
|
Thu Nov 18 15:28:48 UTC 2021 - Elisei Roca <eroca@mailbox.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mkdocs-redirects
|
# spec file for package python-mkdocs-redirects
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-mkdocs-redirects
|
Name: python-mkdocs-redirects
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,10 +23,12 @@ Summary: Plugin for mkdocs to create page redirects
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/datarobot/mkdocs-redirects
|
URL: https://github.com/datarobot/mkdocs-redirects
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/mkdocs-redirects/mkdocs-redirects-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/mkdocs-redirects/mkdocs-redirects-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: %{python_module mkdocs >= 1.0.4}
|
BuildRequires: %{python_module mkdocs >= 1.0.4}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-mkdocs >= 1.0.4
|
Requires: python-mkdocs >= 1.0.4
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -41,14 +41,15 @@ A MkDocs plugin for dynamic page redirects to prevent broken links
|
|||||||
%setup -q -n mkdocs-redirects-%{version}
|
%setup -q -n mkdocs-redirects-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/mkdocs[-_]redirects
|
||||||
|
%{python_sitelib}/mkdocs[-_]redirects-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user