public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <gotmax@e.email>
To: git-commits@fedoraproject.org
Subject: [rpms/ansible-collection-community-docker] epel10: Fix shebangs
Date: Tue, 10 Nov 2026 21:11:43 GMT	[thread overview]
Message-ID: <179434510382.1.5614265239545114907.rpms-ansible-collection-community-docker-403a9e40651e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ansible-collection-community-docker
Branch : epel10
Commit : 403a9e40651e1924b2fcb5267731bdb7325bee40
Author : Maxwell G <gotmax@e.email>
Date   : 2022-07-02T19:46:25-05:00
Stats  : +2/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ansible-collection-community-docker/c/403a9e40651e1924b2fcb5267731bdb7325bee40?branch=epel10

Log:
Fix shebangs

---
diff --git a/ansible-collection-community-docker.rpmlintrc b/ansible-collection-community-docker.rpmlintrc
deleted file mode 100644
index 22575a0..0000000
--- a/ansible-collection-community-docker.rpmlintrc
+++ /dev/null
@@ -1,2 +0,0 @@
-# See https://src.fedoraproject.org/rpms/ansible/pull-request/19#comment-90820 for more information.
-addFilter("E: non-executable-script")

diff --git a/ansible-collection-community-docker.spec b/ansible-collection-community-docker.spec
index fe373c1..483750d 100644
--- a/ansible-collection-community-docker.spec
+++ b/ansible-collection-community-docker.spec
@@ -21,7 +21,6 @@ Summary:        Ansible modules and plugins for working with Docker
 License:        GPLv3+ and Python
 URL:            %{ansible_collection_url}
 Source0:        %{forgesource}
-Source1:        %{name}.rpmlintrc
 Patch0:         build_ignore-unnecessary-files.patch
 
 BuildArch:      noarch
@@ -46,8 +45,7 @@ working with Docker.
 
 %prep
 %forgeautosetup -p1
-%global py3_shbang_opts %{nil}
-%py3_shebang_fix .
+find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
 
 
 %if %{with tests}
@@ -86,6 +84,7 @@ popd
 %changelog
 * Sat Jul 02 2022 Maxwell G <gotmax@e.email> - 2.7.0-1
 - Update to 2.7.0. Fixes rhbz#2103337.
+- Fix shebangs
 
 * Wed May 25 2022 Maxwell G <gotmax@e.email> - 2.6.0-1
 - Update to 2.6.0. Fixes rhbz#2089991.

                 reply	other threads:[~2026-11-10 21:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179434510382.1.5614265239545114907.rpms-ansible-collection-community-docker-403a9e40651e@fedoraproject.org \
    --to=gotmax@e.email \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox