Compare commits

..

1 commit

Author SHA1 Message Date
Carlos Rodriguez-Fernandez
1d03f46182
Set default client configuration to use dict.org 2025-01-29 22:43:43 -07:00
3 changed files with 14 additions and 28 deletions

View file

@ -6,8 +6,8 @@
Summary: DICT protocol (RFC 2229) server and command-line client
Name: dictd
Version: 1.13.3
Release: 2%{?dist}
Version: 1.13.1
Release: 5%{?dist}
License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz
Source1: dictd.service
@ -19,7 +19,6 @@ Patch1: 0001-remove-use-of-deprecated-inet_aton-and-inet_ntoa.patch
URL: http://www.dict.org/
BuildRequires: flex
BuildRequires: flex-devel
Buildrequires: autoconf
BuildRequires: bison
BuildRequires: libtool
@ -33,6 +32,7 @@ BuildRequires: gcc
BuildRequires: pkgconfig(systemd)
BuildRequires: checkpolicy, selinux-policy-devel
Requires(pre): shadow-utils
%description
Command-line client for the DICT protocol. The Dictionary Server
@ -58,15 +58,10 @@ More information can be found in the INSTALL file in this package.
%prep
%autosetup -p1
autoreconf -fiv
autoreconf -fv
mkdir SELinux
cp -p %{SOURCE2} SELinux
# Create a sysusers.d config file
cat >dictd.sysusers.conf <<EOF
u dictd - 'dictd dictionary server' %{homedir} -
EOF
%build
pushd SELinux
for selinuxvariant in %{selinux_variants}
@ -96,8 +91,6 @@ do
%{buildroot}%{_datadir}/selinux/${selinuxvariant}/dictd2.pp
done
install -m0644 -D dictd.sysusers.conf %{buildroot}%{_sysusersdir}/dictd.conf
%post server
%systemd_post dictd.service
@ -108,6 +101,12 @@ install -m0644 -D dictd.sysusers.conf %{buildroot}%{_sysusersdir}/dictd.conf
%postun server
%systemd_postun_with_restart dictd.service
%pre
getent group %{username} >/dev/null || groupadd -r %{username}
getent passwd %{username} >/dev/null || \
useradd -r -g %{username} -d %{homedir} -s /sbin/nologin \
-c "dictd dictionary server" %{username}
exit 0
%files
%doc ANNOUNCE COPYING README doc/rfc2229.txt doc/security.doc
@ -140,27 +139,14 @@ install -m0644 -D dictd.sysusers.conf %{buildroot}%{_sysusersdir}/dictd.conf
%{_mandir}/man1/dictzip.1*
%{_mandir}/man8/dictd.8*
%attr(0644,root,root) %{_unitdir}/dictd.service
%{_sysusersdir}/dictd.conf
%{homedir}
%config(noreplace) %{_sysconfdir}/dictd.conf
%doc SELinux
%{_datadir}/selinux/*/dictd2.pp
%changelog
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Apr 17 2025 Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com> - 1.13.3-1
- Update to 1.13.3
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.13.1-7
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Wed Jan 29 2025 Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com> - 1.13.1-6
- Set default client configuration to use dict.org
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jan 29 2025 Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com> - 1.13.1-5
- Set default client configuration to use dict.org (rhbz#2342818)
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

View file

@ -13,7 +13,7 @@ product_versions:
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
# - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} # known issue rhbz#2268949
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View file

@ -1 +1 @@
SHA512 (dictd-1.13.3.tar.gz) = fb118a7594566a8e4e3fdff9bf79c37ed29f1f2eb3a9f380ba7c57740839b723537a0ed8864c0b425774b564f78ae50624756c3ca3a372a971002bcaca7fb934
SHA512 (dictd-1.13.1.tar.gz) = 5e4b67e8d74cec174e9c36b0ccecf1363eed324ec6216307b03f68571155c98bd94e5d3b7fc0b096585172c687aca832fd4110849a403da8c722eba9a4e74fa3