]> git.pld-linux.org Git - packages/dirac.git/blobdiff - dirac.spec
noarch apidocs
[packages/dirac.git] / dirac.spec
index 9cd411d8ffb40ad1139d13179d8e599fbdfdd715..24c8d6dec1bf3609d1db5e4cf47053e1a44500df 100644 (file)
@@ -7,7 +7,7 @@ Summary:        General purpose video codec
 Summary(pl.UTF-8):     Kodek obrazu ogólnego przeznaczenia
 Name:          dirac
 Version:       1.0.2
-Release:       4
+Release:       5
 License:       MPL v1.1 or GPL v2 or LGPL v2.1
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/dirac/%{name}-%{version}.tar.gz
@@ -90,6 +90,9 @@ Statyczna biblioteka dirac.
 Summary:       dirac API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki dirac
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 API and internal documentation for dirac library.
@@ -118,7 +121,7 @@ rm -rf $RPM_BUILD_ROOT
        CPPUNITTESTS_DIR=
 
 rm -f doc/api/html/*.md5
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dirac
+rm -rf $RPM_BUILD_ROOT%{_docdir}/dirac
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.058271 seconds and 4 git commands to generate.