forked from pool/juliaup
- Update to version 1.8.7:
* Fix bug in release workflow * Fix typo * In the "Update Version DB" PRs, add a note that the user must close and reopen the PR to trigger CI * Update version db * chore: Release juliaup version 1.8.5 * Add musl builds * Fix some final things for the CI update story * Use local version db if newer than bundled * Fix a renaming bug * Update version db * Tweak cache update algorithm * Fix a bug * Trigger version db update from launcher * Add download of version db * Track latest structure in build.rs * Update version db (#468) * Delete tempfile * Update version db * Add tempfile * Use correct platform strings * Update version db workflow * chore: Release juliaup version 1.8.1 * Remove diagnostic output * chore: Release juliaup version 1.8.0 * Move LTS version to top in version udpate script * Delete versions.json * Replace build.rs logic * Update version db * New updatedb script * Fix typo * Update version db * Fix bug * Add versiondb folder * Progress version db * Progress on version db update * Fix bug in version db upload * Progress on update version db * Update versiondb process * Fix versiondb update * Add update version db script * Fix an error message * Add app installer info to README - Update specfile. Remove the update-alternatives requirement It does not make sense since juliaup can have multiple julia versions. OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=62
This commit is contained in:
parent
f685245b9b
commit
6d4395226b
2
_service
2
_service
@ -3,7 +3,7 @@
|
||||
<param name="url">https://github.com/JuliaLang/juliaup</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">b0b3f09</param>
|
||||
<param name="revision">dd0012238eba824cb0845af107f0996398e38f60</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:74810ec648597b9d87e864321753400e4192e53293aeff1ae4c62b364420c191
|
||||
size 148249660
|
3
juliaup-1.8.7.tar.gz
Normal file
3
juliaup-1.8.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7a4cbdfd6b06a7cacec4dd69778067dcaeed3bcbbc8123cb9a31e5783285213
|
||||
size 148273709
|
@ -1,3 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 09:08:07 UTC 2022 - socvirnyl.estela@gmail.com
|
||||
|
||||
- Update to version 1.8.7:
|
||||
* Fix bug in release workflow
|
||||
* Fix typo
|
||||
* In the "Update Version DB" PRs, add a note that the user must close and reopen the PR to trigger CI
|
||||
* Update version db
|
||||
* chore: Release juliaup version 1.8.5
|
||||
* Add musl builds
|
||||
* Fix some final things for the CI update story
|
||||
* Use local version db if newer than bundled
|
||||
* Fix a renaming bug
|
||||
* Update version db
|
||||
* Tweak cache update algorithm
|
||||
* Fix a bug
|
||||
* Trigger version db update from launcher
|
||||
* Add download of version db
|
||||
* Track latest structure in build.rs
|
||||
* Update version db (#468)
|
||||
* Delete tempfile
|
||||
* Update version db
|
||||
* Add tempfile
|
||||
* Use correct platform strings
|
||||
* Update version db workflow
|
||||
* chore: Release juliaup version 1.8.1
|
||||
* Remove diagnostic output
|
||||
* chore: Release juliaup version 1.8.0
|
||||
* Move LTS version to top in version udpate script
|
||||
* Delete versions.json
|
||||
* Replace build.rs logic
|
||||
* Update version db
|
||||
* New updatedb script
|
||||
* Fix typo
|
||||
* Update version db
|
||||
* Fix bug
|
||||
* Add versiondb folder
|
||||
* Progress version db
|
||||
* Progress on version db update
|
||||
* Fix bug in version db upload
|
||||
* Progress on update version db
|
||||
* Update versiondb process
|
||||
* Fix versiondb update
|
||||
* Add update version db script
|
||||
* Fix an error message
|
||||
* Add app installer info to README
|
||||
|
||||
- Update specfile. Remove the update-alternatives requirement
|
||||
It does not make sense since juliaup can have multiple julia versions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 13:59:02 UTC 2022 - socvirnyl.estela@gmail.com
|
||||
|
||||
|
82
juliaup.spec
82
juliaup.spec
@ -16,63 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
# We will keep this for now
|
||||
%global oldest_supported_julia_version 0.7.0
|
||||
%global latest_julia_version 1.8.3
|
||||
|
||||
# Based on the latest stable release in the https://julialang.org/ website
|
||||
# Juliaup follows the versions too in the following permalink:
|
||||
# https://github.com/JuliaLang/juliaup/blob/main/build.rs#L22-L72
|
||||
%define provides_julia_versioned() \
|
||||
Provides: %{1}-0.7.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.0.5%{?2:-%{2}} \
|
||||
Provides: %{1}-1.1.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.1.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.2.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.3.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.3.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.4.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.4.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.4.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.5.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.5.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.5.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.5.3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.5.4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.5%{?2:-%{2}} \
|
||||
Provides: %{1}-1.6.6%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-beta1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-beta2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-beta3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-beta4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-rc1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-rc2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.0-rc3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.7.3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-beta1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-beta3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-rc1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-rc3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-rc4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.3%{?2:-%{2}}
|
||||
|
||||
Name: juliaup
|
||||
Version: 1.7.35
|
||||
Version: 1.8.7
|
||||
Release: 0
|
||||
Summary: Julia installer and version multiplexer
|
||||
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND ISC AND MIT AND MPL-2.0 AND MIT
|
||||
@ -84,11 +33,9 @@ Source2: cargo_config
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: rust+cargo
|
||||
|
||||
%provides_julia_versioned julia
|
||||
|
||||
Provides: julia = %{latest_julia_version}
|
||||
Obsoletes: julia < %{latest_julia_version}
|
||||
PreReq: update-alternatives
|
||||
# It doesn't make sense to do this anyway.
|
||||
# Provides: julia = %%{latest_julia_version}
|
||||
# Obsoletes: julia < %%{latest_julia_version}
|
||||
|
||||
%description
|
||||
A cross-platform installer for the Julia programming language.
|
||||
@ -108,26 +55,9 @@ cp %{SOURCE2} .cargo/config
|
||||
|
||||
%install
|
||||
%{cargo_install} --no-default-features
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
ln -sfv %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia
|
||||
|
||||
%post
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%{_bindir}/julia" julia "%{_bindir}/julialauncher" $(echo %{latest_julia_version} | sed 's/\.//g')
|
||||
|
||||
%pre
|
||||
if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] ; then
|
||||
"%{_sbindir}/update-alternatives" --remove julia "%{_bindir}/julialauncher";
|
||||
fi;
|
||||
|
||||
%postun
|
||||
if [ ! -f %{_bindir}/julia ] ; then
|
||||
"%{_sbindir}/update-alternatives" --remove julia "%{_bindir}/julialauncher"
|
||||
fi
|
||||
ln -sfv %{buildroot}%{_bindir}/julialauncher %{_bindir}/julia
|
||||
|
||||
%files
|
||||
%ghost %_sysconfdir/alternatives/julia
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/juliainstaller
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94e0b376279b25680cf759c61b66191289d0e1d6d9618205615c3070a564b004
|
||||
size 50045384
|
||||
oid sha256:f13b7fcb2419360e3fcf5100d7fd4cda223ef621534c5f8d5ba7f8cc71673195
|
||||
size 51348048
|
||||
|
Loading…
Reference in New Issue
Block a user