Thanks Devrim,

But i am trying to achieve this via multiple if conditions , can you send
me your redhat and suse spec files.

On Mon, Jan 21, 2013 at 11:09 AM, Devrim GÜNDÜZ <dev...@gunduz.org> wrote:

>
> Hi,
>
> On Mon, 2013-01-21 at 10:53 +0530, Vivek Singh Raghuwanshi wrote:
> > I am trying to build rpm of PostgreSQL, and the approach is building
> > rpm for
> > 1. CentOS 6+
> > 2. Fedora 15+
> > 3. RedHat 6+
> > 4. OpenSUSE
> > 5. SuSE
> >
> > via single spec file and not using any external rpm or repo while
> > building
>
> Building RPMs using a single spec file is almost impossible, as I wrote
> you in my previous emails. SuSE has different package names, Fedora 15+
> has separate init system (systemd), etc. That's why I am keeping
> separate copies of each spec file for Fedora and its derivatives (RHEL,
> SL, CentOS) separately.
> --
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
> http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
>



-- 
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi

Reply via email to