portable build environment?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




What is the best way to build at portable RPM build environment? The problem I'm trying to solve is that we have our build trees checked into something CVS-like, and people are able to check out branches at arbitrary places on their filesystem. I'd like to make a wrapper for rpmbuild that will make it possible to build RPMS and check them (and their source) back into the content control system.


From reading the docs, it seems like the best thing to do is have the wrapper script figure out where the top of the tree is and find a copy of rpmrc. The problem then seems to be that rpmrc needs to point to the macrofile, which will then set %_topdir, which is what I believe needs to be set to the root of my RPM build tree.

I realize that it's possible to generate these files on the fly, but that seems awkward and it's likely somone has solved this problem in a more graceful way.

Any pointers are appreciated.

Will



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux