Opened 8 years ago

Closed 8 years ago

#232 closed enhancement (fixed)

rpm: Auto setup macros for SCM-hosted sources

Reported by: dmik Owned by:
Priority: major Milestone:
Component: python Version:
Severity: medium Keywords:
Cc:

Description

Many our .spec files take sources right from SVN or GIT via a special block of commands. This code is absolutely identical for each package and just clutters space in each .spec file. It's time to make these blocks simple RPM macros.

Another reason to do that is #228 where we redefine %{version} and %{release} used in our special %setup -n statement, see http://trac.netlabs.org/rpm/ticket/228#comment:5 for details.

Attachments (1)

macros.diff (3.4 KB ) - added by dmik 8 years ago.

Download all attachments as: .zip

Change History (4)

by dmik, 8 years ago

Attachment: macros.diff added

comment:1 by Yuri Dario, 8 years ago

rpm: Auto setup macros for SCM-hosted sources. ticket#232.
Committed revision r957.

comment:2 by dmik, 8 years ago

There is also a bunch of error handling fixes in r969.

comment:3 by Silvan Scherrer, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.