8 Commits
2 changed files with 13 additions and 20 deletions
+9
View File
@@ -0,0 +1,9 @@
upstream_project_url: https://github.com/asottile/re-assert
copy_upstream_release_description: false
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
+4 -20
View File
@@ -8,9 +8,10 @@ License: MIT
URL: https://github.com/asottile/re-assert
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l re_assert
BuildRequires: python3-devel
BuildArch: noarch
BuildRequires: %{py3_dist pytest}
@@ -26,24 +27,7 @@ Summary: %{summary}
%description -n python3-re-assert %{common_description}
%prep
%autosetup -n re-assert-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l re_assert
%check
%check -a
%pytest