summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-10 07:47:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-10 07:47:59 +0000
commit0fa5f89b14dadf5680ce74bf6afe6dd11fe2afd2 (patch)
treed3e57e322e25e132e2a66db22c3688bd1b90ba6d
parentdc38700f26546195954d7f9f4f4104823c911619 (diff)
automatic import of rpkg
-rw-r--r--rpkg.spec7
-rw-r--r--sources2
2 files changed, 2 insertions, 7 deletions
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
diff --git a/sources b/sources
index fce1e32..077e667 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9b6495dbddc6a5115a3cf4ac8b1f628b rpkg-1.65.tar.gz
+c863a3a59686ee280eb686ede22b5747 rpkg-1.65.tar.gz