Browse Source

Use unitdir macro for .service file location

pull/1/head
Titouan Rigoudy 10 years ago
parent
commit
edb0b444d6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      init-headphone.spec

+ 3
- 1
init-headphone.spec View File

@ -9,7 +9,9 @@ Source0: https://github.com/letitz/%{name}/archive/master.tar.gz
BuildArch: noarch
BuildRequires: systemd
Requires: i2c-tools-python
Requires: systemd
%description
This script fixes a bug in Clevo W230SS-based laptops where the headphone jack
@ -29,7 +31,7 @@ make install DESTDIR=%{buildroot}
%files
%{_sbindir}/init-headphone
%{_sysconfdir}/sysconfig/modules/init-headphone.modules
%{_libdir}/systemd/system/init-headphone.service
%{_unitdir}/init-headphone.service
%changelog

Loading…
Cancel
Save