pmacct package proposal
Chris Wilson
chris-epel-110727 at aptivate.org
Wed Aug 3 10:42:51 UTC 2011
Hi Manuel,
On Tue, 2 Aug 2011, Manuel Wolfshant wrote:
> > > > > %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
> > > > > Requires: mysql postgresql-libs
> > > > > %else
> > > > > Requires: mysql-shared postgresql-libs
> > > > > %endif
>
> did you define and pass to rpmbuild one of the variables which triggers
> the first branch of the test ? By default these variables are not
> defined and therefore the whole branch is skipped. in koji the needed
> variables are defined by the build environment but for local builds you
> must define them yourself, as appropriate for your use case.
Ah, I didn't know that. Is there a sensible way to detect the distro
automatically so that users can run rpmbuild without worrying about
unusual/non-standard command-line options and it will just work?
Cheers, Chris.
--
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES
Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.
More information about the epel-devel-list
mailing list