public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind] rawhide: Reuse %{dnssec_utils_bin1} instead copy&paste
@ 2026-07-01  9:47 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-01  9:47 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-07-01  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  9:47 [rpms/bind] rawhide: Reuse %{dnssec_utils_bin1} instead copy&paste 

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