Selena Deckelmann's blog

Customizing the RPMs from

posted on Aug 03, 2010
tags: pgrpms postgres rpm sysadmin
categories: postgres postgresql sysadmin

To pick up where Devrim left off in customizing RPMs, here are some more tips for getting your very own RPMs built:

` +++ postgresql-8.2.spec (working copy) @@ -74,7 +74,7 @@ Summary: PostgreSQL client programs and libraries Name: postgresql Version: 8.2.17 -Release: 1PGDG%{?dist} +Release: 1test%{?dist} License: BSD Group: Applications/Databases Url: @@ -95,7 +95,9 @@ Patch4: postgresql-test.patch Patch6: postgresql-perl-rpath.patch Patch8: postgresql-prefer-ncurses.patch +Patch7: postgresql-pgstat-dir.patch Patch9: postgresql-use-zoneinfo.patch +Patch10: pg_standby.patch

Buildrequires: perl glibc-devel bison flex Requires: /sbin/ldconfig initscripts @@ -282,7 +284,9 @@ %patch4 -p1 %patch6 -p1 %patch8 -p1 +%patch7 -p1 %patch9 -p1 +%patch10 -p1

pushd doc tar -zcf postgres.tar.gz .html stylesheet.css @@ -604,6 +608,7 @@ %{_bindir}/pg_controldata %{_bindir}/pg_ctl %{_bindir}/pg_resetxlog +%{_bindir}/pg_standby %{_bindir}/postgres %{_bindir}/postmaster %{_mandir}/man1/initdb. `

How have you customized RPMs using this repo? Share your .spec files!

Have some feedback? Corrections? Ideas for other posts? Contact me @selenamarie.