[Buildbot-devel] buildmaster on 64bit host

Tim Flink tim at mail.mew.co.jp
Fri Apr 6 00:10:44 UTC 2007


Thank you for the information and the SRPMs. I like the idea of managing 
things with RPM more than tweaking --prefix and PYTHONPATH.

As it was brought up on twisted-python, I wanted to apologize for 
posting the same thread on separate, related mailing lists. I am pretty 
new to using lists like this and I let the pressure to finish an install 
get the better of me.

Tim

Scott Lamb wrote:
>
> On Apr 4, 2007, at 2:50 PM, Scott Lamb wrote:
>
>> So my python-twisted-web rpm is
>> architecture-dependent, which offends my aesthetic sense, but it does
>> work.
>
> Here's the changelog snippet; it has a link to the thread.
>
> * Sun Jan 07 2007 Scott Lamb <slamb at slamb.org> 0.6.0-1
> - version bump
> - force installation in arch-dependent dir, minus noarch. workaround
>   http://mail.python.org/pipermail/python-dev/2006-March/062462.html
>
> Incidentally, if anyone wants .src.rpm files for zope, twisted, and 
> buildbot, mine currently live at:
>
> http://rosalyn.dyn.slamb.org/yum/centos4/SRPMS/
>
> You can turn them into binary RPMs for your architecture/distribution 
> by creating a setup for building RPMs in your home directory:
>
> $ mkdir -p ~/rpms/{sources,build,rpms}
> $ cat > ~/.rpmmacros <<EOF
> %_topdir        $HOME/rpms
> %_builddir      %{_topdir}/build
> %_sourcedir     %{_topdir}/sources/%{name}-%{version}
> %_specdir       %{_sourcedir}
>
> # Put directly into rpms directory, not srpms or rpms/%{arch}
> %_rpmfilename   %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
> %_rpmdir        %{_topdir}/rpms
> %_srcrpmdir     %{_topdir}/rpms
> EOF
>
> then typing something like:
>
>     $ rpmbuild --rebuild 
> http://rosalyn.dyn.slamb.org/yum/centos4/SRPMS/python-zope-interface-3.0.1-3.centos4.slamb.src.rpm 
>
>
> I like having the distribution name in the rpm's release field. these 
> accept a "dist" macro so you can accomplish that with
>
>     $ rpmbuild --rebuild --define 'dist .centos4' 
> http://rosalyn.dyn.slamb.org/yum/centos4/SRPMS/python-zope-interface-3.0.1-3.centos4.slamb.src.rpm 
>
>
> the finished rpms will show up in ~/rpms/rpms, so install with
>
>     $ sudo rpm -Uvh 
> ~/rpms/rpms/python-zope-interface-3.0.1-3.centos4.slamb.x86_64.rpm
>
> You'll need to build and install zope, then build and install twisted 
> core, then do whatever with the rest.
>
> --Scott Lamb <http://www.slamb.org/>
>
>
>




More information about the devel mailing list