Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.8
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 1a11eee9c99e7ba3c8285da071f9a69718d377c1 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 bcefcb3..61d7585 100755 --- a/substitutedeps +++ b/substitutedeps @@ -174,7 +174,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.14.3
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