Opened 7 years ago

Closed 7 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 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by dmik

Attachment: macros.diff added

comment:1 Changed 7 years ago by Yuri Dario

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

comment:2 Changed 7 years ago by dmik

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

comment:3 Changed 7 years ago by Silvan Scherrer

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