import CS dnsconfd-1.7.5-1.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-03-30 10:22:24 -04:00
parent 0cbaf13508
commit 132bad4806
3 changed files with 11 additions and 9 deletions

View File

@ -1 +1 @@
fa799ec7e902013be97952bee2d3babe28b1a5d0 SOURCES/dnsconfd-1.7.3.tar.gz
01a5e2b8a69341607ac6569efbf41a6252c73594 SOURCES/dnsconfd-1.7.5.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dnsconfd-1.7.3.tar.gz
SOURCES/dnsconfd-1.7.5.tar.gz

View File

@ -2,7 +2,7 @@
%global selinuxtype targeted
Name: dnsconfd
Version: 1.7.3
Version: 1.7.5
Release: 1%{?dist}
Summary: Local DNS cache configuration daemon
License: MIT
@ -11,8 +11,6 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: dnsconfd.sysusers
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools
BuildRequires: python3-rpm-macros
BuildRequires: python3-pip
BuildRequires: systemd
@ -31,8 +29,8 @@ Requires: %{name}-cache
Requires: polkit
Suggests: %{name}-unbound
Requires: (%{name}-unbound = %{version}-%{release} if %{name}-unbound)
%?python_enable_dependency_generator
%generate_buildrequires
%pyproject_buildrequires
%description
Dnsconfd configures local DNS cache services.
@ -95,7 +93,7 @@ Dnsconfd dracut module
%autosetup -n %{name}-%{version}
%build
%py3_build
%pyproject_wheel
%if %{defined fedora} && 0%{?fedora} < 40 || %{defined rhel} && 0%{?rhel} < 10
echo '/var/run/dnsconfd(/.*)? gen_context(system_u:object_r:dnsconfd_var_run_t,s0)' >> distribution/dnsconfd.fc
@ -112,7 +110,7 @@ pushd micro-dnsconfd
popd
%install
%py3_install
%pyproject_install
mkdir -m 0755 -p %{buildroot}%{_datadir}/dbus-1/system.d/
mkdir -m 0755 -p %{buildroot}%{_datadir}/dbus-1/system-services/
mkdir -m 0755 -p %{buildroot}%{_sysconfdir}/unbound/conf.d/
@ -242,6 +240,10 @@ fi
%{_prefix}/lib/dracut/modules.d/99dnsconfd
%changelog
* Thu Jan 08 2026 Tomas Korbar <tkorbar@redhat.com> - 1.7.5-1
- Rebase to 1.7.5
- Resolves: RHEL-139901
* Tue Jun 03 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.3-1
- Rebase to 1.7.3
- Resolves: RHEL-94999