[opensuse-packaging] spec file and symbolic links to large source packages query
Hello spec file and symbolic links to large source packages query. Question: - Is it possible to use a symbolic link in Source0: package line instead of '%{name}-%{version}.tar.xz' If so, how is the reference done ? An example of this would help. Thanks --Glenn Save some space on larger source packages e.g # some larger packages https://build.opensuse.org/package/view_file/LibreOffice:Factory/libreoffice... http://download.documentfoundation.org/libreoffice/stable/5.0.1/rpm/x86_64/ http://download.documentfoundation.org/libreoffice/src/5.0.2/ libreoffice-5.0.2.1.tar.xz 08-Sep-2015 13:21 160M # http://download.kde.org/stable/applications/15.04.3/src/ 219M oxygen-icons-15.04.2.tar.xz 134M kdeartwork-15.04.2.tar.xz 86M kde-wallpapers-15.04.2.tar.xz 22M marble-15.04.2.tar.xz 14M kdepim-4.14.9.tar.xz 13M kde-workspace-4.11.20.tar.xz 12M kstars-15.04.2.tar.xz 11M kiten-15.04.2.tar.xz 11M kdelibs-4.14.9.tar.xz example specs: # https://build.opensuse.org/package/view_file/KDE:Applications/marble/marble.... Name: marble Version: 15.08.1 Release: 0 Summary: Generic map viewer License: LGPL-2.1+ Group: Amusements/Teaching/Other Url: http://edu.kde.org Source0: %{name}-%{version}.tar.xz # https://build.opensuse.org/package/view_file/LibreOffice:Factory/libreoffice... . . %define tarball_url http://download.documentfoundation.org/libreoffice/src/5.0.2 . . Source0: %{tarball_url}/libreoffice-%{version}.tar.xz Source1: %{tarball_url}/libreoffice-help-%{version}.tar.xz Source2: %{tarball_url}/libreoffice-translations-%{version}.tar.xz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 2015-09-18 19:17:06 +1000, doiggl@velocitynet.com.au wrote:
Hello spec file and symbolic links to large source packages query.
Question: - Is it possible to use a symbolic link in Source0: package line instead of '%{name}-%{version}.tar.xz' If so, how is the reference done ?
Locally, %{name}-%{version}.tar.xz could point to a symlink (rpm will handle that) and the resulting src.rpm will contain the content of the "resolved" file.
An example of this would help. Thanks --Glenn
Save some space on larger source packages e.g # some larger packages
https://build.opensuse.org/package/view_file/LibreOffice:Factory/libreoffice... http://download.documentfoundation.org/libreoffice/stable/5.0.1/rpm/x86_64/ http://download.documentfoundation.org/libreoffice/src/5.0.2/
If you care about the obs' space: the backend only stores the file once. Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Marcus Hüwe