Compare commits
No commits in common. "c8s" and "c9s" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
SOURCES/python-augeas-0.5.0.tar.gz
|
||||
python-augeas-0.3.0.tar.gz
|
||||
/python-augeas-0.4.1.tar.gz
|
||||
/python-augeas-0.5.0.tar.gz
|
||||
|
@ -1,12 +1,10 @@
|
||||
From 1d416bb862a4b85b85ad7a4be4ba106703d975ec Mon Sep 17 00:00:00 2001
|
||||
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.
|
||||
|
||||
(cherry picked from commit d93e1563add8c40450556b7d74520439ee792bd9)
|
||||
---
|
||||
test/test_augeas.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
18
README.rst
Normal file
18
README.rst
Normal file
@ -0,0 +1,18 @@
|
||||
===================
|
||||
python-augeas development
|
||||
===================
|
||||
|
||||
python-augeas is maintained in a `source tree`_ rather than directly in dist-git
|
||||
using packit service that provides way to develope using regular source code
|
||||
structure and provides way to generate SRPM and build using koji service.
|
||||
|
||||
Developers deliver all changes to source-git using merge request. Only maintainers
|
||||
will be pushing changes sent to source-git to dist-git.
|
||||
|
||||
Each release in dist-git is tagged in the source repository so you can easily
|
||||
check out the source tree for a build. The tags are in the format
|
||||
name-version-release, but note release doesn't contain the dist tag since the
|
||||
source can be built in different build roots (Fedora, CentOS, etc.)
|
||||
|
||||
.. _source tree: https://gitlab.com/redhat/centos-stream/src/python-augeas
|
||||
|
@ -1,6 +1,13 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
@ -1,21 +1,22 @@
|
||||
Name: python-augeas
|
||||
Version: 0.5.0
|
||||
Release: 12%{?dist}
|
||||
Release: 25%{?dist}
|
||||
Summary: Python bindings to augeas
|
||||
Group: Development/Languages
|
||||
License: LGPLv2+
|
||||
URL: http://augeas.net/
|
||||
Source0: http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch1: 0001-test-fix-discovery-of-location.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch1: 0001-test-fix-discovery-of-location.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-setuptools python3-devel
|
||||
BuildRequires: augeas python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: augeas
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%description
|
||||
python-augeas is a set of Python bindings around augeas.
|
||||
|
||||
|
||||
%package -n python3-augeas
|
||||
Summary: Python 3 bindings to augeas
|
||||
Requires: augeas-libs
|
||||
@ -29,7 +30,10 @@ python3-augeas is a set of Python bindings around augeas.
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
|
||||
%check
|
||||
@ -44,8 +48,57 @@ pytest-3
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue May 14 2019 Pino Toscano <ptoscano@redhat.com> - 0.5.0-12
|
||||
- Run the tests during the build (RHBZ#1682268).
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-21
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Apr 02 2020 Pino Toscano <ptoscano@redhat.com> - 0.5.0-20
|
||||
- Backport upstream commit d93e1563add8c40450556b7d74520439ee792bd9 to fix
|
||||
the discovery of location in the test
|
||||
- Execute the tests at build time
|
||||
- Add a simple gating test to execute the test script, and make it gating for
|
||||
the python-augeas source
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Nov 28 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-18
|
||||
- Subpackage python2-augeas has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-17
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-16
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-12
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.0-11
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (python-augeas-0.5.0.tar.gz) = d93d9e21c720084ee3c1841a2172dd1a4cfb41e668de0f557bd214efd65e685a1e5fc713a7d34e0fed727fe908bb1e8a09a1c10587bc27f3708cbcdee575cc51
|
||||
2d5a903467410b8d60abca5fa54bae2d python-augeas-0.5.0.tar.gz
|
||||
|
18
tests/tests.yml
Normal file
18
tests/tests.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
- container
|
||||
required_packages:
|
||||
- python3-augeas
|
||||
- python3-pytest
|
||||
tests:
|
||||
- test_augeas:
|
||||
dir: .
|
||||
run: pytest-3 source/test/test_augeas.py
|
Loading…
Reference in New Issue
Block a user