diff --git a/_service b/_service
index 3adb650..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.zip
+
+ 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.zip b/sile-0.14.17.zip
deleted file mode 100644
index dd6cb9a..0000000
--- a/sile-0.14.17.zip
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d1468d80e5a3e12f2c6c39e1fa50df1da27b5e4d14add7a8740c66c272e9f787
-size 4285247
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 04d00ce..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/v0.14.17/sile-0.14.17.zip
+Source0: sile-0.14.17.tar.zst
Source1: sile-rpmlintrc
Source2: LICENSE
@@ -73,7 +73,7 @@ BuildRequires: sil-gentium-fonts
%endif
BuildRequires: automake
BuildRequires: fontconfig-devel
-BuildRequires: unzip
+BuildRequires: libtool
Requires: fontconfig
BuildRequires: freetype2-devel
Requires: freetype2
@@ -127,11 +127,12 @@ A PDF library extracted from TeX's dvipdfmx. Used in software such as SILE.
This package contains the development files for libtexpdf.
%prep
-cp %{SOURCE0} .
-unzip sile-%{version}.zip
+%autosetup -p1
+
cp %{SOURCE2} .
%build
+autoreconf -fiv
%configure --disable-static --with-system-luarocks
%make_build all