Fix backward compatibility

This is an attempt to fix the backward incompatible changes done when
updating to 0.7.1 that now blocks wsdd service from starting.

Resolves: RHEL-35671
This commit is contained in:
Ondrej Holy 2024-02-16 14:13:21 +01:00
parent 643995276d
commit 2214c30e4d

View File

@ -1,6 +1,6 @@
Name: wsdd Name: wsdd
Version: 0.7.1 Version: 0.7.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Web Services Dynamic Discovery host daemon Summary: Web Services Dynamic Discovery host daemon
License: MIT License: MIT
URL: https://github.com/christgau/wsdd URL: https://github.com/christgau/wsdd
@ -25,6 +25,9 @@ like Windows.
%prep %prep
%autosetup -p1 %autosetup -p1
sed -i "s/;BindsTo=smb.service/BindsTo=smb.service/" etc/systemd/wsdd.service sed -i "s/;BindsTo=smb.service/BindsTo=smb.service/" etc/systemd/wsdd.service
sed -i "s/EnvironmentFile=.*/EnvironmentFile=-\/etc\/sysconfig\/wsdd/" etc/systemd/wsdd.service
sed -i "s/WSDD_PARAMS=/OPTIONS=/" etc/systemd/wsdd.defaults
sed -i "s/\$WSDD_PARAMS/\$OPTIONS/" etc/systemd/wsdd.service
%install %install
@ -64,6 +67,9 @@ exit 0
%changelog %changelog
* Fri Feb 16 2024 Ondrej Holy <oholy@redhat.com> - 0.7.1-3
- Fix backward compatibility (#2254986)
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2 * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild