Changeset: 9e3cf0d298b1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9e3cf0d298b1
Modified Files:
MonetDB.spec
Branch: Feb2013
Log Message:
Fedora 20 has unversioned docdirs.
diffs (28 lines):
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -543,8 +543,13 @@ systemd-tmpfiles --create %{_sysconfdir}
%{_libdir}/monetdb5/sql*.mal
%doc %{_mandir}/man1/monetdb.1.gz
%doc %{_mandir}/man1/monetdbd.1.gz
+%if (0%{?fedora} >= 20)
+%docdir %{_datadir}/doc/MonetDB-SQL
+%{_datadir}/doc/MonetDB-SQL/*
+%else
%docdir %{_datadir}/doc/MonetDB-SQL-%{version}
%{_datadir}/doc/MonetDB-SQL-%{version}/*
+%endif
%package -n python-monetdb
Summary: Native MonetDB client Python API
@@ -715,6 +720,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libmonet
rm -f $RPM_BUILD_ROOT%{_libdir}/libmonetdb5.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libmonetdb5.so
+%if 0%{?fedora} >= 20
+mv $RPM_BUILD_ROOT%{_datadir}/doc/MonetDB-SQL-%{version}
$RPM_BUILD_ROOT%{_datadir}/doc/MonetDB-SQL
+%endif
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list