Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

View file

@ -1,6 +1,6 @@
Name: wsdd
Version: 0.8
Release: 7%{?dist}
Release: 3%{?dist}
Summary: Web Services Dynamic Discovery host daemon
License: MIT
URL: https://github.com/christgau/wsdd
@ -10,6 +10,7 @@ Patch: Modify-systemd-service-for-Fedora.patch
BuildArch: noarch
BuildRequires: systemd
Requires(pre): shadow-utils
%description
@ -30,14 +31,13 @@ install -pDm644 etc/systemd/wsdd.service %{buildroot}%{_unitdir}/wsdd.service
install -pDm644 man/wsdd.8 %{buildroot}%{_mandir}/man8/wsdd.8
install -pDm755 src/wsdd.py %{buildroot}%{_bindir}/wsdd
# Create a sysusers.d config file
cat >wsdd.sysusers.conf <<EOF
u wsdd - '%{summary}' - -
EOF
install -m0644 -D wsdd.sysusers.conf %{buildroot}%{_sysusersdir}/wsdd.conf
%pre
getent group wsdd >/dev/null || groupadd -r wsdd
getent passwd wsdd >/dev/null || \
useradd -r -g wsdd -d / -s /sbin/nologin \
-c "%{summary}" wsdd
exit 0
%post
%systemd_post wsdd.service
@ -57,22 +57,9 @@ install -m0644 -D wsdd.sysusers.conf %{buildroot}%{_sysusersdir}/wsdd.conf
%{_mandir}/man8/wsdd.8*
%license LICENSE
%doc AUTHORS README.md
%{_sysusersdir}/wsdd.conf
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.8-4
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild