Accepting request 546724 from devel:languages:erlang:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/546724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2017-12-01 14:53:58 +00:00 committed by Git OBS Bridge
commit f2d322e96b
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:49:29 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
-------------------------------------------------------------------
Thu Oct 19 10:40:11 UTC 2017 - matwey.kornilov@gmail.com

View File

@ -16,6 +16,11 @@
#
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%if 0%{?rhel} >= 7
%undefine _missing_build_ids_terminate_build
%endif
@ -413,7 +418,7 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcepmd
ln -s /etc/init.d/epmd %{buildroot}%{_sbindir}/rcepmd
%endif
install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd
install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
install -D -m 0644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.erlang
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
%pre epmd
@ -550,7 +555,7 @@ getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port
%endif
/etc/init.d/epmd
%{_sbindir}/rcepmd
/var/adm/fillup-templates/sysconfig.erlang
%{_fillupdir}/sysconfig.erlang
%files jinterface
%defattr(-,root,root,-)