Compare commits

...

No commits in common. "c8-stream-3.8" and "c9s" have entirely different histories.

7 changed files with 78 additions and 22 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

11
.gitignore vendored
View File

@ -1 +1,10 @@
SOURCES/attrs-19.3.0.tar.gz
/attrs-16.0.0.tar.gz
/attrs-16.1.0.tar.gz
/attrs-16.3.0.tar.gz
/attrs-17.4.0.tar.gz
/attrs-18.2.0.tar.gz
/attrs-19.1.0.tar.gz
/attrs-19.3.0.tar.gz
/attrs-20.1.0.tar.gz
/attrs-20.2.0.tar.gz
/attrs-20.3.0.tar.gz

View File

@ -1 +1 @@
c814bf4a79c760a54ecb41796656b01166ebfdcd SOURCES/attrs-19.3.0.tar.gz
f0f9640820631a78ade009cf83336c1fa49d5a51 attrs-20.3.0.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
- name: Smoke-tests
how: shell
tests:
- name: python-import-test
test: python3 -c 'import attr'
require:
- python3-attrs
duration: 1m
execute:
how: tmt

View File

@ -1,30 +1,21 @@
# Disable tests on RHEL9 as to not pull in the test dependencies
# Specify --with tests to run the tests e.g. on EPEL
%bcond_with tests
%global modname attrs
%if 0%{?rhel} && 0%{?rhel} <= 7
# Can't run tests on EPEL7 due to need for pytest >= 2.8
%bcond_with tests
%else
# Turn the tests off when bootstrapping Python, because pytest requires attrs
%bcond_with tests
%endif
Name: python-attrs
Version: 19.3.0
Release: 3%{?dist}
Version: 20.3.0
Release: 7%{?dist}
Summary: Python attributes without boilerplate
License: MIT
URL: http://www.attrs.org/
BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
Source0: https://github.com/hynek/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
@ -58,7 +49,7 @@ object protocols.
%if %{with tests}
%check
PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-%{python3_version} -v
PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v
%endif
%files -n python%{python3_pkgversion}-%{modname}
@ -67,11 +58,48 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-%{python3_version} -v
%{python3_sitelib}/*
%changelog
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 19.3.0-3
- Exclude unsupported i686 arch
* Tue Feb 22 2022 Tomas Orsava <torsava@redhat.com> - 20.3.0-7
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 19.3.0-2
- Adjusted for Python 3.8 module in RHEL 8
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 20.3.0-6
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
- Related: rhbz#1990421
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 20.3.0-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20.3.0-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Mar 10 2021 Charalampos Stratakis <cstratak@redhat.com> - 20.3.0-3
- Disable tests on RHEL9 to avoid pulling in the test dependencies
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 19 2020 Lumír Balhar <lbalhar@redhat.com> - 20.3.0-1
- Update to 20.3.0 (#1894866)
* Mon Sep 07 2020 Lumír Balhar <lbalhar@redhat.com> - 20.2.0-1
- Update to 20.2.0 (#1876063)
* Thu Aug 27 2020 Lumír Balhar <lbalhar@redhat.com> - 20.1.0-1
- Update to 20.1.0 (#1870794)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.0-4
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.0-3
- Bootstrap for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 19.3.0-1
- New upstream version 19.3.0 (#1761701)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (attrs-20.3.0.tar.gz) = bb6cb43b8e7ba32caa18378d6bb20121be930d3397cc0793fe44c2c4c00beec81055b8fde32ea52e51cf7a3029c049f650c4df4ec73a4a104f75a9a399bf5194