public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ansible-collection-community-docker] epel10: Fix shebangs
@ 2026-11-10 21:11 Maxwell G
0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-11-10 21:11 UTC (permalink / raw)
To: git-commits
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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 21:11 [rpms/ansible-collection-community-docker] epel10: Fix shebangs Maxwell G
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox