Changeset 2480


Ignore:
Timestamp:
Oct 15, 2013, 2:08:24 AM (11 years ago)
Author:
adehnert
Message:
Minor improvements to python-{hesiod,moira} packaging
Location:
trunk/server/fedora/specs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/specs/python-hesiod.spec

    r2477 r2480  
    11Name:           python-hesiod
    22Version:        0.2.10
    3 %define commit_hash 2b11f727fe934efe8935ac3543fe538d14b8fafe
    4 %define tag_hash 004e69f
     3%define commit 2b11f727fe934efe8935ac3543fe538d14b8fafe
     4%define shortcommit %(c=%{commit}; echo ${c:0:7})
    55Release:        0.%{scriptsversion}%{?dist}
    66Summary:        Python access to zephyr library
     
    88Group:          Development/Languages
    99License:        MIT
    10 URL:            http://github.com/ebroder/python-hesiod
    11 Source0:        http://github.com/ebroder/python-hesiod/tarball/%{version}/ebroder-%{name}-%{version}-0-g%{commit_hash}.tar.gz
     10URL:            https://github.com/ebroder/python-hesiod
     11Source0:        https://github.com/ebroder/python-hesiod/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
    1212BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1313
     
    1919
    2020%prep
    21 %setup -q -n ebroder-%{name}-%{tag_hash}
     21%setup -q -n %{name}-%{commit}
    2222
    2323
  • trunk/server/fedora/specs/python-moira.spec

    r2476 r2480  
    11Name:           python-moira
    22Version:        4.3.0
    3 %define commit_hash dd03ce70d348d6f569729fcc9173429a5ec8a84d
    4 %define tag_hash f62c0db
     3%define commit dd03ce70d348d6f569729fcc9173429a5ec8a84d
     4%define shortcommit %(c=%{commit}; echo ${c:0:7})
    55Release:        0.%{scriptsversion}%{?dist}
    66Summary:        Python access to zephyr library
     
    88Group:          Development/Languages
    99License:        MIT
    10 URL:            http://github.com/ebroder/python-moira
    11 Source0:        http://github.com/ebroder/python-moira/tarball/%{version}/ebroder-%{name}-%{version}-0-g%{commit_hash}.tar.gz
     10URL:            https://github.com/ebroder/python-moira
     11Source0:        https://github.com/ebroder/python-moira/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
    1212BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1313
     
    1919
    2020%prep
    21 %setup -q -n ebroder-%{name}-%{tag_hash}
     21%setup -q -n %{name}-%{commit}
    2222
    2323
Note: See TracChangeset for help on using the changeset viewer.