Re: Distro flag in spec

2013-04-17 Thread Christopher Meng
https://fedoraproject.org/wiki/Packaging:DistTag and have a look at opensuse's repo. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Distro flag in spec

2013-04-17 Thread Eugene Pivnev
17.04.2013 14:54, Eugene Pivnev пишет: Sorry for newbee question, but I can't find how to control packaging depending on distro. Something like this: %if 0%{?centos_version} || 0%{?rhel_version} %define have_polkit 0 %define have_lightdm 0 %else ... Oops... Found: https://fedoraproject.org/wik

Re: Distro flag in spec

2013-04-17 Thread Jos Vos
On Wed, Apr 17, 2013 at 02:54:14PM +0400, Eugene Pivnev wrote: > Sorry for newbee question, but I can't find how to control packaging > depending on distro. > Something like this: > > %if 0%{?centos_version} || 0%{?rhel_version} > %define have_polkit 0 > %define have_lightdm 0 > %else There exi

Distro flag in spec

2013-04-17 Thread Eugene Pivnev
Sorry for newbee question, but I can't find how to control packaging depending on distro. Something like this: %if 0%{?centos_version} || 0%{?rhel_version} %define have_polkit 0 %define have_lightdm 0 %else ... -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/m