]> git.pld-linux.org Git - packages/neovim.git/commitdiff
cleanup __DATE__/__TIME__ replacement
authorElan Ruusamäe <glen@delfi.ee>
Sat, 17 Sep 2016 21:05:08 +0000 (00:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 17 Sep 2016 21:05:10 +0000 (00:05 +0300)
not needed for us

neovim.spec

index 7770f1e2512e1e724041eb42d34f78f109a259ff..d9d146be682100b1e2abf4649063197b04990597 100644 (file)
@@ -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
This page took 0.272109 seconds and 4 git commands to generate.