Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:tools
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 1a02b0e3ab087a0620c7e06fbe763506e6010103 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 14f98b0..98d206d 100755 --- a/substitutedeps +++ b/substitutedeps @@ -184,7 +184,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.40.1
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