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: Remove %collection_name* and _package_note_file handling
Date: Tue, 10 Nov 2026 21:11:51 GMT	[thread overview]
Message-ID: <179434511124.1.12051749060987895845.rpms-ansible-collection-community-docker-d78ad0e57581@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ansible-collection-community-docker
            Branch : epel10
            Commit : d78ad0e5758190a49a282bdffaa1a4af01793931
            Author : Maxwell G <gotmax@e.email>
            Date   : 2022-11-02T18:01:07-05:00
            Stats  : +3/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ansible-collection-community-docker/c/d78ad0e5758190a49a282bdffaa1a4af01793931?branch=epel10

            Log:
            Remove %collection_name* and _package_note_file handling

- The %collection_name* macros are no longer needed with the new
  ansible-packaging version.
- Remove `%undefine _package_note_file`. This is now handled by the
  ansible macros.

---
diff --git a/ansible-collection-community-docker.spec b/ansible-collection-community-docker.spec
index 6ffd532..61be12c 100644
--- a/ansible-collection-community-docker.spec
+++ b/ansible-collection-community-docker.spec
@@ -1,9 +1,3 @@
-%global collection_namespace community
-%global collection_name docker
-# This package does not include any ELF binaries, and we don't want this file
-# in the built collection artifact.
-%undefine _package_note_file
-
 # ansible-core in RHEL 8.6 is built against python38. In c8s and the next RHEL
 # 8 minor release, it will be built against python39. The testing dependencies
 # are not yet packaged for either python version in EPEL 8.
@@ -21,7 +15,7 @@
 %endif
 
 
-Name:           ansible-collection-%{collection_namespace}-%{collection_name}
+Name:           ansible-collection-community-docker
 Version:        3.2.0
 Release:        1%{?dist}
 Summary:        Ansible modules and plugins for working with Docker
@@ -75,7 +69,7 @@ Summary:        Ansible modules and plugins for working with Docker
 # tests/unit/plugins/module_utils/_api/utils/test_proxy.py:# SPDX-License-Identifier: Apache-2.0
 # tests/unit/plugins/module_utils/_api/utils/test_utils.py:# SPDX-License-Identifier: Apache-2.0
 License:        GPL-3.0-or-later AND Apache-2.0
-URL:            %{ansible_collection_url}
+URL:            %{ansible_collection_url community docker}
 %global forgeurl https://github.com/ansible-collections/community.docker
 Source0:        %{forgeurl}/archive/%{version}/community.docker-%{version}.tar.gz
 Patch0:         build_ignore-unnecessary-files.patch
@@ -120,10 +114,9 @@ find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{
 %endif
 
 
-%files
+%files -f %{ansible_collection_filelist}
 %license COPYING LICENSES
 %doc README.md CHANGELOG.rst
-%{ansible_collection_files}
 
 
 %changelog

                 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=179434511124.1.12051749060987895845.rpms-ansible-collection-community-docker-d78ad0e57581@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