diff --git a/_service b/_service
index 2c874f5..2860c4e 100644
--- a/_service
+++ b/_service
@@ -1,7 +1,19 @@
+
-
- https
- github.com
- /sile-typesetter/sile/releases/download/v0.14.17/sile-0.14.17.tar.xz
+
+ git
+ https://github.com/sile-typesetter/sile.git
+ v0.14.17
+ @PARENT_TAG@+@TAG_OFFSET@
+ v?(.*)\+0
+ \1
+
+
+
+ *.tar
+ zst
+
+
+
diff --git a/sile-0.14.17.obscpio b/sile-0.14.17.obscpio
new file mode 100644
index 0000000..e959883
--- /dev/null
+++ b/sile-0.14.17.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bd1a57cf80a9ec41303cf556f1a51da1bb7bb66616ade80b9d72c2e1af35d191
+size 11584525
diff --git a/sile-0.14.17.tar.xz b/sile-0.14.17.tar.xz
deleted file mode 100644
index a0a163b..0000000
--- a/sile-0.14.17.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7f89bedecedabb5168250ad9dd80c09ed289c8e88c3d0d756d2d1d92ee065e04
-size 3114792
diff --git a/sile.changes b/sile.changes
index 53df59a..41b4ae1 100644
--- a/sile.changes
+++ b/sile.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Thu May 23 09:56:22 UTC 2024 - Dominique Leuenberger
+
+- Change package to use obs_scm source service. Upstream now longer
+ publishes xz tarballs.
+- Add libtool BuildRquires and call autoreconf in prep: git source
+ trees are not bootstrapped.
+
-------------------------------------------------------------------
Wed Feb 7 21:13:13 UTC 2024 - Gordon Leung
diff --git a/sile.obsinfo b/sile.obsinfo
new file mode 100644
index 0000000..0ef3a79
--- /dev/null
+++ b/sile.obsinfo
@@ -0,0 +1,4 @@
+name: sile
+version: 0.14.17
+mtime: 1707331766
+commit: 4276c710386866f7c2eff85c9f3fc1825be5636a
diff --git a/sile.spec b/sile.spec
index 8ad31cc..eafde04 100644
--- a/sile.spec
+++ b/sile.spec
@@ -24,7 +24,7 @@ Summary: Simon’s Improved Layout Engine
Group: Productivity/Publishing
License: MIT
URL: https://sile-typesetter.org/
-Source0: https://github.com/sile-typesetter/sile/releases/download/v%{version}/sile-%{version}.tar.xz
+Source0: sile-0.14.17.tar.zst
Source1: sile-rpmlintrc
Source2: LICENSE
@@ -73,6 +73,7 @@ BuildRequires: sil-gentium-fonts
%endif
BuildRequires: automake
BuildRequires: fontconfig-devel
+BuildRequires: libtool
Requires: fontconfig
BuildRequires: freetype2-devel
Requires: freetype2
@@ -127,9 +128,11 @@ This package contains the development files for libtexpdf.
%prep
%autosetup -p1
+
cp %{SOURCE2} .
%build
+autoreconf -fiv
%configure --disable-static --with-system-luarocks
%make_build all