[packages/rpm-pld-macros/rpm.org] - version 1.751: texhash macro
baggins
baggins at pld-linux.org
Sun Oct 4 17:33:20 CEST 2020
commit 2f8d78d840faeeb024cd1e47f6d98e114b5d86d2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Sep 29 22:00:13 2020 +0200
- version 1.751: texhash macro
macros.pld | 8 ++++++++
rpm-pld-macros.spec | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index 3e3f946..a74a7cd 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -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
diff --git a/macros.pld b/macros.pld
index d65137d..5336239 100644
--- a/macros.pld
+++ b/macros.pld
@@ -1100,6 +1100,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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/30647bdfd22924ab2eb101b67422432c831d8520
More information about the pld-cvs-commit
mailing list