Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
build
_service:gitpkg:0005-SPEC_REL-can-be-in-prjconf...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0005-SPEC_REL-can-be-in-prjconf-and-must-be-substituted-a.patch of Package build
From 2617613b01df04e23de08593bf357cd857e81faa Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Thu, 28 Jun 2012 18:47:45 +0100 Subject: [PATCH] <SPEC_REL> can be in prjconf and must be substituted after $release --- substitutedeps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substitutedeps b/substitutedeps index 92f5dbc..ab900b4 100755 --- a/substitutedeps +++ b/substitutedeps @@ -157,7 +157,8 @@ for my $line (@$xspec) { $line =~ s/<SPEC_REL>/$spec_rel/g; } } - $line =~ s/<SPEC_REL>//g; # no recursion please + # May be passed in via prjconf in $release so must be done late. + $line =~ s/<SPEC_REL>/$spec_rel/g; } else { # remove macros, as rpm doesn't like them $line =~ s/<RELEASE\d*>/0/; -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor