mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-06 07:19:51 +01:00
Fix the version numbers in rpm filenames
This commit is contained in:
parent
f762b3787e
commit
08d7d0ce8c
@ -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
|
||||
|
2
dist/clementine.spec.in
vendored
2
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}-%{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
|
||||
|
Loading…
Reference in New Issue
Block a user