Fixing hardcoded unitdir
This commit is contained in:
parent
f344d45e9d
commit
93a1ab9482
6
gpm.spec
6
gpm.spec
@ -13,8 +13,8 @@ URL: http://www.nico.schottelius.org/software/gpm/
|
||||
# 1.] mkdir docs-removal && cd docs-removal
|
||||
# 2.] wget http://www.nico.schottelius.org/software/gpm/archives/%{name}-%{version}.tar.lzma
|
||||
# 3.] tar xf %{name}-%{version}.tar.lzma
|
||||
# 3.] rm -rf %{name}-%{version}/doc/specs
|
||||
# 4.] tar cJf %{name}-%{version}.tar.xz %{name}-%{version}
|
||||
# 4.] rm -rf %{name}-%{version}/doc/specs
|
||||
# 5.] tar cJf %{name}-%{version}.tar.xz %{name}-%{version}
|
||||
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source1: gpm.service
|
||||
@ -108,7 +108,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
install -m 644 conf/gpm-* %{buildroot}%{_sysconfdir}
|
||||
# Systemd
|
||||
mkdir -p %{buildroot}/usr/lib/systemd/system
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
|
||||
rm -rf %{buildroot}%{_initrddir}
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user