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