Fix Source0 URL fragment for consistent tarball naming
GitHub archive URLs without a filename fragment download as just the
version number (e.g. 6.6.4.tar.gz), which confuses %setup when it tries
to cd into the expected %{name}-%{version} directory. Add
#/%{name}-%{version}.tar.gz suffix to ensure correct local filenames
matching the extracted directory names.
This commit is contained in:
parent
8d06d0d2e8
commit
f8372d9df4
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ Summary: Foundation of the SonicDE user interface (fork of libplasma)
|
|||
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://github.com/Sonic-DE/sonic-interface-libraries
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
%global plasma_version %(echo %{version} | cut -d. -f1-3)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Summary: Core workspace components for SonicDE (fork of plasma-workspace)
|
|||
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/Sonic-DE/sonic-workspace
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
%global plasma_version %(echo %{version} | cut -d. -f1-3)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue