public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ansible-collection-community-docker] epel10: Remove %collection_name* and _package_note_file handling
@ 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 : 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

^ 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: Remove %collection_name* and _package_note_file handling Maxwell G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox