Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 845126 Details for
Bug 1047531
-V gives ERROR: No release value matched: xxx.spec
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
this shall fix it again
bumpspec-f20.diff (text/plain), 1.12 KB, created by
Michael Schwendt
on 2014-01-03 22:34:40 UTC
(
hide
)
Description:
this shall fix it again
Filename:
MIME Type:
Creator:
Michael Schwendt
Created:
2014-01-03 22:34:40 UTC
Size:
1.12 KB
patch
obsolete
>--- /usr/bin/rpmdev-bumpspec 2013-10-19 08:29:28.000000000 +0200 >+++ rpmdev-bumpspec 2014-01-03 23:27:47.126359659 +0100 >@@ -54,6 +54,7 @@ > ) > > def bumpRelease(self): >+ bumped = 0 > for i in range(len(self.lines)): > skipped = False > for pattern in SpecFile._skip_patterns: >@@ -66,6 +67,7 @@ > (self.lines[i], n) = \ > pattern.subn(self.increase, self.lines[i], 1) > if n: >+ bumped += 1 > break > else: > # Here, no line matched at all. >@@ -78,12 +80,14 @@ > self.debugdiff(old, new) > if old != new: > self.lines[i] = self.lines[i].replace(old, new) >- continue >+ bumped += 1 > >+ if bumped: >+ return > if self.verbose: > sys.stderr.write('ERROR: No release value matched: %s\n' % > self.filename) >- sys.exit(1) >+ sys.exit(1) > > _changelog_pattern = re.compile(r"^%changelog(\s|$)", re.I) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1047531
:
844064
|
844066
| 845126