From d0c510290a5102ef9b3826b01d8992338c19068f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Jul 2023 07:47:59 +0000 Subject: automatic import of rpkg --- rpkg.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rpkg.spec') diff --git a/rpkg.spec b/rpkg.spec index 13070b9..35f745b 100644 --- a/rpkg.spec +++ b/rpkg.spec @@ -7,9 +7,7 @@ License: GPLv2+ and LGPLv2 URL: https://pagure.io/rpkg BuildArch: noarch Source0: https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz -Source1: %{name}.rpmlintrc - -%global with_check 0 +Source1: rpkg.rpmlintrc # This is intended for Python 3 only, hence also no Python version in the name. %global __pytest /usr/bin/pytest%(test %{python3_pkgversion} == 3 || echo -%{python3_version}) @@ -55,7 +53,6 @@ BuildRequires: python3-requests BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-PyYAML -BuildRequires: rpmlint BuildRequires: rpmdevtools Requires: mock @@ -124,9 +121,7 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli # need to run check as non-root %check -%if 0%{?with_check} %pytest -%endif %files -n python3-%{name} %doc README.rst CHANGELOG.rst -- cgit v1.2.3