pgdg-redhat-nonfree: Remove v12 repos and add -debuginfo repos. Also fix/update...
authorDevrim Gunduz <devrim@gunduz.org>
Tue, 25 Mar 2025 08:21:00 +0000 (11:21 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Tue, 25 Mar 2025 08:21:00 +0000 (11:21 +0300)
rpm/redhat/main/non-free/pgdg-yum-nonfree/RHEL-main/pgdg-redhat-nonfree-all.repo
rpm/redhat/main/non-free/pgdg-yum-nonfree/RHEL-main/pgdg-redhat-nonfree.spec

index f726d6556ae9ac80aa80f9c793facaa94d485a3a..c4ac7c781640f6c76c723fa2fea012bd6523ab0b 100644 (file)
@@ -1,3 +1,7 @@
+#################################################################################
+#   PGDG Red Hat Enterprise Linux / Rocky / AlmaLinux non-free repositories    #
+#################################################################################
+
 # PGDG Red Hat Enterprise Linux / Rocky Linux / AlmaLinux non-free stable repositories:
 
 [pgdg17-nonfree]
@@ -40,16 +44,8 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg12-nonfree]
-name=PostgreSQL 12 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree
-baseurl=https://download.postgresql.org/pub/repos/yum/non-free/12/redhat/rhel-$releasever-$basearch
-enabled=1
-gpgcheck=1
-gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
-repo_gpgcheck = 1
-
 # PGDG for RHEL / Rocky Linux / AlmaLinux Updates Testing repositories. (These packages should not be used in production)
-# Available for 12 and above.
+# Available for 13 and above.
 
 [pgdg17-updates-testing-nonfree]
 name=PostgreSQL 17 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Updates testing
@@ -91,17 +87,9 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg12-updates-testing-nonfree]
-name=PostgreSQL 12 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Updates testing
-baseurl=https://download.postgresql.org/pub/repos/yum/non-free/testing/12/redhat/rhel-$releasever-$basearch
-enabled=0
-gpgcheck=1
-gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
-repo_gpgcheck = 1
-
 # Source RPMs (SRPM), and their testing repositories:
 
-[pgdg17-source-nonfree]
+[pgdg17-nonfree-source]
 name=PostgreSQL 17 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/17/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -109,7 +97,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg17-source-updates-testing-nonfree]
+[pgdg17-nonfree-updates-testing-source]
 name=PostgreSQL 17 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/17/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -117,7 +105,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg16-source-nonfree]
+[pgdg16-nonfree-source]
 name=PostgreSQL 16 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/16/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -125,7 +113,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg16-source-updates-testing-nonfree]
+[pgdg16-nonfree-updates-testing-source]
 name=PostgreSQL 16 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/16/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -133,7 +121,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg15-source-nonfree]
+[pgdg15-nonfree-source]
 name=PostgreSQL 15 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/15/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -141,7 +129,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg15-source-updates-testing-nonfree]
+[pgdg15-nonfree-updates-testing-source]
 name=PostgreSQL 15 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/15/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -149,7 +137,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg14-source-nonfree]
+[pgdg14-nonfree-source]
 name=PostgreSQL 14 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/14/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -157,7 +145,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg14-source-updates-testing-nonfree]
+[pgdg14-nonfree-updates-testing-source]
 name=PostgreSQL 14 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/14/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -165,7 +153,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg13-source-nonfree]
+[pgdg13-nonfree-source]
 name=PostgreSQL 13 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/13/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -173,7 +161,7 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg13-source-updates-testing-nonfree]
+[pgdg13-nonfree-updates-testing-source]
 name=PostgreSQL 13 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
 baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/13/redhat/rhel-$releasever-$basearch
 enabled=0
@@ -181,18 +169,45 @@ gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg12-source-nonfree]
-name=PostgreSQL 12 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source
-baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/12/redhat/rhel-$releasever-$basearch
+# Debuginfo/debugsource packages for non-free repos
+
+[pgdg17-nonfree-debuginfo]
+name=PostgreSQL 17 for RHEL / Rocky / AlmaLinux $releasever - $basearch - NonFree - Debuginfo
+baseurl=https://dnf-debuginfo.postgresql.org/non-free/debug/17/redhat/rhel-$releasever-$basearch
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
+repo_gpgcheck = 1
+
+[pgdg16-nonfree-debuginfo]
+name=PostgreSQL 16 for RHEL / Rocky / AlmaLinux $releasever - $basearch - NonFree - Debuginfo
+baseurl=https://dnf-debuginfo.postgresql.org/non-free/debug/16/redhat/rhel-$releasever-$basearch
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
+repo_gpgcheck = 1
+
+[pgdg15-nonfree-debuginfo]
+name=PostgreSQL 15 for RHEL / Rocky / AlmaLinux $releasever - $basearch - NonFree - Debuginfo
+baseurl=https://dnf-debuginfo.postgresql.org/non-free/debug/15/redhat/rhel-$releasever-$basearch
 enabled=0
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
 
-[pgdg12-source-updates-testing-nonfree]
-name=PostgreSQL 12 for RHEL / Rocky Linux / AlmaLinux $releasever - $basearch - NonFree - Source update testing
-baseurl=https://download.postgresql.org/pub/repos/yum/non-free/srpms/testing/12/redhat/rhel-$releasever-$basearch
+[pgdg14-nonfree-debuginfo]
+name=PostgreSQL 14 for RHEL / Rocky / AlmaLinux $releasever - $basearch - NonFree - Debuginfo
+baseurl=https://dnf-debuginfo.postgresql.org/non-free/debug/14/redhat/rhel-$releasever-$basearch
 enabled=0
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
 repo_gpgcheck = 1
+
+[pgdg13-nonfree-debuginfo]
+name=PostgreSQL 13 for RHEL / Rocky / AlmaLinux $releasever - $basearch - NonFree - Debuginfo
+baseurl=https://dnf-debuginfo.postgresql.org/non-free/debug/13/redhat/rhel-$releasever-$basearch
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL-nonfree
+repo_gpgcheck = 1
+
index 8510e885d6c5a283f31927bdd4a0520ec84bce03..bf7ebf42324ecb227f4da4fcf59ed963a6f7332b 100644 (file)
@@ -1,6 +1,6 @@
 Name:          pgdg-redhat-nonfree-repo
 Version:       42.0
-Release:       15PGDG
+Release:       16PGDG
 Summary:       PostgreSQL PGDG RPMs - Yum Repository Configuration for RHEL / Rocky Linux / AlmaLinux NonFree
 License:       PostgreSQL
 URL:           https://yum.postgresql.org
@@ -38,6 +38,12 @@ AlmaLinux non-free repository, and also the GPG key for PGDG RPMs.
 %{_sysconfdir}/pki/rpm-gpg/*
 
 %changelog
+* Tue Mar 25 2025 Devrim Gündüz <devrim@gunduz.org> - 42.0-16PGDG
+- Remove v12 repos
+- Add -debuginfo repos
+- Fix/update srpm repo names so that they have -source at the end
+  and move them to the new URL.
+
 * Wed Sep 25 2024 Devrim Gündüz <devrim@gunduz.org> - 42.0-15PGDG
 - Add v17 repositories
 - Remove RHEL 7 bits