Blob Blame History Raw
# Created by pyp2rpm-3.3.5
%global pypi_name pcicrawler

%global common_description %{expand:
pcicrawler is a CLI tool to display/filter/export information about PCI or PCI
Express devices and their topology.}

Name:           python-%{pypi_name}
Version:        1.0.0
Release:        3%{?dist}
Summary:        Display/filter/export information about PCI or PCI Express devices

License:        MIT
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  sed
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)


%package -n     %{pypi_name}
Summary:        %{summary}
%if 0%{?fedora} == 32 || 0%{?rhel} == 8
%py_provides    python3-%{pypi_name}

%description -n %{pypi_name}

%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
# Remove unnecessary shebang
sed -e '\|#!/usr/bin/env python|d' -i */*.py



%files -n %{pypi_name}

* Fri Jul 23 2021 Fedora Release Engineering <> - 1.0.0-3
- Rebuilt for

* Fri Jun 04 2021 Python Maint <> - 1.0.0-2
- Rebuilt for Python 3.10

* Thu Mar 11 2021 Davide Cavalca <> - 1.0.0-1
- Initial package.