Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e31459e99 | ||
|
|
5a2d924124 | ||
|
|
20d64fc15a | ||
|
|
5693493e62 | ||
|
|
f5352adbd2 | ||
|
|
420c2d99aa | ||
|
|
d38e92ad7c | ||
|
|
422f1900fc |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
||||
dnsconfd-1.7.2.tar.gz
|
||||
/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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/distribution.functional}
|
||||
9
plans/distribution.fmf
Normal file
9
plans/distribution.fmf
Normal file
@ -0,0 +1,9 @@
|
||||
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
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (dnsconfd-1.7.2.tar.gz) = 0a2f909caacdb3a898946ae6b1021c7195ec3f727373bf85782be12af16b5f1a0efb3403061d8795ef2b6b1fe311002a63fe1d6212a9dc5dd0a548e4930d6336
|
||||
SHA512 (dnsconfd-1.7.5.tar.gz) = 20f8fb42bfd36aaca73cb18fbd758bf2df8d63a5b444b722ff2834d2c86b0f94c893c08c7b998cb516786246dda7244b720a7631288edd0b81b7b416a534b568
|
||||
|
||||
Loading…
Reference in New Issue
Block a user