commit e723345578694af4b99bcafd0d6a1d4a1ce7c3dc
Author: Elan Ruusamäe <g...@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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to