Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.9
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 598f9d2ec72550bc2ff3f197d8665b23695f6bc8 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 376b18e..c8cede4 100755 --- a/substitutedeps +++ b/substitutedeps @@ -175,7 +175,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.26.2
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