%global debug_package %{nil}

Name:           autosd-demo
Version:        0.1.0
Release:        1.dev131+2936dd1%{?dist}
Summary: A set of tools to run autosd demos
License: MIT

URL: https://gitlab.com/CentOS/automotive/src/autosd-demo
Source: autosd_demo-%{version}.dev131+2936dd1.tar.gz

Requires: git
BuildRequires: git

%description
This package contains a set of tools to run autosd demos

BuildArch: noarch

%prep
%autosetup -p1 -n autosd_demo-%{version}.dev131+2936dd1

%generate_buildrequires
%pyproject_buildrequires -x tests

%build
%pyproject_wheel

%install
%pyproject_install

%check
export RPM_CHECK=1
%pytest

%files
%{_bindir}/autosd-demo
%{_datadir}/autosd-demo
%{python3_sitelib}/autosd_demo/
%{python3_sitelib}/autosd_demo-*.dist-info/
%license LICENSE

%changelog
* Fri Apr 06 2024 Roberto Majadas <rmajadas@redhat.com>
-