diff --git a/_service b/_service
index 8be4ec7..ba37398 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/JuliaLang/juliaup
@PARENT_TAG@
git
- b0b3f09
+ dd0012238eba824cb0845af107f0996398e38f60
v(.*)
\1
enable
diff --git a/juliaup-1.7.35.tar.gz b/juliaup-1.7.35.tar.gz
deleted file mode 100644
index e7deac2..0000000
--- a/juliaup-1.7.35.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:74810ec648597b9d87e864321753400e4192e53293aeff1ae4c62b364420c191
-size 148249660
diff --git a/juliaup-1.8.7.tar.gz b/juliaup-1.8.7.tar.gz
new file mode 100644
index 0000000..ad9eb89
--- /dev/null
+++ b/juliaup-1.8.7.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7a4cbdfd6b06a7cacec4dd69778067dcaeed3bcbbc8123cb9a31e5783285213
+size 148273709
diff --git a/juliaup.changes b/juliaup.changes
index c5215f7..26f1d91 100644
--- a/juliaup.changes
+++ b/juliaup.changes
@@ -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
diff --git a/juliaup.spec b/juliaup.spec
index fd9a091..43815c3 100644
--- a/juliaup.spec
+++ b/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
diff --git a/vendor.tar.gz b/vendor.tar.gz
index a340b3c..a4f22fa 100644
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:94e0b376279b25680cf759c61b66191289d0e1d6d9618205615c3070a564b004
-size 50045384
+oid sha256:f13b7fcb2419360e3fcf5100d7fd4cda223ef621534c5f8d5ba7f8cc71673195
+size 51348048