Hello community, here is the log from the commit of package opa-ff for openSUSE:Factory checked in at 2018-03-28 10:33:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opa-ff (Old) and /work/SRC/openSUSE:Factory/.opa-ff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opa-ff" Wed Mar 28 10:33:13 2018 rev:8 rq:591589 version:10.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opa-ff/opa-ff.changes 2018-03-04 12:51:13.946589682 +0100 +++ /work/SRC/openSUSE:Factory/.opa-ff.new/opa-ff.changes 2018-03-28 10:33:16.792948874 +0200 @@ -1,0 +2,7 @@ +Tue Mar 27 06:42:29 UTC 2018 - [email protected] + +- Update pseudo_opt path to %{_prefix}/lib/opa (bsc#1042721,bsc#1086934) +- Update opasysconfdif to %{_sysconfdir}/opa/ +- Minor cleanup of sysconfig install code + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opa-ff.spec ++++++ --- /var/tmp/diff_new_pack.rrEpLq/_old 2018-03-28 10:33:17.604919671 +0200 +++ /var/tmp/diff_new_pack.rrEpLq/_new 2018-03-28 10:33:17.608919527 +0200 @@ -20,8 +20,9 @@ %define opamgt_major 0 %define opasadb_major 1_0_0 -%define pseudo_opt %{_prefix}/lib/opa-ff/ -%define opasysconfdir %{_sysconfdir}/opa/sysconfig +%define pseudo_opt %{_prefix}/lib/opa/ +%define opasysconfdir %{_sysconfdir}/opa/ + Name: opa-ff Version: 10.6.0 Release: 0 @@ -211,22 +212,15 @@ cp -t %{buildroot}%{_libdir}/ libopamgt.so.* ln -s libopamgt.so.* %{buildroot}%{_libdir}/libopamgt.so -ln -s /etc/opa/sysconfig/allhosts %{buildroot}/etc/sysconfig/opa/allhosts -ln -s /etc/opa/sysconfig/chassis %{buildroot}/etc/sysconfig/opa/chassis -ln -s /etc/opa/sysconfig/esm_chassis %{buildroot}//etc/sysconfig/opa/esm_chassis -ln -s /etc/opa/sysconfig/hosts %{buildroot}/etc/sysconfig/opa/hosts -ln -s /etc/opa/sysconfig/opafastfabric.conf %{buildroot}/etc/sysconfig/opa/opafastfabric.conf -ln -s /etc/opa/sysconfig/opaff.xml %{buildroot}/etc/sysconfig/opa/opaff.xml -ln -s /etc/opa/sysconfig/opamon.conf %{buildroot}/etc/sysconfig/opa/opamon.conf -ln -s /etc/opa/sysconfig/opamon.si.conf %{buildroot}/etc/sysconfig/opa/opamon.si.conf -ln -s /etc/opa/sysconfig/ports %{buildroot}/etc/sysconfig/opa/ports -ln -s /etc/opa/sysconfig/switches %{buildroot}/etc/sysconfig/opa/switches - # Now that we've put everything in the buildroot, copy any default config files to their expected location for user # to edit. To prevent nuking existing user configs, the files section of this spec file will reference these as noreplace # config files. cp %{buildroot}%{pseudo_opt}tools/opafastfabric.conf.def %{buildroot}/%{opasysconfdir}/opafastfabric.conf +for file in $(ls %{buildroot}/%{opasysconfdir}); do + ln -s %{opasysconfdir}/$file %{buildroot}/etc/sysconfig/opa/$file +done + #Now we do a bunch of work to build the file listing of what belongs to each RPM # List for basic @@ -317,9 +311,8 @@ %dir %{pseudo_opt}samples %dir %{pseudo_opt}tools -%dir %{_sysconfdir}/opa -%dir %{opasysconfdir} %dir %{_sysconfdir}/sysconfig/opa +%{opasysconfdir} /etc/sysconfig/opa/* %config(noreplace) %{opasysconfdir}/opafastfabric.conf
