|
|
@@ -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
|
|
|
|