Commit 89d5ed19 authored by Eric Cano's avatar Eric Cano
Browse files

Removed distribution name in tarball name to allow SRPM to be compiled on different platforms.

parent 457a1eec
......@@ -370,7 +370,7 @@ ENDIF(DEFINED PackageOnly)
if (${COMPILE_PACKAGING} STREQUAL "1")
include(cmake/UseRPMToolsEnvironment.cmake)
set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${PROJECT_NAME}-${CASTOR_VERSION}-${CASTOR_RELEASE}${RPMTools_RPMBUILD_DIST}")
"${PROJECT_NAME}-${CASTOR_VERSION}-${CASTOR_RELEASE}")
message (STATUS
"Setting package file name to: ${CPACK_SOURCE_PACKAGE_FILE_NAME}")
include(CPack)
......
......@@ -19,7 +19,7 @@ Summary: Cern Advanced mass STORage
Name: %{name}
Version: %{castorVersion}
Release: %{castorRelease}%{?dist}
Source: %{name}-%{version}-%{castorRelease}%{?dist}.tar.gz
Source: %{name}-%{castorVersion}-%{castorRelease}.tar.gz
URL: http://cern.ch/castor
License: http://cern.ch/castor/DIST/CONDITIONS
Group: Application/Castor
......@@ -38,7 +38,7 @@ BuildRequires: oracle-instantclient-devel
The CASTOR Project stands for CERN Advanced STORage Manager, and its goal is to handle LHC data in a fully distributed environment.
%prep
%setup -q -n %{name}-%{version}-%{release}
%setup -q -n %{name}-%{castorVersion}-%{castorRelease}
%build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment