Don't package files in obsoleted /var/run

Resolves: RHEL-4866

Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
Rafael Guterres Jeffman 2025-07-23 14:40:37 -03:00
parent 16650f3b05
commit ecd3e2a629

View File

@ -9,7 +9,7 @@
Summary: DNSSEC key and zone management software
Name: opendnssec
Version: 2.1.10
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
Url: http://www.opendnssec.org/
Source0: http://www.opendnssec.org/files/source/%{?prever:testing/}%{name}-%{version}%{?prever}.tar.gz
@ -91,7 +91,6 @@ install -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/opendnssec/
mkdir -p %{buildroot}%{_tmpfilesdir}/
install -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/opendnssec.conf
install -D %{SOURCE9} %{buildroot}%{_sysusersdir}/%{name}.conf
mkdir -p %{buildroot}%{_localstatedir}/run/opendnssec
mkdir -p %{buildroot}%{_datadir}/opendnssec/
cp -a enforcer/utils %{buildroot}%{_datadir}/opendnssec/migration
cp -a enforcer/src/db/schema.* %{buildroot}%{_datadir}/opendnssec/migration/1.4-2.0_db_convert/
@ -117,7 +116,6 @@ sed -i "s:sqlite_convert.sql:%{_datadir}/opendnssec/migration/1.4-2.0_db_convert
%attr(0770,root,ods) %dir %{_localstatedir}/opendnssec/enforcer
%attr(0660,root,ods) %config(noreplace) %{_sysconfdir}/opendnssec/*.xml
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/ods
%attr(0770,root,ods) %dir %{_localstatedir}/run/opendnssec
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/opendnssec
%doc NEWS README.md
%license LICENSE
@ -189,6 +187,10 @@ ods-enforcer update all >/dev/null 2>/dev/null ||:
%systemd_postun_with_restart ods-signerd.service
%changelog
* Wed Jul 23 2025 Rafael Jeffman <rjeffman@redhat.com> - 2.1.10-3
- Don't package files in obsoleted /var/run
Resolves: RHEL-4866
* Fri Jan 24 2025 Rafael Jeffman <rjeffman@redhat.com> - 2.1.10-3
- Exclude i686 arch, as there's no OpenJDK 17 for this arch
Resolves: RHEL-75905
@ -197,7 +199,7 @@ ods-enforcer update all >/dev/null 2>/dev/null ||:
- Use systemd-sysusers to create users
Resolves: RHEL-75905
* Thu Apr 27 2023 Rafael Guterres Jeffman <rjeffman@redhat.com> - 2.1.10-1
* Thu Apr 27 2023 Rafael Jeffman <rjeffman@redhat.com> - 2.1.10-1
- Upstream release 2.1.10.
Resolves: rhbz#1981324