Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible for openSUSE:Factory checked 
in at 2022-12-19 14:07:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible (Old)
 and      /work/SRC/openSUSE:Factory/.ansible.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible"

Mon Dec 19 14:07:58 2022 rev:90 rq:1043662 version:7.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible/ansible.changes  2022-12-09 
13:19:28.335540716 +0100
+++ /work/SRC/openSUSE:Factory/.ansible.new.1835/ansible.changes        
2022-12-19 14:08:01.590590458 +0100
@@ -1,0 +2,10 @@
+Sun Dec 18 20:23:17 UTC 2022 - Johannes Kastl <ka...@b1-systems.de>
+
+- disable automatic generation of RPM dependencies from files in collections
+  The files are not meant to be executed on the Ansible controller
+  (i.e. the machine where this package is being installed), but rather
+  on the targets that get modified. So e.g. python2 is not needed as
+  a dependency on the ansible controller
+- do no longer change shebangs in files from collections
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ansible.spec ++++++
--- /var/tmp/diff_new_pack.gdGvz8/_old  2022-12-19 14:08:02.494595141 +0100
+++ /var/tmp/diff_new_pack.gdGvz8/_new  2022-12-19 14:08:02.502595182 +0100
@@ -51,6 +51,10 @@
 
 Requires:       %{ansible_python}-base >= 3.9
 Requires:       ansible-core >= 2.14.1
+
+# Do not check any files in collections for requires
+%global __requires_exclude_from ^%{ansible_python_sitelib}/.*$
+
 BuildArch:      noarch
 
 %description
@@ -70,13 +74,6 @@
 # fix for wrong shebang:
 sed -i 
's|/Users/kbreit/Documents/Programming/ansible_collections/cisco/meraki/venv/bin/python|%{_bindir}/%{ansible_python_executable}|g'
 ansible_collections/cisco/meraki/scripts/sublime-build/build.py.generic
 
-# Replace all #!/usr/bin/env lines to use #!/usr/bin/$1 directly.
-find ./ -type f -exec \
-    sed -i '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} \;
-
-find ./ -type f -exec \
-    sed -i '1s|python$|%{ansible_python_executable}|' {} \;
-
 # remove .keep and .gitignore files
 find ./ansible_collections/ -iname .gitignore -delete
 find ./ansible_collections/ -iname .keep -delete

Reply via email to