File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11Name: wsddn
22Version: 1.15
3- Release: 1 %{?dist }
3+ Release: 2 %{?dist }
44Summary: WS-Discovery Host Daemon
55
66License: BSD-3-Clause
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 }
3232cmake -S . -B out -DCMAKE_BUILD_TYPE=RelWithDebInfo
3333cmake --build out -- %{?_smp_mflags }
3434cp 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 }
4242cmake --install out --prefix %{buildroot }/usr
4343mkdir -p %{buildroot }/usr/lib/systemd/system
4444install -m 0644 config/systemd/usr/lib/systemd/system/%{name }.service \
You can’t perform that action at this time.
0 commit comments