[tor-bugs] #6043 [RPM packaging]: Patch for building multi-arch RPMs with mock
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Jun 9 00:18:32 UTC 2012
#6043: Patch for building multi-arch RPMs with mock
-----------------------------+----------------------------------------------
Reporter: haviah | Owner: marlowe
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: RPM packaging | Version:
Keywords: rpm fedora rhel | Parent:
Points: | Actualpoints:
-----------------------------+----------------------------------------------
Comment(by haviah):
Suggestion on maintaining tags (there was similar suggestion in trac,
can't find it now):
I'd use the https://gitweb.torproject.org/rpm/tor.git for storing clone
for building Tor RPMs. The main reason is to avoid waiting for new git tag
in case RPM build breaks for some trivial bug in .spec file. I've created
a sample how it'd look like to fix some current bugs -
https://github.com/hiviah/tor-rpm/branches (branches for stable and
alpha).
1. When tag tor-X.Y.Z is made in main tor repo, pull from the repo into
rpm/tor.git (cron job)
2. If the RPMs build OK, party (cron job; human signs the package)
3. If RPM build fails, create a branch tor-X.Y.Z_rpmbranch
4. Put the fix into the branch
5. Tag the branch tor-X.Y.Z_rpm, sign the tag
6. Create RPMs
7. Add trac request to pull the fix into main tor.git
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6043#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list