public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pdns-recursor] epel10.2: Update to 5.4.5 + spec cleanup and modernization
@ 2026-08-07 21:56 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-07 21:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pdns-recursor
            Branch : epel10.2
            Commit : 4efa9e6b6e0118344dfcb9fc53bab00b308cdc25
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-07T18:38:11-03:00
            Stats  : +43/-46 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/pdns-recursor/c/4efa9e6b6e0118344dfcb9fc53bab00b308cdc25?branch=epel10.2

            Log:
            Update to 5.4.5 + spec cleanup and modernization

Resolves: rhbz#2511955

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index 8128ebb..309b5de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -71,3 +71,5 @@ pdns-recursor-3.2.tar.bz2
 /pdns-recursor-5.4.4.tar.xz
 /pdns-recursor-5.4.4.tar.xz.sig
 /powerdns-keyblock.asc
+/pdns-recursor-5.4.5.tar.xz
+/pdns-recursor-5.4.5.tar.xz.sig

diff --git a/pdns-recursor.spec b/pdns-recursor.spec
index 90d2bb3..01aa6ab 100644
--- a/pdns-recursor.spec
+++ b/pdns-recursor.spec
@@ -2,55 +2,56 @@
 %global _lto_cflags %{nil}
 %endif
 
-Name: pdns-recursor
-Version: 5.4.4
-Release: %autorelease
-Summary: Modern, advanced and high performance recursing/non authoritative name server
-License: GPL-2.0-only
-URL: https://powerdns.com
-Source0: https://downloads.powerdns.com/releases/%{name}-%{version}.tar.xz
-Source1: https://downloads.powerdns.com/releases/%{name}-%{version}.tar.xz.sig
-Source2: https://doc.powerdns.com/powerdns-keyblock.asc
-ExcludeArch: %{arm} %{ix86}
-
-Provides: powerdns-recursor = %{version}-%{release}
-BuildRequires: make
-BuildRequires: boost-devel
-BuildRequires: gcc-c++
-BuildRequires: gnupg2
+Name:           pdns-recursor
+Version:        5.4.5
+Release:        %autorelease
+Summary:        Modern, advanced and high performance recursing/non authoritative name server
+
+License:        GPL-2.0-only
+URL:            https://powerdns.com
+Source0:        https://downloads.powerdns.com/releases/%{name}-%{version}.tar.xz
+Source1:        https://downloads.powerdns.com/releases/%{name}-%{version}.tar.xz.sig
+Source2:        https://doc.powerdns.com/powerdns-keyblock.asc
+
+ExcludeArch:    %{arm} %{ix86}
+
+Provides:       powerdns-recursor = %{version}-%{release}
+
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  boost-devel
+BuildRequires:  cargo-rpm-macros
+BuildRequires:  chrpath
+BuildRequires:  curl-devel
+BuildRequires:  fstrm-devel
+BuildRequires:  gcc-c++
+BuildRequires:  gnupg2
+BuildRequires:  hostname
+BuildRequires:  libcap-devel
+BuildRequires:  libsodium-devel
+BuildRequires:  libtool
+BuildRequires:  make
+BuildRequires:  openssl-devel
+BuildRequires:  protobuf-devel
+BuildRequires:  systemd-devel
 %ifarch %{ix86} x86_64 aarch64
-BuildRequires: luajit-devel
+BuildRequires:  luajit-devel
 %else
-BuildRequires: lua-devel
+BuildRequires:  lua-devel
 %endif
 %ifarch ppc64le
-BuildRequires: libatomic
+BuildRequires:  libatomic
 %endif
-BuildRequires: libcap-devel
-BuildRequires: fstrm-devel
-BuildRequires: openssl-devel
-BuildRequires: systemd
-BuildRequires: systemd-devel
-BuildRequires: protobuf-devel
-BuildRequires: hostname
-BuildRequires: libsodium-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: cargo-rpm-macros
-BuildRequires: curl-devel
-BuildRequires: chrpath
 
+BuildRequires:  systemd
 Requires(post): systemd
 Requires(preun): systemd
 Requires(postun): systemd
 
-
 %description
 PowerDNS Recursor is a non authoritative/recursing DNS server. Use this
 package if you need a dns cache for your network.
 
-
 %prep
 %{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0}
 %autosetup -n %{name}-%{version} -p1
@@ -87,12 +88,11 @@ cd rec-rust-lib/rust
 cargo generate-lockfile --offline
 %make_build
 
-
 %install
 %make_install
 chrpath --delete %{buildroot}%{_prefix}/*/pdns_recursor
 
-%{__cp} %{buildroot}%{_sysconfdir}/%{name}/recursor.{yml-dist,conf}
+cp -p %{buildroot}%{_sysconfdir}/%{name}/recursor.{yml-dist,conf}
 
 # add directories for newly-observed-domains/unique-domain-response
 install -p -d -m 0755 %{buildroot}/%{_sharedstatedir}/%{name}/nod
@@ -107,23 +107,18 @@ sed -i \
 
 install -m0644 -D pdns-recursor.sysusers.conf %{buildroot}%{_sysusersdir}/pdns-recursor.conf
 
-
 %check
-make check
-
+%make_build check
 
 %post
 %systemd_post pdns-recursor.service
 
-
 %preun
 %systemd_preun pdns-recursor.service
 
-
 %postun
 %systemd_postun_with_restart pdns-recursor.service
 
-
 %files
 %{_bindir}/rec_control
 %{_sbindir}/pdns_recursor
@@ -136,7 +131,7 @@ make check
 # provide example yml config file. For new installs recursor.conf is the yaml
 # because since recursor.yml takes precedence over recursor.conf we don't put
 # it directly there
-%config %{_sysconfdir}/%{name}/recursor.yml-dist
+%config(noreplace) %{_sysconfdir}/%{name}/recursor.yml-dist
 %dir %attr(0755,pdns-recursor,pdns-recursor) %{_sharedstatedir}/%{name}
 %dir %attr(0755,pdns-recursor,pdns-recursor) %{_sharedstatedir}/%{name}/nod
 %dir %attr(0755,pdns-recursor,pdns-recursor) %{_sharedstatedir}/%{name}/udr

diff --git a/sources b/sources
index 2a26f01..a3097f1 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (pdns-recursor-5.4.4.tar.xz) = a0fc22e9a81598480590ff699c0868488b7d3c981be6cac042c636c7a163dd0ae81f986b47c87fd8469f0d152d7a3d9d5de610cc0fbcde92b3345343ce877fe8
-SHA512 (pdns-recursor-5.4.4.tar.xz.sig) = a1a563ccd7f4805d3f5423e2524d19d755ad63b43d9d0dae675822fc16b807587d6bb27c617cf98a3c1716d5325b740ed4eb8b96cb8c8bfc7f5b9b6916c11364
+SHA512 (pdns-recursor-5.4.5.tar.xz) = 83add4958131c1a4caaf5203eb8c0718f0b41c22194a49a699bf591d2f46a42891f03202be4f6a560dc8b35d79ef6a9e22fa1575cc3554b166c25523bbbdc8c4
+SHA512 (pdns-recursor-5.4.5.tar.xz.sig) = ffa1270d2a5c5afb18e5a4394f07686e8495cdb794a7a1d36820488bbefa09d2a4246681f2e9af3c2829fea487e8f63b28ad2b95e4c65f65469dd7776d587be5
 SHA512 (powerdns-keyblock.asc) = 1442dad2fb4706bdb93c87867691a6907bf877ca69e7ca1648746113c92fe8c4458e1ee61ab4dfd0353b232feb3f5f88270027c1b277463d718d949d33f38fff

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

only message in thread, other threads:[~2026-08-07 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 21:56 [rpms/pdns-recursor] epel10.2: Update to 5.4.5 + spec cleanup and modernization Filipe Rosset

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