Compare commits

...

8 Commits

Author SHA1 Message Date
Tomas Korbar
4e31459e99 Rebase to 1.7.5
Resolves: RHEL-139870
2026-01-08 15:30:34 +01:00
Tomas Korbar
5a2d924124 Rebuild because of infrastructure problems
Resolves: RHEL-92412
Resolves: RHEL-88534
Resolves: RHEL-81709
2025-06-05 13:39:50 +02:00
Tomas Korbar
20d64fc15a Rebase to 1.7.3
Resolves: RHEL-92412
Resolves: RHEL-88534
Resolves: RHEL-81709
2025-06-03 15:10:27 +02:00
psklenar@redhat.com
5693493e62 install dnsconfd by plan 2025-04-07 09:44:00 +02:00
psklenar@redhat.com
f5352adbd2 import plans 2025-04-02 11:04:13 +02:00
psklenar@redhat.com
420c2d99aa import plans 2025-04-02 10:29:43 +02:00
psklenar@redhat.com
d38e92ad7c import plans 2025-04-02 09:45:32 +02:00
psklenar@redhat.com
422f1900fc try to run all plans 2025-04-02 09:00:05 +02:00
5 changed files with 33 additions and 10 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
/dnsconfd-1.7.0.tar.gz
/dnsconfd-1.7.1.tar.gz
/dnsconfd-1.7.2.tar.gz
/dnsconfd-1.7.3.tar.gz
/dnsconfd-1.7.5.tar.gz

View File

@ -2,7 +2,7 @@
%global selinuxtype targeted
Name: dnsconfd
Version: 1.7.2
Version: 1.7.5
Release: 1%{?dist}
Summary: Local DNS cache configuration daemon
License: MIT
@ -11,13 +11,13 @@ 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
BuildRequires: systemd-rpm-macros
%if %{defined fedora} && 0%{?fedora} < 42 || %{defined rhel} && 0%{?rhel} < 11
%{?sysusers_requires_compat}
%endif
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
Requires: python3-gobject-base
@ -28,8 +28,9 @@ Requires: dbus-common
Requires: %{name}-cache
Requires: polkit
Suggests: %{name}-unbound
%?python_enable_dependency_generator
Requires: (%{name}-unbound = %{version}-%{release} if %{name}-unbound)
%generate_buildrequires
%pyproject_buildrequires
%description
Dnsconfd configures local DNS cache services.
@ -92,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
@ -109,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/
@ -182,11 +183,13 @@ fi
%posttrans selinux
%selinux_relabel_post -s %{selinuxtype}
%if %{defined fedora} && 0%{?fedora} < 42 || %{defined rhel} && 0%{?rhel} < 11
%pre
%sysusers_create_compat %{SOURCE1}
%pre unbound
%sysusers_create_compat %{SOURCE1}
%endif
%post
%systemd_post %{name}.service
@ -230,13 +233,30 @@ fi
%{_unitdir}/unbound.service.d/dnsconfd.conf
%config(noreplace) %attr(644,unbound,unbound) %{_sysconfdir}/unbound/conf.d/unbound.conf
%attr(664,dnsconfd,dnsconfd) %{_rundir}/dnsconfd/unbound.conf
%{_sysusersdir}/dnsconfd.conf
%{_tmpfilesdir}/dnsconfd-unbound.conf
%files dracut
%{_prefix}/lib/dracut/modules.d/99dnsconfd
%changelog
* Fri Feb 28 2025 Tomas Korbar <tkorbar@redhat.com> -1.7.2-1
* Thu Jan 08 2026 Tomas Korbar <tkorbar@redhat.com> - 1.7.5-1
- Rebase to 1.7.5
- Resolves: RHEL-139870
* Thu Jun 05 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.3-2
- Rebuild because of infrastructure problems
- Resolves: RHEL-92412
- Resolves: RHEL-88534
- Resolves: RHEL-81709
* Tue Jun 03 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.3-1
- Rebase to 1.7.3
- Resolves: RHEL-92412
- Resolves: RHEL-88534
- Resolves: RHEL-81709
* Fri Feb 28 2025 Tomas Korbar <tkorbar@redhat.com> - 1.7.2-1
- Rebase to 1.7.2
- Resolves: RHEL-80304

View File

@ -3,4 +3,4 @@ product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/upstream.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/distribution.functional}

View File

@ -4,5 +4,6 @@ discover:
how: fmf
url: https://github.com/InfrastructureServices/dnsconfd.git
filter: tag:distribution
ref: 1.7.5
execute:
how: tmt

View File

@ -1 +1 @@
SHA512 (dnsconfd-1.7.2.tar.gz) = 0a2f909caacdb3a898946ae6b1021c7195ec3f727373bf85782be12af16b5f1a0efb3403061d8795ef2b6b1fe311002a63fe1d6212a9dc5dd0a548e4930d6336
SHA512 (dnsconfd-1.7.5.tar.gz) = 20f8fb42bfd36aaca73cb18fbd758bf2df8d63a5b444b722ff2834d2c86b0f94c893c08c7b998cb516786246dda7244b720a7631288edd0b81b7b416a534b568