Commit 4d4a46d6 authored by Matti Kosola's avatar Matti Kosola

Merge branch 'jb50027' into 'master'

[aarch64] Fix location of systemd unit files. Contributes to JB#50027

See merge request !24
parents c472c3f6 3b9eead3
......@@ -2,7 +2,6 @@ Name: mms-engine
Summary: MMS engine
Version: 1.0.68
Release: 1
Group: Communications/Telephony and IM
License: GPLv2
Source0: %{name}-%{version}.tar.bz2
......@@ -32,6 +31,7 @@ BuildRequires: pkgconfig(libglibutil) >= 1.0.11
BuildRequires: pkgconfig(libdbusaccess)
#BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: systemd
%define src mms-engine
%define exe mms-engine
......@@ -40,7 +40,6 @@ BuildRequires: pkgconfig(Qt5Gui)
%define dbusconfig %{_datadir}/dbus-1/system-services
%define dbuspolicy %{_sysconfdir}/dbus-1/system.d
%define glibschemas %{_datadir}/glib-2.0/schemas
%define systemdconfig %{_libdir}/systemd/system
# Activation method:
%define pushconfig %{_sysconfdir}/ofono/push_forwarder.d
......@@ -51,7 +50,6 @@ of MMS messages.
%package tools
Summary: MMS tools
Group: Development/Tools
%description tools
MMS command line utilities
......@@ -67,14 +65,14 @@ make -C mms-send KEEP_SYMBOLS=1 release
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{systemdconfig}
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{dbusconfig}
mkdir -p %{buildroot}%{dbuspolicy}
mkdir -p %{buildroot}%{pushconfig}
mkdir -p %{buildroot}%{glibschemas}
mkdir -p %{buildroot}%{_prefix}/bin/
cp %{src}/build/release/%{exe} %{buildroot}%{_sbindir}/
cp %{src}/dbus-%{dbusname}.service %{buildroot}%{systemdconfig}/
cp %{src}/dbus-%{dbusname}.service %{buildroot}%{_unitdir}/
cp %{src}/%{dbusname}.service %{buildroot}%{dbusconfig}/
cp %{src}/%{dbusname}.dbus.conf %{buildroot}%{dbuspolicy}/%{dbusname}.conf
cp %{src}/%{dbusname}.push.conf %{buildroot}%{pushconfig}/%{dbusname}.conf
......@@ -97,7 +95,7 @@ make -C mms-lib/test test
%config %{dbuspolicy}/%{dbusname}.conf
%config %{pushconfig}/%{dbusname}.conf
%files tools
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment