Commit 85835172 authored by Lorn Potter's avatar Lorn Potter

[sensorfw] Fixes MER#1159 dont package setup script

parent d70ae487
......@@ -7,7 +7,6 @@ License: LGPLv2+
URL: http://gitorious.org/sensorfw
Source0: %{name}-%{version}.tar.bz2
Source1: sensorfwd.service
Source2: sensord-daemon-conf-setup
Requires: qt5-qtcore
Requires: sensord-configs
Requires: systemd
......@@ -103,7 +102,6 @@ export QT_SELECT=5
%qmake5_install
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_unitdir}/sensorfwd.service
install -D -m750 %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/sensord-daemon-conf-setup
mkdir -p %{buildroot}/%{_unitdir}/graphical.target.wants
ln -s ../sensorfwd.service %{buildroot}/%{_unitdir}/graphical.target.wants/sensorfwd.service
......@@ -139,7 +137,6 @@ systemctl daemon-reload || :
%dir %{_sysconfdir}/sensorfw
%{_unitdir}/sensorfwd.service
%{_unitdir}/graphical.target.wants/sensorfwd.service
%{_bindir}/sensord-daemon-conf-setup
%files devel
%defattr(-,root,root,-)
......
......@@ -69,10 +69,6 @@ equals(QT_MAJOR_VERSION, 5): {
SENSORDCONFIGFILES.path = /etc/sensorfw/sensord.conf.d
INSTALLS += SENSORDCONFIGFILES
SENSORDCONFIGHELPER.files = config/sensord-daemon-conf-setup
SENSORDCONFIGHELPER.path = /usr/bin
INSTALLS += SENSORDCONFIGHELPER
SENSORSYSTEMD.files = rpm/sensord.service
SENSORSYSTEMD.path = /lib/systemd/system
INSTALLS += SENSORSYSTEMD
......
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