]> git.pld-linux.org Git - packages/librevenge.git/commitdiff
noarch apidocs auto/th/librevenge-0.0.2-3
authorElan Ruusamäe <glen@delfi.ee>
Sun, 29 Mar 2015 12:47:48 +0000 (15:47 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 29 Mar 2015 12:47:48 +0000 (15:47 +0300)
librevenge.spec

index 593e34a196b137e7e6165108ccfb1246f0af9263..927bd4697401db2ac54c9fbfecefbd28aed7a34e 100644 (file)
@@ -2,12 +2,12 @@
 # Conditional build:
 %bcond_without static_libs     # don't build static library
 %bcond_without gdb             # GDB pretty printers
-#
+
 Summary:       Library for generic document converters
 Summary(pl.UTF-8):     Biblioteka dla ogólnych konwerterów dokumentów
 Name:          librevenge
 Version:       0.0.2
-Release:       2
+Release:       3
 License:       MPL v2.0 or LGPL v2.1+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
@@ -66,6 +66,9 @@ Statyczna biblioteka librevenge.
 Summary:       API documentation for librevenge library
 Summary(pl.UTF-8):     Dokumentacja API biblioteki librevenge
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 API documentation for librevenge library.
@@ -106,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/librevenge-*.la
 
 %if %{with gdb}
This page took 0.121805 seconds and 4 git commands to generate.