Compare commits
10 Commits
6ef84ff221
...
e5bf3fc065
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5bf3fc065 | ||
|
|
8255502644 | ||
|
|
7be77fcb4b | ||
|
|
5f6bffe5fa | ||
|
|
9498cb94b6 | ||
|
|
e49156e48d | ||
|
|
f002d92781 | ||
|
|
d2657455d6 | ||
|
|
d73200f784 | ||
|
|
812cb632eb |
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"],
|
||||
52
python-augeas.spec
Normal file
52
python-augeas.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: python-augeas
|
||||
Version: 1.1.0
|
||||
Release: 2
|
||||
Summary: Python bindings for augeas
|
||||
License: LGPLv2+
|
||||
URL: http://augeas.net/
|
||||
Source0: https://github.com/hercules-team/python-augeas/archive/refs/tags/v1.1.0.tar.gz
|
||||
Patch0: python-augeas-test-package-installation.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-setuptools python3-devel python3-cffi augeas
|
||||
|
||||
%description
|
||||
Pure python bindings for augeas
|
||||
|
||||
%package -n python3-augeas
|
||||
Summary: Python3 bindings for augeas
|
||||
Requires: augeas-libs
|
||||
%{?python_provide:%python_provide python3-augeas}
|
||||
|
||||
%description -n python3-augeas
|
||||
Python 3 bindings for augeas
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
|
||||
%files -n python3-augeas
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README.txt
|
||||
%license COPYING
|
||||
%{python3_sitelib}/augeas.py
|
||||
%{python3_sitelib}/augeas/
|
||||
%{python3_sitelib}/python_augeas-*.egg-info
|
||||
%{python3_sitelib}/__pycache__/augeas.cpython*
|
||||
|
||||
%changelog
|
||||
* Sat Feb 25 2023 yaoxin <yaoxin30@h-partners.com> - 1.1.0-2
|
||||
- Fix installation conflicts between python3-ansible-runner and python3-augeas
|
||||
|
||||
* Tue Jun 14 2022 houyingchao <houyingchao@h-partners.com> - 1.1.0-1
|
||||
- Upgrade to 1.1.0
|
||||
|
||||
* Wed Oct 21 2020 chengzihan<chengzihan2@huawei.com> - 0.5.0-17
|
||||
- Remove subpackage python2-augeas
|
||||
|
||||
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 0.5.0-16
|
||||
- Package init
|
||||
4
python-augeas.yaml
Normal file
4
python-augeas.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: python-augeas
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
BIN
v1.1.0.tar.gz
Normal file
BIN
v1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user