Skip to content

Commit

Permalink
WIP [ofono] /usr merge. Contributes to JB#36606
Browse files Browse the repository at this point in the history
  • Loading branch information
salmelamike committed Jul 4, 2019
1 parent fac7684 commit 1a54efe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rpm/ofono.spec
Expand Up @@ -96,7 +96,7 @@ autoreconf --force --install
--disable-add-remove-context \
--disable-isimodem \
--disable-qmimodem \
--with-systemdunitdir="/%{_lib}/systemd/system"
--with-systemdunitdir="%{_libdir}/systemd/system"

make %{_smp_mflags}

Expand All @@ -109,9 +109,9 @@ rm -rf %{buildroot}
%make_install

mkdir -p %{buildroot}/%{_sysconfdir}/ofono/push_forwarder.d
mkdir -p %{buildroot}/%{_lib}/systemd/system/network.target.wants
mkdir -p %{buildroot}/%{_libdir}/systemd/system/network.target.wants
mkdir -p %{buildroot}/var/lib/ofono
ln -s ../ofono.service %{buildroot}/%{_lib}/systemd/system/network.target.wants/ofono.service
ln -s ../ofono.service %{buildroot}/%{_libdir}/systemd/system/network.target.wants/ofono.service

mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
install -m0644 -t %{buildroot}%{_docdir}/%{name}-%{version} \
Expand All @@ -137,8 +137,8 @@ systemctl daemon-reload ||:
%license COPYING
%config %{_sysconfdir}/dbus-1/system.d/*.conf
%{_sbindir}/*
/%{_lib}/systemd/system/network.target.wants/ofono.service
/%{_lib}/systemd/system/ofono.service
%{_libdir}/systemd/system/network.target.wants/ofono.service
%{_libdir}/systemd/system/ofono.service
%dir %{_sysconfdir}/ofono/
%dir %{_sysconfdir}/ofono/push_forwarder.d
# This file is part of phonesim and not needed with ofono.
Expand Down

0 comments on commit 1a54efe

Please sign in to comment.