aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--myautomount.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/myautomount.spec b/myautomount.spec
index 97d9f89..01849d6 100644
--- a/myautomount.spec
+++ b/myautomount.spec
@@ -15,7 +15,7 @@
%global use_local 1
%global use_commit 1
-%define date %(/usr/bin/date +%%Y%%m%%d)
+%define date %(date +%%Y%%m%%d)
%if 0%{?use_commit}
%global git_commit 0d5f8b7657527eab8380f5aa81ecd072714cf13c
%{?git_commit:%global git_commit_hash %(c=%{git_commit}; echo ${c:0:7})}
@@ -96,7 +96,9 @@ update-desktop-database 1>/dev/null 2>&1 || :
%{_datadir}/applications/*
%{_libexecdir}/%{name}/*
%doc %{_mandir}/man1/*
+%if 0%{?fedora} || 0%{?rhel} >= 8
%doc %{_pkgdocdir}/*
+%endif
%changelog
* Tue Sep 29 2020 B Stack <bgstack15@gmail.com> - 0.0.1-1
bgstack15