[packages/neovim] cleanup __DATE__/__TIME__ replacement
glen
glen at pld-linux.org
Sat Sep 17 23:05:22 CEST 2016
commit e723345578694af4b99bcafd0d6a1d4a1ce7c3dc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 18 00:05:08 2016 +0300
cleanup __DATE__/__TIME__ replacement
not needed for us
neovim.spec | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/neovim.spec b/neovim.spec
index 7770f1e..d9d146b 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -59,14 +59,6 @@ parts of Vim, without compromise, and more.
%prep
%setup -q
-%if 0
-# Remove __DATE__ and __TIME__.
-BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
-BUILD_DATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{b} %{d} %{Y}')
-sed -i "s/__TIME__/\"$BUILD_TIME\"/" $(grep -rl '__TIME__')
-sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__')
-%endif
-
%build
install -d .deps build
cd .deps
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/e723345578694af4b99bcafd0d6a1d4a1ce7c3dc
More information about the pld-cvs-commit
mailing list