forked from pool/python-PyBindGen
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2b3084635c | |||
| c60dba5220 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 18 04:41:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Use pyproject macros to build and install.
|
||||||
|
- Explicitly list files and directories in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 1 16:01:08 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Thu Sep 1 16:01:08 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyBindGen
|
# spec file for package python-PyBindGen
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
|
|
||||||
Name: python-PyBindGen
|
Name: python-PyBindGen
|
||||||
Version: 0.22.1
|
Version: 0.22.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,8 +24,10 @@ License: LGPL-2.1-only
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://github.com/gjcarneiro/pybindgen
|
URL: https://github.com/gjcarneiro/pybindgen
|
||||||
Source0: https://pypi.io/packages/source/P/PyBindGen/PyBindGen-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/P/PyBindGen/PyBindGen-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
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
|
||||||
@@ -43,14 +43,15 @@ A tool to generate Python bindings for C/C++ code.
|
|||||||
find pybindgen/ -iname \*.py -exec sed -ie '1 { \#/usr/bin# d }' '{}' \;
|
find pybindgen/ -iname \*.py -exec sed -ie '1 { \#/usr/bin# d }' '{}' \;
|
||||||
|
|
||||||
%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}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pybindgen
|
||||||
|
%{python_sitelib}/[Pp]y[Bb]ind[Gg]en-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user