Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

2
.gitignore vendored

@ -1 +1 @@
SOURCES/python-augeas-0.5.0.tar.gz
SOURCES/python-augeas-1.1.0.tar.gz

@ -1 +1 @@
b758e3d1349999b5d9f3397af3b9e186a2fcfd48 SOURCES/python-augeas-0.5.0.tar.gz
a8c550421ebb6dcc115dfc30b343e51b479f04cd SOURCES/python-augeas-1.1.0.tar.gz

@ -1,27 +0,0 @@
From d93e1563add8c40450556b7d74520439ee792bd9 Mon Sep 17 00:00:00 2001
From: Pino Toscano <ptoscano@redhat.com>
Date: Fri, 12 Oct 2018 12:50:18 +0200
Subject: [PATCH] test: fix discovery of location
Use __file__ to detect the location of the script instead of sys.argv,
so it will work also when loaded as module.
---
test/test_augeas.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_augeas.py b/test/test_augeas.py
index 10edbe6..7474841 100644
--- a/test/test_augeas.py
+++ b/test/test_augeas.py
@@ -4,7 +4,7 @@ import unittest
import sys
import os
-__mydir = os.path.dirname(sys.argv[0])
+__mydir = os.path.dirname(os.path.abspath(__file__))
if not os.path.isdir(__mydir):
__mydir = os.getcwd()
--
2.21.0

@ -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,17 +1,18 @@
Name: python-augeas
Version: 0.5.0
Release: 25%{?dist}
Version: 1.1.0
Release: 14%{?dist}
Summary: Python bindings to augeas
License: LGPLv2+
License: LGPL-2.1-or-later
URL: http://augeas.net/
Source0: http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
Patch1: 0001-test-fix-discovery-of-location.patch
Source0: https://github.com/hercules-team/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-test-package-installation.patch
BuildArch: noarch
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: augeas
BuildRequires: python3-pytest
BuildRequires: python3-cffi
%description
python-augeas is a set of Python bindings around augeas.
@ -20,6 +21,7 @@ python-augeas is a set of Python bindings around augeas.
%package -n python3-augeas
Summary: Python 3 bindings to augeas
Requires: augeas-libs
Requires: python3-cffi
%{?python_provide:%python_provide python3-augeas}
%description -n python3-augeas
@ -27,8 +29,7 @@ python3-augeas is a set of Python bindings around augeas.
%prep
%setup -q
%patch1 -p1
%autosetup -p1
%build
%{py3_build}
@ -43,17 +44,58 @@ pytest-3
%license COPYING
%doc AUTHORS README.txt
%{python3_sitelib}/augeas.py
%{python3_sitelib}/augeas/
%{python3_sitelib}/python_augeas-*.egg-info
%{python3_sitelib}/__pycache__/*
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.0-25
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.1.0-14
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5.0-24
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.1.0-13
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.1.0-9
- Rebuilt for Python 3.12
* Thu Feb 23 2023 Rafael Jeffman <rjeffman@redhat.com> - 1.1.0-8
- migrated to SPDX license
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.0-5
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 29 2021 Greg Swift <xaeth@fedoraproject.org> - 1.1.0-1
- Rebuild latest upstream
- Remove merged upstream patch
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 0.5.0-24
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save