Re: [Spacewalk-devel] Development environment build
On Wed, Sep 22, 2010 at 12:43:26PM -0600, Shelby, James wrote: > I'm having a problem building the test rpms from the base git and receive the > following error. Can someone point me in the right direction? > > I have done a complete remove of the rpmbuild directory and keep getting an > error on the x-setup-specfile. > > [u...@spacewalk-development spacewalk]# make test-rpm Nowadays, you probably want to use tito instead to build the rpms. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Development environment build
I did see some tito references but nothing that shows exactly how to build them or at least the document doesn't match the current sources. -Original Message- From: spacewalk-devel-boun...@redhat.com [mailto:spacewalk-devel-boun...@redhat.com] On Behalf Of Jan Pazdziora Sent: Friday, September 24, 2010 1:53 PM To: spacewalk-devel@redhat.com Subject: Re: [Spacewalk-devel] Development environment build On Wed, Sep 22, 2010 at 12:43:26PM -0600, Shelby, James wrote: > I'm having a problem building the test rpms from the base git and receive the > following error. Can someone point me in the right direction? > > I have done a complete remove of the rpmbuild directory and keep getting an > error on the x-setup-specfile. > > [u...@spacewalk-development spacewalk]# make test-rpm Nowadays, you probably want to use tito instead to build the rpms. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Development environment build
On Fri, Sep 24, 2010 at 03:25:38PM -0600, Shelby, James wrote: > I did see some tito references but nothing that shows exactly how to build > them or at least the document doesn't match the current sources. > I've made some updates to https://fedorahosted.org/spacewalk/wiki/ReleaseProcess now. For local test builds, you chdir to the directory where the package you're interested in lives (java/ for spacewalk-java, for example), and you do tito build --srpm --test which will give you .src.rpm of that package based on your current HEAD. You can then build the rpm on your Spacewalk installation. You can also do tito build --rpm --test which will do it in one step (.src.rpm + the target .rpm) on your local machine. This is of course only useful if you run Spacewalk directly on the machine where you have the Spacewalk repo checked out or if they are the same OS and arch. Please don't hesitate to ask if you hit some issue. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel