Bug 620044

Summary: snake is incorrectly versioned. Has lead to a problem rebuilding during the F14 python rebuild
Product: [Fedora] Fedora Reporter: Toshio Ernie Kuratomi <a.badger>
Component: snakeAssignee: James Laska <jlaska>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jlaska, jpokorny, jturner, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: snake-0.11.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-10 16:02:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 619913    

Description Toshio Ernie Kuratomi 2010-07-31 15:54:13 UTC
Description of problem:

Seems like you guys are both snake upstream and snake downstream (in Fedora).  But you've got your roles a bit confused when it comes to the upstream version and downstream release.

The current snake in F13 is: snake-0.11-0.20.fc13  In the rpm spec file that translates to:

Name: snake
Version: 0.11
Release: 0.20%{?dist}

The upstream tarball for this release is called:
snake-0.11-0.20.tar.gz

In the spec, it's listed as:

Source0: http://hosted.fedoraproject.org/projects/snake/SnakeReleases/%{name}-%{version}-%{rel}.tar.bz2

This combination of version and release and upstream names is wrong.  The Release field in the spec file is for us to use as downstream packagers.  The Version field is to reflect upstream's version.  Additionally, the upstream tarball is not available at the listed URL.

Since you're also upstream, I'd recommend moving to something like this:

Upstream:
* Upload tarball to: http://fedorahosted.org/releases/s/n/snake/snake-VERSION.tar.bz2
* Give the tarball a sane version like 0.12, 0.13 (or 0.11.1, 0.11.2, etc).

In the Fedora Package:
* Use:
Version: 0.12
Release: 1
Source0: http://fedorahosted.org/releases/s/n/snake/snake-%{version}.tar.bz2

See the Version and Release sections of the Naming Guidelines for more information: https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Package_Version

Comment 1 Toshio Ernie Kuratomi 2010-07-31 17:18:41 UTC
I've rebuilt snake for the python-2.7 mass rebuild in f14 and revel using:

Version: 0.11
%global extraver 0.20
Release: 1.%{extraver}%{?.dist}

This should tide you over until you can figure out what version number to use upstream.

Comment 2 Jan Pokorný [poki] 2012-08-10 14:31:43 UTC
Also for James/upstream or other packagers:

Please fix URL to reflect a current scheme:

- http://hosted.fedoraproject.org/projects/snake/
+ https://fedorahosted.org/snake/

Comment 3 James Laska 2012-08-10 15:34:13 UTC
Thanks!  Both issues have been fixed in the upstream snake repository.  A downstream bodhi update will be working it's way through shortly.