Add "# (!) build_man" after the closing %endif statements
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=68
This commit is contained in:
committed by
Git OBS Bridge
parent
91af493651
commit
582506d4ce
12
tevent.spec
12
tevent.spec
@@ -44,7 +44,7 @@ BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
BuildRequires: python-talloc-devel >= %{talloc_version}
|
||||
%endif
|
||||
%endif # build_man
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
@@ -139,7 +139,7 @@ PreReq: /sbin/ldconfig
|
||||
This package contains the python bindings for the Tevent library.
|
||||
%endif
|
||||
|
||||
%endif
|
||||
%endif # ! build_man
|
||||
|
||||
%prep
|
||||
%setup -n tevent-%{version} -q
|
||||
@@ -172,12 +172,12 @@ CONFIGURE_OPTIONS="\
|
||||
|
||||
doxygen doxy.config
|
||||
|
||||
%endif
|
||||
%endif # ! build_man
|
||||
|
||||
%if ! %{build_man}
|
||||
%check
|
||||
LD_LIBRARY_PATH=bin/shared %{__make} test
|
||||
%endif
|
||||
%endif # ! build_man
|
||||
|
||||
%install
|
||||
%if ! %{build_man}
|
||||
@@ -194,7 +194,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_mandir}
|
||||
cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||
rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
|
||||
|
||||
%endif
|
||||
%endif # ! build_man
|
||||
|
||||
%if ! %{build_man}
|
||||
%post -n %{libtevent_name} -p /sbin/ldconfig
|
||||
@@ -244,6 +244,6 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/tevent*.*
|
||||
|
||||
%endif
|
||||
%endif # ! build_man
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user