Source: aspell-sk
Version: 0.52-0-4
Severity: wishlist
Tags: patch
User: [email protected]
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed that
aspell-sk could not be built reproducibly.
Patch attached.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index 98ef749..fd001ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ install/aspell-$(DICT_LANG)::
echo "$$WL" >>
"$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"; \
done
+ LC_ALL=C sort -o $(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents \
+ $(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents
+
touch $(DEB_DESTDIR)/var/lib/aspell/$(DICT_LANG).compat
installdeb-aspell