public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ansible-collection-community-postgresql] epel10: Initial package. Fixes rhbz#2222130.
@ 2026-11-30  4:54 Maxwell G
  0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-11-30  4:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ansible-collection-community-postgresql
Branch : epel10
Commit : 0f604721461c6911558d782ac99ce97efbc5f1ed
Author : Maxwell G <maxwell@gtmx.me>
Date   : 2023-07-18T21:51:15+00:00
Stats  : +73/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/ansible-collection-community-postgresql/c/0f604721461c6911558d782ac99ce97efbc5f1ed?branch=epel10

Log:
Initial package. Fixes rhbz#2222130.

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..49ea7e5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/community.postgresql-*.tar.gz
+/community.postgresql-*/

diff --git a/ansible-collection-community-postgresql.spec b/ansible-collection-community-postgresql.spec
new file mode 100644
index 0000000..f5180a7
--- /dev/null
+++ b/ansible-collection-community-postgresql.spec
@@ -0,0 +1,53 @@
+%bcond tests %{undefined rhel}
+
+Name:           ansible-collection-community-postgresql
+Version:        3.0.0
+Release:        1%{?dist}
+Summary:        Manage PostgreSQL with Ansible
+
+# See the license files in the repo root and file headers
+License:        GPL-3.0-or-later AND BSD-2-Clause AND PSF-2.0
+URL:            %{ansible_collection_url community postgresql}
+Source:         https://github.com/ansible-collections/community.postgresql/archive/%{version}/community.postgresql-%{version}.tar.gz
+# build_ignore development files, tests, and docs
+Patch:          build_ignore.patch
+
+BuildArch:      noarch
+
+BuildRequires:  ansible-packaging
+%if %{with tests}
+BuildRequires:  ansible-packaging-tests
+BuildRequires:  %{py3_dist psycopg}
+%endif
+
+%description
+%{summary}.
+
+
+%prep
+%autosetup -p1 -n community.postgresql-%{version}
+find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
+
+
+%build
+%ansible_collection_build
+
+
+%install
+%ansible_collection_install
+
+
+%check
+%if %{with tests}
+%ansible_test_unit
+%endif
+
+
+%files -f %{ansible_collection_filelist}
+%license COPYING PSF-license.txt simplified_bsd.txt
+%doc README.md CHANGELOG.rst
+
+
+%changelog
+* Tue Jul 11 2023 Maxwell G <maxwell@gtmx.me> - 3.0.0-1
+- Initial package. Fixes rhbz#2222130.

diff --git a/build_ignore.patch b/build_ignore.patch
new file mode 100644
index 0000000..19ff7df
--- /dev/null
+++ b/build_ignore.patch
@@ -0,0 +1,17 @@
+--- a/galaxy.yml
++++ b/galaxy.yml
+@@ -18,3 +19,14 @@
+   - .gitignore
+   - changelogs/.plugin-cache.yaml
+   - '*.tar.gz'
++  - .azure-pipelines
++  - .github
++  - changelogs/fragments/.keep
++  - shippable.yml
++  - tests
++  # These files are installed with %doc and %license
++  - README.md
++  - CHANGELOG.rst
++  - simplified_bsd.txt
++  - COPYING
++  - PSF-license.txt

diff --git a/sources b/sources
new file mode 100644
index 0000000..c0c9b46
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (community.postgresql-3.0.0.tar.gz) = 630168e6d93844b12d7be78b440cb209d63e76f0a1092cce90d974b11c802f26875aa1fac6b8c320c99b2c6c6f901264860e7e022e11f1d839e0d159a17c9a62

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30  4:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30  4:54 [rpms/ansible-collection-community-postgresql] epel10: Initial package. Fixes rhbz#2222130 Maxwell G

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