Compare commits

..

1 Commits

Author SHA1 Message Date
88f751b3c7 import CS dnsconfd-1.7.2-1.el10 2025-03-27 13:04:48 +00:00
7 changed files with 10 additions and 54 deletions

View File

@ -1 +0,0 @@
1

9
.gitignore vendored
View File

@ -1,8 +1 @@
/dnsconfd-1.0.2.tar.gz
/dnsconfd-1.1.2.tar.gz
/dnsconfd-1.2.0.tar.gz
/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
dnsconfd-1.7.2.tar.gz

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

View File

@ -2,7 +2,7 @@
%global selinuxtype targeted
Name: dnsconfd
Version: 1.7.5
Version: 1.7.2
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,9 +28,8 @@ Requires: dbus-common
Requires: %{name}-cache
Requires: polkit
Suggests: %{name}-unbound
Requires: (%{name}-unbound = %{version}-%{release} if %{name}-unbound)
%generate_buildrequires
%pyproject_buildrequires
%?python_enable_dependency_generator
%description
Dnsconfd configures local DNS cache services.
@ -93,7 +92,7 @@ Dnsconfd dracut module
%autosetup -n %{name}-%{version}
%build
%pyproject_wheel
%py3_build
%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
@ -110,7 +109,7 @@ pushd micro-dnsconfd
popd
%install
%pyproject_install
%py3_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/
@ -183,13 +182,11 @@ 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
@ -233,30 +230,13 @@ 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
* 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
* Fri Feb 28 2025 Tomas Korbar <tkorbar@redhat.com> -1.7.2-1
- Rebase to 1.7.2
- Resolves: RHEL-80304

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/distribution.functional}

View File

@ -1,9 +0,0 @@
summary:
Run distribution upstream tests
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.5.tar.gz) = 20f8fb42bfd36aaca73cb18fbd758bf2df8d63a5b444b722ff2834d2c86b0f94c893c08c7b998cb516786246dda7244b720a7631288edd0b81b7b416a534b568
SHA512 (dnsconfd-1.7.2.tar.gz) = 0a2f909caacdb3a898946ae6b1021c7195ec3f727373bf85782be12af16b5f1a0efb3403061d8795ef2b6b1fe311002a63fe1d6212a9dc5dd0a548e4930d6336