summaryrefslogtreecommitdiffstats
path: root/libbson.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libbson.spec')
-rw-r--r--libbson.spec19
1 files changed, 16 insertions, 3 deletions
diff --git a/libbson.spec b/libbson.spec
index ca7ee45..ed8acb0 100644
--- a/libbson.spec
+++ b/libbson.spec
@@ -19,12 +19,15 @@
Name: libbson
Summary: Library to build, parse, and iterate BSON documents
-Version: 1.2.0
+Version: 1.3.0
Release: 1%{?dist}
License: ASL 2.0
Group: System Environment/Libraries
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/releases/download/%{version}%{?prever:-%{prever}}/%{gh_project}-%{version}%{?prever:-%{prever}}.tar.gz
+# https://jira.mongodb.org/browse/CDRIVER-1039
+Source1: https://raw.githubusercontent.com/mongodb/libbson/master/doc/mallard2man.py
+
BuildRequires: python
@@ -51,19 +54,24 @@ for %{name}.
%prep
%setup -q -n %{gh_project}-%{version}%{?prever:-%{prever}}
+install -m 0755 %{SOURCE1} doc/
+
%build
-%configure \
- --enable-man-pages
+%configure --enable-man-pages
make %{_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot}
+make install-man DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/*la
rm -r %{buildroot}%{_datadir}/doc
+# drop "generic" man pages, avoid conflicts
+# https://jira.mongodb.org/browse/CDRIVER-1039
+rm %{buildroot}/%{_mandir}/man3/[c-v]*
%check
@@ -91,6 +99,11 @@ make check
%changelog
+* Tue Dec 8 2015 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
+- Update to 1.3.0
+- open https://jira.mongodb.org/browse/CDRIVER-1039
+ libbson 1.3.0 man pages broken installation
+
* Wed Oct 14 2015 Remi Collet <remi@fedoraproject.org> - 1.2.0-1
- Update to 1.2.0