public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/adoptium-temurin-java-repository] rawhide: Relocate repository configuration files to /usr
@ 2026-10-07 19:34 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-07 19:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/adoptium-temurin-java-repository
            Branch : rawhide
            Commit : 41b7b1b3d84e2f8a4ac2967cb272a86cdbbe0087
            Author : Neal Gompa <ngompa@fedoraproject.org>
            Date   : 2026-10-07T15:32:23-04:00
            Stats  : +3/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/adoptium-temurin-java-repository/c/41b7b1b3d84e2f8a4ac2967cb272a86cdbbe0087?branch=rawhide

            Log:
            Relocate repository configuration files to /usr

Reference: https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr

---
diff --git a/adoptium-temurin-java-repository.spec b/adoptium-temurin-java-repository.spec
index 581c540..b4876e1 100644
--- a/adoptium-temurin-java-repository.spec
+++ b/adoptium-temurin-java-repository.spec
@@ -1,5 +1,5 @@
 %global     reponame   %{name}.repo
-%global     repodir    %{_sysconfdir}/yum.repos.d
+%global     repodir    %{_datadir}/dnf5/repos.d
 %global     thirdparty %{_prefix}/lib/fedora-third-party/conf.d
 
 %define obsoleteLine() %{expand:
@@ -48,7 +48,7 @@ Source3:    README.md
 
 BuildArch:  noarch
 # fedora-third-party contains tools to work with 3rd party repos and owns fedora-third-party/conf.d/ directory
-Requires:   fedora-third-party
+Requires:   fedora-third-party >= 0.11
 
 #dont forget to update the lua list in pre and bash list in post
 %{obsoleteJdk -- 1.8.0}
@@ -175,7 +175,7 @@ fi
 %files
 %license LICENSE
 %{thirdparty}/*
-%config(noreplace) %{repodir}/%{reponame}
+%{repodir}/%{reponame}
 %doc README.md
 
 %changelog

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

only message in thread, other threads:[~2026-10-07 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 19:34 [rpms/adoptium-temurin-java-repository] rawhide: Relocate repository configuration files to /usr Neal Gompa

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