Add commented out debugging flags
This commit is contained in:
parent
607f815c26
commit
cb750ac2c3
14
neovim.spec
14
neovim.spec
@ -16,6 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
%{?!python3_pkgversion:%define python3_pkgversion 3}
|
%{?!python3_pkgversion:%define python3_pkgversion 3}
|
||||||
|
|
||||||
|
%undefine _build_create_debug \
|
||||||
|
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%define __cmake cmake3
|
%define __cmake cmake3
|
||||||
BuildRequires: cmake3
|
BuildRequires: cmake3
|
||||||
@ -152,11 +156,11 @@ cp -a %{_sourcedir}/neovim/* .
|
|||||||
|
|
||||||
install -p -m 0755 %{SOURCE10} .
|
install -p -m 0755 %{SOURCE10} .
|
||||||
|
|
||||||
# # Remove __DATE__ and __TIME__.
|
# Remove __DATE__ and __TIME__.
|
||||||
# BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
|
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}')
|
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/__TIME__/\"$BUILD_TIME\"/" $(grep -rl '__TIME__')
|
||||||
# sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__')
|
sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__')
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# set vars to make build reproducible in spite of config/CMakeLists.txt
|
# set vars to make build reproducible in spite of config/CMakeLists.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user