Add patch to ignore --disable-silent-rules

Include API documentation
This commit is contained in:
Stephen Gallagher 2011-12-01 16:14:53 -05:00
parent d67c329535
commit b67314a770
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From 6af702bdc9ea36a1f33232a818a819afde9bc4d2 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Thu, 6 Oct 2011 10:32:58 +0200
Subject: [PATCH] build: added autoconf --disable-silent-rules option
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Günther Deschner <gd@samba.org>
---
buildtools/wafsamba/wscript | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 1a7f3eb69974625e903f314c6c7b92547063e884..5c5e249758c36a64083499b9050c0c4e77c87b6d 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -162,6 +162,9 @@ def set_options(opt):
opt.add_option('--disable-dependency-tracking',
help=SUPPRESS_HELP,
action='store_true', dest='AUTOCONF_DISABLE_DEPENDENCY_TRACKING', default=False)
+ opt.add_option('--disable-silent-rules',
+ help=SUPPRESS_HELP,
+ action='store_true', dest='AUTOCONF_DISABLE_SILENT_RULES', default=False)
gr = opt.option_group('dist options')
gr.add_option('--sign-release',
--
1.7.7.3

View File

@ -6,7 +6,7 @@
Name: libtevent
Version: 0.9.14
Release: 2%{?dist}
Release: 3%{?dist}
Group: System Environment/Daemons
Summary: The tevent library
License: LGPLv3+
@ -17,9 +17,13 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: libtalloc-devel >= 2.0.7
BuildRequires: python-devel
BuildRequires: pytalloc-devel >= 2.0.7
BuildRequires: doxygen
Provides: bundled(libreplace)
# Patches
Patch1001: 0001-build-added-autoconf-disable-silent-rules-option.patch
%description
Tevent is an event system based on the talloc memory management library.
Tevent has support for many event types, including timers, signals, and
@ -48,12 +52,14 @@ Python bindings for libtevent
%prep
%setup -q -n tevent-%{version}
%patch1001 -p1
%build
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace
make %{?_smp_mflags} V=1
doxygen doxy.config
%install
rm -rf $RPM_BUILD_ROOT
@ -66,6 +72,11 @@ find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
# Install API docs
rm -f doc/man/man3/todo*
mkdir -p $RPM_BUILD_ROOT/%{_mandir}
cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
@ -78,6 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/tevent.h
%{_libdir}/libtevent.so
%{_libdir}/pkgconfig/tevent.pc
%{_mandir}/man3/
%files -n python-tevent
%defattr(-,root,root,-)
@ -88,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%changelog
* Thu Dec 01 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-3
- Add patch to ignore --disable-silent-rules
- Include API documentation
* Wed Nov 23 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-2
- Add explicit mention of the bundled libreplace
- https://fedorahosted.org/fpc/ticket/120