do not install "test" package
This commit is contained in:
parent
718c94e04d
commit
380d965639
22
python-augeas-test-package-installation.patch
Normal file
22
python-augeas-test-package-installation.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From f74c4a8206c5a7f28836cbe3cd043bc481c5e518 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
|
||||||
|
Date: Sun, 23 May 2021 09:54:53 -0400
|
||||||
|
Subject: [PATCH] Ensure exclude is a tuple (#53)
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 6c4265e..13b1a38 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
author="Harald Hoyer",
|
||||||
|
author_email="augeas-devel@redhat.com",
|
||||||
|
description="""Python bindings for Augeas""",
|
||||||
|
- packages=find_packages(exclude=('test')),
|
||||||
|
+ packages=find_packages(exclude=('test',)),
|
||||||
|
setup_requires=["cffi>=1.0.0"],
|
||||||
|
cffi_modules=["augeas/ffi.py:ffi"],
|
||||||
|
install_requires=["cffi>=1.0.0"],
|
@ -1,10 +1,11 @@
|
|||||||
Name: python-augeas
|
Name: python-augeas
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Python bindings to augeas
|
Summary: Python bindings to augeas
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://augeas.net/
|
URL: http://augeas.net/
|
||||||
Source0: https://github.com/hercules-team/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/hercules-team/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: %{name}-test-package-installation.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -28,7 +29,7 @@ python3-augeas is a set of Python bindings around augeas.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
@ -46,10 +47,12 @@ pytest-3
|
|||||||
%{python3_sitelib}/augeas/*
|
%{python3_sitelib}/augeas/*
|
||||||
%{python3_sitelib}/python_augeas-*.egg-info
|
%{python3_sitelib}/python_augeas-*.egg-info
|
||||||
%{python3_sitelib}/__pycache__/*
|
%{python3_sitelib}/__pycache__/*
|
||||||
%{python3_sitelib}/test/*
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 11 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 1.1.0-3
|
||||||
|
- do not install "test" package
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user