On Mon, 22 Jan 2018, Tomasz K?oczko wrote:
[tkloczko@domek SPECS.fedora]$ (for i in centos ; do echo -n "$i
"; \
grep '%{?'$i * ; done) | grep -v "rhel specific
macros"
ceph.spec:%if ( ( 0%{?rhel} && 0%{?rhel} <= 7) &&
! 0%{?centos} )
<snip>
ceph.spec:%if ( ( 0%{?rhel} && 0%{?rhel} <= 7) &&
! 0%{?centos} )
> cockpit.spec:%if 0%{?centos}
<snip>
container-selinux.spec:%if 0%{?fedora} || 0%{?centos} || 0%{?rhel}
> 7
cri-o.spec:%if 0%{?centos}
docker-latest.spec:%if 0%{?fedora} || 0%{?centos}
<snip>
docker.spec:%if 0%{?centos}
<snip>
godep.spec:%if 0%{?centos}
pdc-client.spec:%if (0%{?rhel} && 0%{?rhel} <= 6) || (0%{?centos} &&
0%{?centos} <= 6)
php-libvirt.spec:%if 0%{?rhel} == 7 && 0%{?centos} == 0
rear.spec:%if %{?centos_version:1}%{?fedora:1}%{?rhel_version:1}0
resource-agents.spec:%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
<snip>
runc.spec:%if ! 0%{?centos}
skopeo.spec:%if 0%{?centos}
strace.spec:%if 0%{?fedora} >= 20 || 0%{?centos} >= 8 || 0%{?rhel} >= 8 ||
0%{?suse_version} >= 1300
vdsm.spec:%if ! 0%{?centos}
you may wish to add a:
| awk -F: {'print $1'} | uniq
I am not quite sure what point you are trying to make -- in an
'ad hoc' local collection of a bit under 2000 .specs, I turn
up an additional match:
[herrold@centos-7 SPECS]$ (for i in centos ; do echo -n "$i "; \
grep '%{?'$i * ; done) | grep -v "rhel specific macros"
qpdfview.spec:%if 0%{?centos_version}
qpdfview.spec:%if 0%{?centos_version}
rear.spec:%if
%{?centos_version:1}%{?fedora_version:1}%{?rhel_version:1}0
[herrold@centos-7 SPECS]$
and very curiously as to 'strace' in your list, of course
there ** is no **
'0%{?centos} >= 8
nor a released rhel at that number either ;)
We might speculate, given the component ('cockpit' and
'strace') it relates to that internal candidates inside RHEL
engineering that find using that number '8' useful, however,
for doing development
I am presently standing for the elected office on 'council',
and really part of my 'platform' locked in last November of
December was working at 'healing' the fissures between Fedora
and EPEL
I do not see that the rapid fire posts in which you have
engaged in the last few days really _help_ that goal, but
rather they seem strident and divisive, and seem to make
harder such 'healing'
-- Russ herrold