Il giorno mer 1 lug 2020 alle ore 19:03 Nir Soffer <nsoffer@redhat.com> ha scritto:
On Wed, Jul 1, 2020 at 7:46 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:

Hi, just noticed in appliance build at 

https://jenkins.ovirt.org/job/ovirt-appliance_standard-check-patch/286/consoleFull


 15:18:22,373 INFO anaconda:program: Installing : ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223

 15:18:22,373 INFO anaconda:program: warning: group Development/Debug does not exist - using root


We remove "Group:" from the spec here:

Is this an upgrade from an older version that included Group?

No it's a build from scratch of an ovirt engine appliance.
I see you have %dir %attr(755, %{user}, %{group}) %{logdir}

Looking at /usr/lib/rpm/macros.d content I see:
./macros.perl:
  136 : Group: Development/Debug\
./macros.scl:
   19 : Group: Development/Debug

which looks pretty suspicious.

I think it would be safer using a different macro name for your spec file changing:
%global user ovirtimg
%global group ovirtimg

to:

%global ovirtimg_user ovirtimg
%global ovirtimg_group ovirtimg

and use them, avoiding to use generic names like "user" and "group" that may conflict with existing macros


 
 

 15:18:22,373 INFO anaconda:program: 

 15:18:22,374 INFO anaconda:program: Running scriptlet: ovirt-imageio-daemon-2.0.9-1.el8.x86_64 90/223


Sounds like a bug in the spec file.

--


--