#30 [epel8-next] Rebase to ansible 5.x
Closed 2 years ago by gotmax23. Opened 2 years ago by gotmax23.
rpms/ gotmax23/ansible epel8-next  into  epel8-next

file modified
+24 -3
@@ -4,10 +4,26 @@ 

  %global ansible_licensedir %{_defaultlicensedir}/ansible

  %global ansible_docdir %{_defaultdocdir}/ansible

  

+ # This should be updated after each release to match upstream's metadata

+ # https://github.com/ansible-community/community-topics/issues/84

+ %global ansible_core_version 2.12.3

+ %global ansible_core_next_version 2.13

+ %global ansible_core_requires (ansible-core >= %{ansible_core_version} with ansible-core < %{ansible_core_next_version})

+ 

+ %if 0%{?rhel} == 8

+ # RHEL 8's ansible-core package is built using Python 3.8, which is not the default version.

+ %define python3_pkgversion 38

+ BuildRequires:  python%{python3_pkgversion}-rpm-macros

+ 

+ # RHEL 8's RPM Python dependency generator ignores the version constraints, so we manually specify the dependency.

+ %{?python_disable_dependency_generator}

+ Requires:       %{ansible_core_requires}

+ %endif

+ 

  Name:           ansible

  Summary:        Curated set of Ansible collections included in addition to ansible-core

  Version:        5.5.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  

  License:        GPLv3+

  Source0:        %{pypi_source}
@@ -15,8 +31,9 @@ 

  BuildArch:      noarch

  

  BuildRequires:  findutils

- BuildRequires:  python3-devel

- BuildRequires:  python3-setuptools

+ BuildRequires:  python%{python3_pkgversion}-devel

+ BuildRequires:  python%{python3_pkgversion}-setuptools

+ BuildRequires:  %{ansible_core_requires}

  

  %if 0%{?with_tests}

  # TODO build-requires
@@ -108,6 +125,10 @@ 

  %{python3_sitelib}/*egg-info

  

  %changelog

+ * Mon Apr 25 2022 Maxwell G <gotmax@e.email> - 5.5.0-2

+ - Ensure correct version of ansible-core is available at buildtime.

+ - Implement support for epel8.

+ 

  * Tue Mar 15 2022 David Moreau-Simard <moi@dmsimard.com> - 5.5.0-1

  - Update to latest upstream release

  

Per the request of @kevin and upstream, I have kept ansible strictly tied to the ansible-core version. This unfortunately forces us to keep ansible two releases behind. The specfile modifications are the same as https://src.fedoraproject.org/rpms/ansible/pull-request/29; they are just applied on top of a different commit.

272 new commits added

  • Ensure correct version of ansible-core is available at buildtime.
  • Update to latest upstream release (5.5.0)
  • Update to latest upstream release (5.4.0)
  • Fix shebangs.
  • Update to latest release: 5.3.0
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
  • Update to latest upstream release (5.2.0)
  • Refactor and update to upstream 5.1.0
  • Remove redundant BuildRequires on python3-nose
  • Remove trailing spaces
  • `ansible-generator: Replaceansible-corewithansible-base```
  • Add patch for oracle linux Fixes rhbz#2018369
  • Update to 2.9.27. Fixes rhbz#2012918
  • Update to 2.9.26. Fixes rhbz#2002394
  • Update to 2.9.25. Fixes rhbz#1994108
  • Update to 2.9.24. Fixes rhbz#1983837
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
  • Fix FTBFS with sphinx 4.x. Fixes rhbz#1977303
  • Update to 2.9.23. Fixes rhbz#1974592
  • Rebuilt for Python 3.10
  • Update to 2.9.22. Fixes rhbz#1964173
  • Update to 2.9.21. Fixes rhbz#1956584
  • Update to 2.9.20.
  • Update to 2.9.18.
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
  • Update to 2.9.17.
  • Conflict with ansible-base 2.10.x for now.
  • Update to 2.9.16.
  • Add BuildRequires: make
  • Update to 2.9.15.
  • Update to 2.9.14.
  • Update to 2.9.13. Fixes CVE-2020-14365
  • Update to 2.9.12.
  • Add support for generating '>=' dependencies in RPM generator
  • Add very basic support for generating dependencies in RPM generator
  • Run black on ansible-generator
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  • Update to 2.9.11.
  • Update to 2.9.10.
  • Pin Pytest to version 4 for now
  • Fix Python 3.9 compatibility (#1808674)
  • Rebuilt for Python 3.9
  • Update to 2.9.9. Fixes bug #1834582
  • Own /usr/share/ansible/collections/ansible_collections
  • Add macros for packaging Ansible collections
  • also upload sources
  • Update to 2.9.7.
  • Update to 2.9.6. Fixes bug #1810373
  • Update to 2.9.5. Fixes bug #1802725
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  • Update to 2.9.4 with one bugfix.
  • Update to 2.9.3.
  • Update to 2.9.2.
  • Update to 2.9.1.
  • Supress pwsh requires added by rpm.
  • Update to 2.9.0.
  • Update to 2.8.6.
  • Update to 2.8.5.
  • Python 3.8 compatibility in docs
  • Rebuilt for Python 3.8
  • Update to 2.8.4. Fixes CVE-2019-10217 and CVE-2019-10206
  • Include mistakenly dropped patch.
  • Update to 2.8.3.
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  • Update to 2.8.2. Fixes bug #1726846
  • Update to 2.8.1. Fixes bug #1718131
  • Fixes for various releases build/test issues.
  • Update to 2.8.0 final.
  • Ansible's default config specifies several directories in datadir
  • Update to 2.8.0 rc3.
  • test commit
  • Upgrade to 2.8.0rc2
  • Update to 2.8.0 rc1.
  • Update to 2.8.0 beta 1.
  • Properly own paths in /usr/share/ansible
  • Update to 2.7.10. Fixes bug #1696379
  • Update to 2.7.9. Fixes bug #1688974
  • Update to 2.7.8. Fixes bug #1679787
  • Update to 2.7.7. Fixes bug #1673761
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  • Remove obsolete Group tag
  • Update to 2.7.6.
  • Update to 2.7.5
  • Update to 2.7.4
  • Update to 2.7.3
  • Update to 2.7.2.
  • Update to 2.7.1.
  • Update to 2.7.0
  • Update to 2.6.5.
  • Update to 2.6.4.
  • Upgrade to 2.6.3.
  • %{python_sitelib} → %{python2_sitelib}
  • Update to 2.6.2. Fixes bug #1609486
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  • Remove needless use of %defattr
  • Update to 2.6.1. Fixes bug #1598602
  • Rebuilt for Python 3.7
  • Update to 2.6.0. Fixes bug #1596424
  • Rebuilt for Python 3.7
  • Fixees docs building
  • Rebuilt for Python 3.7
  • Stop building docs on F27 as python-jinja2 is too old there.
  • Update to 2.5.5. Fixes bug #1580530 and #1584927
  • Update to 2.5.3. Fixes bug #1579577 and #1574221
  • Update to 2.5.2 with bugfixes.
  • Update to 2.5.1 with bugfixes. Fixes: #1569270 #1569153 #1566004 #1566001
  • Use sphinx-build-3 with python3 docs
  • Some additional python3 fixes. Thanks churchyard!
  • Use python3 test/runner within python3 docs
  • Make test runner use python3 with python3 tests
  • Only pull in asciidoc if with_docs
  • Update to 2.5.0. Fixes bug #1559852
  • Remove %clean section
  • Remove BuildRoot definition
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  • Update to 2.4.3. See https://github.com/ansible/ansible/blob/stable-2.4/CHANGELOG.md for full changes.
  • Update conditional
  • Update to 2.4.2. See https://github.com/ansible/ansible/blob/stable-2.4/CHANGELOG.md for full changes.
  • Make sure python-pytest-xdist is pulled for > RHEL7
  • Add PR to conditionalize docs building. Thanks tibbs!
  • Add %with_docs macro.
  • Update to 2.4.1
  • clog
  • Rebase rhel6 jinja2 patch.
  • Update to 2.4.0.
  • fix typo in jmespath requires
  • Update to 2.3.2. Fixes bugs #1471017 #1461116 #1465586
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  • Update to 2.3.1.0.
  • update backport patch to the one actually merged upstream
  • backport fix for GH upstream issue 22572 until it is in a release
  • One more file needed. Old patch removed
  • Update to 2.3.0
  • Deal with RHEL7 pytest vs python-pytest.
  • Conditionalize python3 files for epel builds.
  • Remember to upload the new tarballs
  • 2.2.2.0 final
  • Add python-crypto and python3-crypto as explicit requirements
  • Add a symlink for ansible executables to be accessed via python major version
  • Add a python3 ansible package. Note that upstream doesn't intend for the library
  • Update to 2.2.2.0 rc1. Fixes bug #1421485
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  • rebase el6 patch for jinja versions
  • Update to 2.2.1.
  • Update unit tests that will skip docker related tests if docker isn't available.
  • Fix for dnf group install
  • Fix some BuildRequires to work on all branches.
  • Update to 2.2.0. Fixes #1390564 #1388531 #1387621 #1381538 #1388113 #1390646 #1388038 #1390650
  • Update to 2.1.2
  • Update to 2.1.1
  • - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  • Use python 2.6 on EL6 also (BZ#1346950)
  • Update to 2.1.0.0.
  • Update to 2.0.2.0. https://github.com/ansible/ansible/blob/stable-2.0/CHANGELOG.md
  • And remember to apply the patch (but only on Fedora boxes... RHEL7's openssh-client is too old)
  • Add patch for control_path change
  • - Patch control_path to be not hit path length limitations (RH BZ #1311729)
  • Update to upstream bugfix for 2.0.x release series.
  • Upload new sources for ansible-2.0.1 and unittests
  • Utilize the python-jinja26 package on EPEL6
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  • Two tarballs so can't specify only one to new-sources
  • Ansible 2.0.0.2 release from upstream. (Minor bugfix to one callback plugin API).
  • Ansible 2.0.0.1 from upstream. Rewrite with many bugfixes, rewritten code,
  • backport fix for GH #2043 (crash when pulling Docker images)
  • Update to 1.9.4
  • Backport dnf module from head. Fixes bug #1267018
  • Pull in patch for yum module that fixes state=latest issue
  • Update to 1.9.3
  • Update to 1.9.2
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  • Fix for dnf failures in a couple large cornercases
  • Update to 1.9.1
  • Drop upstreamed epel6 patches.
  • Update to 1.9.0.1
  • Update to 1.9.0
  • Update to 1.8.4
  • Update to 1.8.3
  • Work around a bug in python2.6 by using simplejson (applies in EPEL6)
  • Add /etc/ansible/roles and /usr/share/ansible_plugins directory
  • Update to 1.8.2
  • Update to 1.8.1
  • Update to 1.8
  • Spec update to mention the newer rhel6 patch
  • Include /usr/bin/ansible in the rhel6 newer pycrypto patch
  • Update to 1.7.2
  • Update to 1.7.1
  • Update to 1.7
  • Update to 1.6.10
  • Update to 1.6.9 with more shell quoting fixes.
  • Update to 1.6.8 with fixes for shell quoting from previous release.
  • Update to 1.6.7
  • Update to 1.6.6
  • Update to 1.6.5
  • Update to 1.6.4
  • Update to 1.6.3
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  • Update to 1.6.2 release
  • Bugfix 1.6.1 release
  • Update to 1.6
  • Update to 1.5.5
  • Fix setuptools requirement to be for rhel==6
  • New ansible upstream tarball
  • - Add upstream patch to fix accelerator mode
  • Update to 1.5.4
  • Merge branch 'el6'
  • Add missing dependency on python-setuptools
  • Try committing again
  • 1.5.3 tarball# Please enter the commit message for your changes. Lines starting
  • Fix ansible-vault for newer python-crypto dependency
  • Update to NEW 1.5.3 upstream release.
  • Update to 1.5.3
  • Update to redone 1.5.2 release
  • Update to 1.5.2
  • Update to 1.5.1
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.5
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.4.5
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.4.3 with ansible galaxy commands.
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to upstream 1.4.1 bugfix release
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.4
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.3.4
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.3.3
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.3.2 with minor upstream fixes
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.3.1
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.3.0
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.2.3
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.2.2 with minor fixes
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to newer upstream re-release to fix a syntax error
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.2.1
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.2
  • Merge remote-tracking branch 'origin/master' into el6
  • Update to 1.1
  • Update to 1.0
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  • Release 1.0
  • Merge branch 'master' into el6
  • Release 0.9
  • Merge branch 'master' into el6
  • Release of 0.8
  • Merge branch 'master' into el6
  • Release of 0.7.1 (2.4 compat fix)
  • Merge branch 'master' into el6
  • Merge branch 'f16' into f17
  • Update to ansible-0.7
  • Update to 0.6
  • Update to 0.6
  • Update to 0.6
  • Update to 0.6
  • Update to ansible 0.5.0
  • Update to ansible 0.5.0
  • Ansible 0.5.0 release.
  • - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  • Correct license. Include COPYING in dist.
  • Update to ansible 0.4.1
  • Initial import (#809882).
2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

@kevin, is this okay with you? I figured it made sense to update this in epel8-next first given that the current package conflicts with ansible-core in the c8s base repos. We can merge it back to epel8 after the release of RHEL 8.6.

Is there anything special that I should do before merging this given that it's a major version bump? I saw that you already made an announcement on the EPEL mailing list.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto 7d4f3f7

2 years ago

Pull-Request has been closed by gotmax23

2 years ago
Metadata