Bug 1404315

Summary: Wrong version in the spec file
Product: [Fedora] Fedora Reporter: Jun Aruga <jaruga>
Component: rubygem-nokogiriAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jaruga, mtasaka, pvalena, tdawson, tremble, vanmeeuwen+fedora, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 09:17:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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
```