public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/adoptium-temurin-java-repository] rawhide: Relocate repository configuration files to /usr
Date: Wed, 07 Oct 2026 19:34:01 GMT	[thread overview]
Message-ID: <179140164171.1.7761364555000645360.rpms-adoptium-temurin-java-repository-41b7b1b3d84e@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-07 19:34 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=179140164171.1.7761364555000645360.rpms-adoptium-temurin-java-repository-41b7b1b3d84e@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --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