forked from pool/python-derpconf
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5d28a530b4 | |||
| 15ac04b123 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 14 17:46:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 14 17:46:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-derpconf
|
# spec file for package python-derpconf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 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
|
||||||
@@ -26,8 +26,10 @@ URL: https://github.com/globocom/derpconf
|
|||||||
Source: https://github.com/globocom/derpconf/archive/refs/tags/%{version}.tar.gz
|
Source: https://github.com/globocom/derpconf/archive/refs/tags/%{version}.tar.gz
|
||||||
# https://github.com/globocom/derpconf/issues/26
|
# https://github.com/globocom/derpconf/issues/26
|
||||||
Patch0: python-derpconf-no-six.patch
|
Patch0: python-derpconf-no-six.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyVows}
|
BuildRequires: %{python_module pyVows}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -41,10 +43,10 @@ derpconf abstracts loading configuration files for your app.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i '1{/^#!/ d}' derpconf/*.py
|
sed -i '1{/^#!/ d}' derpconf/*.py
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user