Accepting request 582029 from home:derselbst:branches:multimedia:libs
- Avoid using indirection macros - Do not hard-code /usr/sbin OBS-URL: https://build.opensuse.org/request/show/582029 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=43
This commit is contained in:
parent
b03b665dfb
commit
ca11111ccf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 16:47:20 UTC 2018 - tom.mbrt@googlemail.com
|
||||
|
||||
- Avoid using indirection macros
|
||||
- Do not hard-code /usr/sbin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 25 11:57:25 UTC 2018 - tom.mbrt@googlemail.com
|
||||
|
||||
|
@ -81,11 +81,10 @@ make %{?_smp_mflags}
|
||||
%cmake_install
|
||||
|
||||
# manually install systemd service files
|
||||
%__install -Dm 644 build/fluidsynth.conf %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
%__install -Dm 644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
%__install -d %{buildroot}%{_sbindir}
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
install -Dm 644 build/fluidsynth.conf %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
install -Dm 644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -d %{buildroot}%{_sbindir}
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
%post -n libfluidsynth1 -p /sbin/ldconfig
|
||||
%postun -n libfluidsynth1 -p /sbin/ldconfig
|
||||
@ -103,7 +102,6 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc AUTHORS ChangeLog NEWS README.md THANKS TODO
|
||||
|
Loading…
Reference in New Issue
Block a user