Use the sparkle version for the tarball and source directory, tell the rpm spec to use that instead of the default
This commit is contained in:
parent
08d7d0ce8c
commit
ec8416443f
@ -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_DEB}.tar.gz ${RPMBUILD_DIR}/SOURCES/
|
||||
COMMAND ${CMAKE_COMMAND} -E copy clementine-${CLEMENTINE_VERSION_SPARKLE}.tar.gz ${RPMBUILD_DIR}/SOURCES/
|
||||
COMMAND rpmbuild -bs ${CMAKE_SOURCE_DIR}/dist/clementine.spec
|
||||
COMMAND ${MOCK_COMMAND}
|
||||
--verbose
|
||||
|
4
dist/clementine.spec.in
vendored
4
dist/clementine.spec.in
vendored
@ -6,7 +6,7 @@ Summary: A music player and library organiser
|
||||
Group: Applications/Multimedia
|
||||
License: GPLv3
|
||||
URL: http://www.clementine-player.org/
|
||||
Source0: %{name}-@CLEMENTINE_VERSION_DEB@.tar.gz
|
||||
Source0: %{name}-@CLEMENTINE_VERSION_SPARKLE@.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: desktop-file-utils liblastfm-devel taglib-devel gettext
|
||||
@ -55,7 +55,7 @@ Features include:
|
||||
* Queue manager
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-@CLEMENTINE_VERSION_SPARKLE@
|
||||
|
||||
|
||||
%build
|
||||
|
2
dist/maketarball.sh.in
vendored
2
dist/maketarball.sh.in
vendored
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
name=clementine
|
||||
version="@CLEMENTINE_VERSION_DEB@"
|
||||
version="@CLEMENTINE_VERSION_SPARKLE@"
|
||||
deb_dist="@DEB_DIST@"
|
||||
root=$(cd "${0%/*}/.." && echo $PWD/${0##*/})
|
||||
root=`dirname "$root"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user