Skip to content

Commit 900d9da

Browse files
committed
Fixing Fedora 41 build
[no ci]
1 parent 843cfea commit 900d9da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

installers/rpm/wsddn.spec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: wsddn
22
Version: 1.15
3-
Release: 1%{?dist}
3+
Release: 2%{?dist}
44
Summary: WS-Discovery Host Daemon
55

66
License: BSD-3-Clause
@@ -27,8 +27,8 @@ fi
2727
[ -d wsdd-native-%{version} ] || unzip -qq %{_topdir}/SOURCES/v%{version}.zip
2828

2929
%build
30-
export PATH=%{_topdir}/BUILD/cmake/bin:$PATH
31-
cd %{_topdir}/BUILD/wsdd-native-%{version}
30+
export PATH=`pwd`/cmake/bin:$PATH
31+
cd wsdd-native-%{version}
3232
cmake -S . -B out -DCMAKE_BUILD_TYPE=RelWithDebInfo
3333
cmake --build out -- %{?_smp_mflags}
3434
cp installers/wsddn.conf out/
@@ -37,8 +37,8 @@ sed -i "s/{SAMPLE_IFACE_NAME}/eth0/g" out/wsddn.conf
3737

3838

3939
%install
40-
export PATH=%{_topdir}/BUILD/cmake/bin:$PATH
41-
cd %{_topdir}/BUILD/wsdd-native-%{version}
40+
export PATH=`pwd`/cmake/bin:$PATH
41+
cd wsdd-native-%{version}
4242
cmake --install out --prefix %{buildroot}/usr
4343
mkdir -p %{buildroot}/usr/lib/systemd/system
4444
install -m 0644 config/systemd/usr/lib/systemd/system/%{name}.service \

0 commit comments

Comments
 (0)