]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- version 1.751: texhash macro auto/th/rpm-pld-macros-1.751-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Sep 2020 20:00:13 +0000 (22:00 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Sep 2020 20:00:13 +0000 (22:00 +0200)
macros.pld
rpm-pld-macros.spec

index 4bcfcca2f682c500ef4eb84e04370998f3a815f8..ed5a8968e13fd82a6c36f92ccbb0c0ea3b1a9f96 100644 (file)
@@ -946,6 +946,14 @@ fi; \
 };} \
 %{nil}
 
+# BuildRequires:       rpmbuild(macros) >= 1.751
+# Requires(post,postun):       /usr/bin/texhash        # if you want to ensure cache is updated
+%texhash() {{ \
+       umask 022; \
+       /usr/bin/texhash >&2; \
+};} \
+%{nil}
+
 #-----------------------------------------------------------------
 # post %install sequence:
 # - autodeps exceptions
index 54fe2711f4d2532bb5105157234f0b7bb557d9ee..4bb0e55da3d88673df4970e7d3aac343b0671ca5 100644 (file)
@@ -1,4 +1,4 @@
-%define                rpm_macros_rev  1.750
+%define                rpm_macros_rev  1.751
 %define                find_lang_rev   1.40
 # split into individual X_prov_ver if there is a reason to desync
 %define                prov_ver        4.15
This page took 0.219756 seconds and 4 git commands to generate.