From 08d7d0ce8c3f3075b2204a3d9d4c79ddbb1cc712 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Fri, 2 Dec 2011 18:08:12 +0000 Subject: [PATCH] Fix the version numbers in rpm filenames --- cmake/Rpm.cmake | 2 +- dist/clementine.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Rpm.cmake b/cmake/Rpm.cmake index c3c0a8570..06233f946 100644 --- a/cmake/Rpm.cmake +++ b/cmake/Rpm.cmake @@ -6,7 +6,7 @@ set(RPM_ARCH x86_64 CACHE STRING "Architecture of the rpm file") add_custom_target(rpm COMMAND ${CMAKE_SOURCE_DIR}/dist/maketarball.sh - COMMAND ${CMAKE_COMMAND} -E copy clementine-${CLEMENTINE_VERSION_RPM_V}.tar.gz ${RPMBUILD_DIR}/SOURCES/ + COMMAND ${CMAKE_COMMAND} -E copy clementine-${CLEMENTINE_VERSION_DEB}.tar.gz ${RPMBUILD_DIR}/SOURCES/ COMMAND rpmbuild -bs ${CMAKE_SOURCE_DIR}/dist/clementine.spec COMMAND ${MOCK_COMMAND} --verbose diff --git a/dist/clementine.spec.in b/dist/clementine.spec.in index d81cc1365..ad129b8e5 100644 --- a/dist/clementine.spec.in +++ b/dist/clementine.spec.in @@ -6,7 +6,7 @@ Summary: A music player and library organiser Group: Applications/Multimedia License: GPLv3 URL: http://www.clementine-player.org/ -Source0: %{name}-%{version}.tar.gz +Source0: %{name}-@CLEMENTINE_VERSION_DEB@.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils liblastfm-devel taglib-devel gettext