Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
cdb20e946d | |||
d907250560 |
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,12 +26,13 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/eliben/pycparser
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
|
||||
Source99: %{name}-rpmlintrc
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -45,10 +46,10 @@ front-end for C compilers or analysis tools.
|
||||
sed -i 's/\r//' LICENSE
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
|
||||
|
||||
%check
|
||||
@@ -58,6 +59,7 @@ sed -i 's/\r//' LICENSE
|
||||
%doc README.rst
|
||||
%doc examples/
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pycparser
|
||||
%{python_sitelib}/pycparser-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user