Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > 601d3189766e57205c4ed383fe262a5c > files > 3

ansible-2.9.18-1.mga8.src.rpm

# filter out bogus requires since new NM >= 1.22
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}typelib\\((NMClient|NetworkManager)

Name: ansible
Summary: SSH-based configuration management, deployment, and task execution system
Version: 2.9.18
Release: %mkrel 1
Group: Development/Python
License: GPLv3
Url: https://www.ansible.com/
Source0: https://releases.ansible.com/%{name}/%{name}-%{version}.tar.gz
Patch5: 0005-use-py3.patch
BuildArch: noarch
BuildRequires: openssl
BuildRequires: python3-devel
BuildRequires: python3-setuptools

#
# Security patches
# P100 -> ..
#
# needed for json_query filter
Requires: python3-jmespath

%description
Ansible is a radically simple model-driven configuration management,
multi-node deployment, and orchestration engine. Ansible works
over SSH and does not require any software or daemons to be installed
on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.

%prep
%autosetup -p1

# These we have to supress or the package will depend on /usr/bin/pwsh and not be installable
sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/ps_argspec.ps1
sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/sanity/pslint/pslint.ps1
sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/requirements/sanity.ps1

%build
%py3_build

%install
%py3_install

install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/
install -m 0644 examples/hosts %{buildroot}%{_sysconfdir}/%{name}/
install -m 0644 examples/%{name}.cfg %{buildroot}%{_sysconfdir}/%{name}/
install -d -m 0755 %{buildroot}%{_mandir}/man1
install -m 0644 docs/man/man1/*.1 %{buildroot}%{_mandir}/man1/
install -d -m 0755 %{buildroot}%{_datadir}/%{name}

%files
%doc PKG-INFO COPYING
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%dir %{_datadir}/%{name}
%dir %{python3_sitelib}/%{name}-%{version}*
%{python3_sitelib}/%{name}-%{version}*/*
%dir %{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}/*
%{python3_sitelib}/%{name}_test/
%{_bindir}/%{name}*
%{_mandir}/man1/%{name}*


%changelog
* Thu Feb 25 2021 neoclust <neoclust> 2.9.18-1.mga8
+ Revision: 1690184
- New version 2.9.18.
  This fixes CVE-2021-20178, CVE-2021-20180, CVE-2021-20191, CVE-2021-20228 (mga#28436)

* Wed Jan 20 2021 luigiwalser <luigiwalser> 2.9.17-1.mga8
+ Revision: 1672613
- 2.9.17

* Tue Dec 15 2020 luigiwalser <luigiwalser> 2.9.16-1.mga8
+ Revision: 1657873
- 2.9.16

* Sun Nov 15 2020 luigiwalser <luigiwalser> 2.9.15-1.mga8
+ Revision: 1646411
- 2.9.15

* Wed Oct 14 2020 luigiwalser <luigiwalser> 2.9.14-1.mga8
+ Revision: 1636028
- 2.9.14

* Tue Sep 01 2020 bcornec <bcornec> 2.9.13-1.mga8
+ Revision: 1620727
- Update to upstream ansible 2.9.13 to fix mga#27175

* Sat Aug 22 2020 guillomovitch <guillomovitch> 2.9.12-1.mga8
+ Revision: 1617952
- new version 2.9.12

* Sun Aug 02 2020 guillomovitch <guillomovitch> 2.9.11-1.mga8
+ Revision: 1610572
- new version 2.9.11

* Sun May 17 2020 bcornec <bcornec> 2.9.9-1.mga8
+ Revision: 1585387
- Update to upstream ansible 2.9.9
+ danf <danf>
- Switch URLs from http: to https:

* Tue Mar 17 2020 bcornec <bcornec> 2.9.6-1.mga8
+ Revision: 1557123
- Update ansible to upstream 2.9.6 and fix mga#26349

* Mon Feb 17 2020 umeabot <umeabot> 2.9.5-2.mga8
+ Revision: 1537286
- Mageia 8 Mass Rebuild

* Sun Feb 16 2020 daviddavid <daviddavid> 2.9.5-1.mga8
+ Revision: 1533871
- new version: 2.9.5
- filter out bogus requires since new NM >= 1.22

* Mon Oct 28 2019 bcornec <bcornec> 2.8.6-3.mga8
+ Revision: 1456425
- Update to upstream ansible 2.8.6 to Fix mga#25607

* Sat Sep 14 2019 wally <wally> 2.8.2-3.mga8
+ Revision: 1440800
- drop pycrypto requires (cryptography is pulled via autodeps)

* Sat Sep 14 2019 daviddavid <daviddavid> 2.8.2-2.mga8
+ Revision: 1440716
- rebuild for python3.8

* Mon Aug 12 2019 bcornec <bcornec> 2.8.2-1.mga8
+ Revision: 1428844
- Update to upstream 2.8.2 and solves CVE-2019-10156

* Thu Apr 18 2019 bcornec <bcornec> 2.7.10-1.mga7
+ Revision: 1392797
- update to upstream ansible 2.7.10

* Mon Apr 01 2019 bcornec <bcornec> 2.7.9-1.mga7
+ Revision: 1383925
- update to upstream ansible 2.7.9

* Sun Mar 17 2019 bcornec <bcornec> 2.7.8-1.mga7
+ Revision: 1378310
- Update to upstream ansible 2.7.8

* Fri Feb 08 2019 daviddavid <daviddavid> 2.7.5-2.mga7
+ Revision: 1364188
- port to Python3
- no need to hard requires pkgs who are already auto-required

* Sat Dec 29 2018 bcornec <bcornec> 2.7.5-1.mga7
+ Revision: 1346427
- Fix mga#24065 by Updating to upstream ansible 2.7.5

* Sat Dec 22 2018 bcornec <bcornec> 2.7.0-3.mga7
+ Revision: 1344349
- Fix upstream ansible bug 47154 - https://github.com/ansible/ansible/issues/47154

* Wed Oct 10 2018 bcornec <bcornec> 2.7.0-2.mga7
+ Revision: 1319341
- Update to upstream ansible 2.7.0

* Thu Sep 20 2018 umeabot <umeabot> 2.5.5-2.mga7
+ Revision: 1277604
- Mageia 7 Mass Rebuild

* Mon Jun 25 2018 bcornec <bcornec> 2.5.5-1.mga7
+ Revision: 1239587
- Update to ansible upstream 2.5.5

* Thu May 17 2018 bcornec <bcornec> 2.5.2-1.mga7
+ Revision: 1230000
- Update to upstream ansible 2.5.2

* Tue Oct 31 2017 bcornec <bcornec> 2.4.1.0-3.mga7
+ Revision: 1175101
- Update to upstream 2.4.0.1

* Sat Sep 30 2017 guillomovitch <guillomovitch> 2.3.1.0-3.mga7
+ Revision: 1161869
- rebuild to generate proper automatic dependencies
+ bcornec <bcornec>
- Fix build script (minor)

* Sat Jun 03 2017 mitya <mitya> 2.3.1.0-1.mga6
+ Revision: 1106349
- New version 2.3.1.0

* Thu May 11 2017 bcornec <bcornec> 2.3.0.0-1.mga6
+ Revision: 1100145
- Fix mga#19740 by upgrading upstream to 2.3.0.0

* Sat Jan 28 2017 bcornec <bcornec> 2.2.1.0-1.mga6
+ Revision: 1083710
- Update to upstream ansible 2.2.1.0 to fix multiple CVEs

* Sun Nov 20 2016 bcornec <bcornec> 2.2.0.0-1.mga6
+ Revision: 1068498
- Fix #19740 by upgrading to upstream 2.2.0.0

* Sat Sep 03 2016 bcornec <bcornec> 2.1.1.0-1.mga6
+ Revision: 1049859
- Update ansible to upstream 2.1.1

* Fri Apr 22 2016 bcornec <bcornec> 2.0.2.0-1.mga6
+ Revision: 1005372
- Update to upstream 2.0.2.0

* Sun Jan 03 2016 bcornec <bcornec> 1.9.4-1.mga6
+ Revision: 919094
- Update to upstream 1.9.4

* Sun Jul 12 2015 bcornec <bcornec> 1.9.2-1.mga6
+ Revision: 853431
- ANd sha1 update !
- Update to upstream 1.9.2 (Fixes #16309)

* Fri Dec 05 2014 bcornec <bcornec> 1.8.1-1.mga5
+ Revision: 801606
- Update to upstream 1.8.1

* Thu Oct 16 2014 bcornec <bcornec> 1.7.2-1.mga5
+ Revision: 758892
- Update to upstream ansible 1.7.2
+ umeabot <umeabot>
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 1.7.1-3.mga5
+ Revision: 725940
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 1.7.1-2.mga5
+ Revision: 677767
- Mageia 5 Mass Rebuild

* Mon Sep 01 2014 bcornec <bcornec> 1.7.1-1.mga5
+ Revision: 670239
- Update to ansibla 1.7.1 upstream

* Mon Aug 11 2014 bcornec <bcornec> 1.7-1.mga5
+ Revision: 661832
- Update to upstream ansible 1.7

* Sun Aug 10 2014 bcornec <bcornec> 1.6.10-1.mga5
+ Revision: 661315
- Update to upstream 1.6.10 to fixing security issues

* Thu Jul 24 2014 bcornec <bcornec> 1.6.8-3.mga5
+ Revision: 656219
- python-setuptools is a BuildRequire of course !
- ansible now requires python-setuptools to build correctly
- Update to upstream 1.6.8

* Sat May 31 2014 pterjan <pterjan> 1.5.5-2.mga5
+ Revision: 628100
- Rebuild for new Python

* Tue Apr 29 2014 bcornec <bcornec> 1.5.5-1.mga5
+ Revision: 618792
- Update ansible to 1.5.5 upstream
- No man3 man pages provided anymore so remove their copy

* Wed Jan 22 2014 bcornec <bcornec> 1.4.3-1.mga5
+ Revision: 567445
- Update to upstream 1.4.3

* Tue Dec 03 2013 bcornec <bcornec> 1.4.1-1.mga4
+ Revision: 554733
- Update to upstream 1.4.1

* Sat Nov 23 2013 bcornec <bcornec> 1.4-1.mga4
+ Revision: 552390
- Update to upstream ansible 1.4

* Mon Nov 11 2013 philippem <philippem> 1.3.4-4.mga4
+ Revision: 550500
- Add Requires python-keyczar on main package for accelerated mode

* Sun Nov 03 2013 bcornec <bcornec> 1.3.4-3.mga4
+ Revision: 549294
- Update to upstream 1.3.4

* Tue Oct 22 2013 umeabot <umeabot> 1.3.2-3.mga4
+ Revision: 542481
- Mageia 4 Mass Rebuild

* Mon Oct 14 2013 pterjan <pterjan> 1.3.2-2.mga4
+ Revision: 497632
- Rebuild to add different pythonegg provides for python 2 and 3

* Tue Oct 08 2013 bcornec <bcornec> 1.3.2-1.mga4
+ Revision: 493040
- Update ansible to 1.3.2 upstream

* Mon Sep 09 2013 bcornec <bcornec> 1.2.3-2.mga4
+ Revision: 476539
- Push reltag to 2 for ansible as previous patches consequence
- Do not generate the 0mq packages for now as zeromq is not in Mageia yet and SSH can be used
- Update Group in SPEC file for ansible
- Update sha for ansible
- Import from Fedora the ansible package
- Created package structure for ansible.