forked from pool/python-pycparser
Accepting request 1282619 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1282619 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycparser?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 4 09:29:45 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 21 08:39:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sun Apr 21 08:39:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pycparser
|
# spec file for package python-pycparser
|
||||||
#
|
#
|
||||||
# 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,12 +26,13 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/eliben/pycparser
|
URL: https://github.com/eliben/pycparser
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
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
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,10 +46,10 @@ front-end for C compilers or analysis tools.
|
|||||||
sed -i 's/\r//' LICENSE
|
sed -i 's/\r//' LICENSE
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
|
%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -58,6 +59,7 @@ sed -i 's/\r//' LICENSE
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pycparser
|
||||||
|
%{python_sitelib}/pycparser-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user