Bug 620044 - snake is incorrectly versioned. Has lead to a problem rebuilding during the F14 python rebuild
Summary: snake is incorrectly versioned. Has lead to a problem rebuilding during the ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: snake
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: James Laska
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Python27Rebuild
TreeView+ depends on / blocked
 
Reported: 2010-07-31 15:54 UTC by Toshio Ernie Kuratomi
Modified: 2013-09-02 06:50 UTC (History)
4 users (show)

Fixed In Version: snake-0.11.1-1.fc19
Clone Of:
Environment:
Last Closed: 2012-08-10 16:02:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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