Bug 1404315 - Wrong version in the spec file
Summary: Wrong version in the spec file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-nokogiri
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 15:14 UTC by Jun Aruga
Modified: 2016-12-14 09:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 09:17:08 UTC
Type: Bug


Attachments (Terms of Use)

Description Jun Aruga 2016-12-13 15:14:30 UTC
Description of problem:

rubygem-nokogiri.spec

```
%global mainver     1.6.8
%global prever      .rc3
```

```
$ cat sources 
3f14846b6dd22055302acbf3d4d77c49  nokogiri-1.6.8.1.gem
```

It is failed to create src.rpm by fedpkg.

Version-Release number of selected component (if applicable):
1.6.8.1

How reproducible:


Steps to Reproduce:
1. $ fedpkg srpm

Actual results:
    Bad file: /home/jaruga/git/fedora-packages/rubygem-nokogiri/nokogiri-1.6.8.rc3.gem: No such file or directory

Expected results:
  Can create src.rpm for version 1.6.8.1.

Additional info:

Current latest commit hash is as follows.

```
commit d1e7caeedbb980612f246def598b102206664828
Author: Mamoru TASAKA <mtasaka>
Date:   Mon Oct 10 13:34:21 2016 +0900

    1.6.8.1
```

Comment 2 Jun Aruga 2016-12-14 09:17:08 UTC
Oh I am sorry that it was my mistake..

I found my local modification.
Sorry for disturbing you.

Thank you for your checking.

I close this ticket.


```
diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec
index 77e3b5f..c3331a6 100644
--- a/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri.spec
@@ -3,8 +3,8 @@
 %global        ruby_sitearch           %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
 %endif
 
-%global        mainver         1.6.8.1
-#%%global      prever          .rc3
+%global        mainver         1.6.8
+%global        prever          .rc3
```


Note You need to log in before you can comment on or make changes to this bug.