public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Reuse %{dnssec_utils_bin1} instead copy&paste
Date: Wed, 01 Jul 2026 09:47:26 GMT [thread overview]
Message-ID: <178289924635.1.14146344568210945807.rpms-bind-3d0ec5111755@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bind
Branch : rawhide
Commit : 3d0ec5111755a2669aa32df30861db2d518abfea
Author : Petr Menšík <pemensik@redhat.com>
Date : 2026-06-24T15:27:17+02:00
Stats : +5/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bind/c/3d0ec5111755a2669aa32df30861db2d518abfea?branch=rawhide
Log:
Reuse %{dnssec_utils_bin1} instead copy&paste
Take advantage it is defined in single value. Can be reused in %files
section as it is.
---
diff --git a/bind.spec b/bind.spec
index 8b0c29c..743a497 100644
--- a/bind.spec
+++ b/bind.spec
@@ -746,7 +746,7 @@ install -p -m 644 %{SOURCE51} ${RPM_BUILD_ROOT}%{_tmpfilesdir}/%{name}-chroot.co
%global utils_bin8 ddns-confgen tsig-keygen
%global main_bin8 named rndc{,-confgen}
%global main_bin1 named{-journalprint,-checkconf,-rrchecker} mdig
-%global dnssec_utils_bin1 dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,verify}
+%global dnssec_utils_bin1 dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,settime,signzone,verify}
%global main_man5 named.conf rndc.conf
%global main_unit named.service named-setup-rndc.service
%global main_lib filter-{a,aaaa}
@@ -1176,10 +1176,10 @@ fi;
%{_sysconfdir}/trusted-key.key
%files dnssec-utils
-%{_bindir}/dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,settime,signzone,verify}%{program_suffix}
-%{_mandir}/man1/dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,settime,signzone,verify}%{program_suffix}.1*
-%ghost %{_bindir}/dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,settime,signzone,verify}
-%ghost %{_mandir}/man1/dnssec-{cds,dsfromkey,importkey,keyfromlabel,keygen,revoke,settime,signzone,verify}.1*
+%{_bindir}/%{dnssec_utils_bin1}%{program_suffix}
+%{_mandir}/man1/%{dnssec_utils_bin1}%{program_suffix}.1*
+%ghost %{_bindir}/%{dnssec_utils_bin1}
+%ghost %{_mandir}/man1/%{dnssec_utils_bin1}.1*
%files devel
%{_libdir}/libbind9-%{mver}.so
reply other threads:[~2026-07-01 9:47 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=178289924635.1.14146344568210945807.rpms-bind-3d0ec5111755@fedoraproject.org \
--to=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