Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Tag: | Revision:
# Created by pyp2rpm-3.3.3
%global pypi_name pycparser

Name: python-%{pypi_name}
Version: 2.19
Release: 2%{?dist}
Summary: C parser in Python

License: BSD
URL: https://github.com/eliben/pycparser
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

BuildArch: noarch

BuildRequires: python3-devel
BuildRequires: python3-setuptools

%description
%{summary}

%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name}
%{summary}

%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

%changelog
* Fri Feb 28 2020 Zach Huntington-Meath <zhunting@redhat.com> - 2.19-2
- Bump release to build for el8

* Tue Nov 19 2019 Evgeni Golov - 2.19-1
- Initial package.
(2-2/2)