- Ugh. announcement approval fail. Beta4 is not ready yet. #
- Just beat the phone at chess. Feeling smug. #
- a thousand deaths for spectool! #
- this suburbs song breaks my heart. #
- Of course, they're storing the body scans. http://news.cnet.com/8301-31921_3-20012583-281.html #
- My favorite body scan comment: http://bit.ly/bndVPH #
- Does it make my ears weird that I can hear way better when I put in-ear headphones in the opposite ear? #
Monthly Archives: August 2010
twittering on 2010-08-07
- Does it make my ears weird that I can hear way better when I put in-ear headphones in the opposite ear? #
twittering on 2010-08-05
- Of course, they're storing the body scans. http://news.cnet.com/8301-31921_3-20012583-281.html #
- My favorite body scan comment: http://bit.ly/bndVPH #
twittering on 2010-08-04
Customizing the RPMs from pgrpms.org
To pick up where Devrim left off in customizing RPMs, here are some more tips for getting your very own RPMs built:
- Create a VM with your favorite operating system (I’m using versions of CentOS). I need both 32-bit OS and 64-bit OS. This is much easier to manage with separate, local VMs.
- Install spectool (available here), and SVN
- The other dependancies were: gcc glibc-devel bison flex python-devel tcl-devel readline-devel zlib-devel openssl-devel krb5-devel e2fsprocs-devel libxml2-devel libxslt-devel pam-devel
- Edit the postgresql-$VERSION.spec file to your liking: If you’re adding patches, you need to add them in TWO places – first in the Patch#: group, and then again below where the %patch# series starts. Finally, if you’re adding an entirely new package (say in 8.2, pg_standby in contrib), you’ll need to also add the binary (or library, or whatever) to the appropriate %files clause later in the spec file. It’s also a good idea to modify ‘Release’. Here’s a sample diff of my spec file:
--- postgresql-8.2.spec (revision 188)
+++ 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: http://www.postgresql.org/
@@ -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!
twittering on 2010-08-02
Weekly tweet digest for 2010-08-01
- Just flipped the "power assist" button on these headphones. And it made all the difference. #
- good followup to @r0ml's #oscon competition vs collaboration talk: http://techdirt.com/articles/20100727/03224210373.shtml #
- Missing Brooklyn today. #
- I just picked a pint of strawberries from my backyard. #
- Thanks @joyent and @enterprisedb for providing buildfarm sparc/solaris buildfarm members for #postgresql #foss #awesome #
- Reading _influence_ and thinking evil thoughts, per @pjf's recommendation. #
- 20 moves, none taken http://flic.kr/p/8ooBLG #
twittering on 2010-08-01
- Reading _influence_ and thinking evil thoughts, per @pjf's recommendation. #
- 20 moves, none taken http://flic.kr/p/8ooBLG #