%configure --disable-static \
--enable-test \
- --with-systemdunitdir="/%{_lib}/systemd/system"
+ --with-systemdunitdir="/usr/lib/systemd/system"
make %{?jobs:-j%jobs}
%install
%make_install
-mkdir -p %{buildroot}/%{_lib}/systemd/system/network.target.wants
-ln -s ../ofono.service %{buildroot}/%{_lib}/systemd/system/network.target.wants/ofono.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/network.target.wants
+ln -s ../ofono.service %{buildroot}/usr/lib/systemd/system/network.target.wants/ofono.service
mkdir -p %{buildroot}/etc/rc.d/init.d
cp %{SOURCE1} %{buildroot}/etc/rc.d/init.d/ofono
%files
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
%{_sbindir}/*
-/%{_lib}/systemd/system/network.target.wants/ofono.service
-/%{_lib}/systemd/system/ofono.service
+/usr/lib/systemd/system/network.target.wants/ofono.service
+/usr/lib/systemd/system/ofono.service
/etc/ofono/phonesim.conf
/etc/rc.d/init.d/*