Remove %{ } from macro name in comments

This results in less build warnings

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=66
This commit is contained in:
Lars Müller 2015-11-08 14:08:31 +00:00 committed by Git OBS Bridge
parent cc23186efa
commit 15fda2e49a
2 changed files with 12 additions and 12 deletions

View File

@ -50,7 +50,7 @@ BuildRequires: python3-devel
%if 0%{?suse_version} > 1100 %if 0%{?suse_version} > 1100
#!BuildIgnore: python #!BuildIgnore: python
%endif %endif
%endif # %{build_man} %endif # build_man
Url: http://talloc.samba.org/ Url: http://talloc.samba.org/
Version: 2.1.4 Version: 2.1.4
Release: 0 Release: 0
@ -165,7 +165,7 @@ Conflicts: python-talloc-devel
Libraries and Header Files to Develop Programs with python3-talloc Support Libraries and Header Files to Develop Programs with python3-talloc Support
%endif %endif
%endif # ! %{build_man} %endif # ! build_man
%prep %prep
%setup -n talloc-%{version} -q %setup -n talloc-%{version} -q
@ -199,13 +199,13 @@ CONFIGURE_OPTIONS="\
doxygen doxy.config doxygen doxy.config
%endif # ! %{build_man} %endif # ! build_man
%if ! %{build_man} %if ! %{build_man}
%check %check
# make test doesn't work with --disable-rpath # make test doesn't work with --disable-rpath
#%{__make} test #%{__make} test
%endif # ! %{build_man} %endif # ! build_man
%install %install
%if ! %{build_man} %if ! %{build_man}
@ -218,7 +218,7 @@ rm -r ${RPM_BUILD_ROOT}/%{_mandir}
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir} mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}
cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir} cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir}
%endif ! %{build_man} %endif # ! build_man
%if ! %{build_man} %if ! %{build_man}
%post -n %{libtalloc_name} -p /sbin/ldconfig %post -n %{libtalloc_name} -p /sbin/ldconfig
@ -278,6 +278,6 @@ cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir}
%{_mandir}/man3/talloc*.3.* %{_mandir}/man3/talloc*.3.*
%endif %endif
%endif # ! %{build_man} %endif # ! build_man
%changelog %changelog

View File

@ -50,7 +50,7 @@ BuildRequires: python3-devel
%if 0%{?suse_version} > 1100 %if 0%{?suse_version} > 1100
#!BuildIgnore: python #!BuildIgnore: python
%endif %endif
%endif # %{build_man} %endif # build_man
Url: http://talloc.samba.org/ Url: http://talloc.samba.org/
Version: 2.1.4 Version: 2.1.4
Release: 0 Release: 0
@ -165,7 +165,7 @@ Conflicts: python-talloc-devel
Libraries and Header Files to Develop Programs with python3-talloc Support Libraries and Header Files to Develop Programs with python3-talloc Support
%endif %endif
%endif # ! %{build_man} %endif # ! build_man
%prep %prep
%setup -n talloc-%{version} -q %setup -n talloc-%{version} -q
@ -199,13 +199,13 @@ CONFIGURE_OPTIONS="\
doxygen doxy.config doxygen doxy.config
%endif # ! %{build_man} %endif # ! build_man
%if ! %{build_man} %if ! %{build_man}
%check %check
# make test doesn't work with --disable-rpath # make test doesn't work with --disable-rpath
#%{__make} test #%{__make} test
%endif # ! %{build_man} %endif # ! build_man
%install %install
%if ! %{build_man} %if ! %{build_man}
@ -218,7 +218,7 @@ rm -r ${RPM_BUILD_ROOT}/%{_mandir}
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir} mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}
cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir} cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir}
%endif ! %{build_man} %endif # ! build_man
%if ! %{build_man} %if ! %{build_man}
%post -n %{libtalloc_name} -p /sbin/ldconfig %post -n %{libtalloc_name} -p /sbin/ldconfig
@ -278,6 +278,6 @@ cp -a doc/man/* ${RPM_BUILD_ROOT}/%{_mandir}
%{_mandir}/man3/talloc*.3.* %{_mandir}/man3/talloc*.3.*
%endif %endif
%endif # ! %{build_man} %endif # ! build_man
%changelog %changelog