Skip to content

Commit

Permalink
Merge pull request pulp#3040 from zjhuntin/2784
Browse files Browse the repository at this point in the history
Update spec files Source0
  • Loading branch information
pcreech committed Jun 6, 2017
2 parents 87c2a95 + 51a60b1 commit 06c628c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pulp.spec
Expand Up @@ -31,17 +31,22 @@
# Required gofer version
%global gofer_version 2.5

# The release number
%global release_number 0.1.alpha

# Create tag for the Source0 and setup
%global git_tag %{name}-%{version}-%{release_number}

# ---- Pulp Platform -----------------------------------------------------------

Name: pulp
Version: 2.14.0
Release: 0.1.alpha%{?dist}
Release: %{release_number}%{?dist}
Summary: An application for managing software content
Group: Development/Languages
License: GPLv2
URL: https://fedorahosted.org/pulp/
Source0: https://github.com/%{name}/%{name}/archive/%{name}-%{version}.tar.gz
URL: http://pulpproject.org/
Source0: https://codeload.github.com/pulp/%{name}/tar.gz/%{git_tag}#/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
Expand All @@ -59,7 +64,7 @@ BuildRequires: rpm-python
Pulp provides replication, access, and accounting for software repositories.

%prep
%setup -q
%setup -q -n %{name}-%{git_tag}

%build
for directory in agent bindings client_consumer client_lib common devel
Expand Down

0 comments on commit 06c628c

Please sign in to comment.