X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=libftdi1.spec.in;h=4717a84a2859e9425e54e3051aafbbbb678d90c5;hp=e5c45b18d2550e6c4c5cd0a98e3602dcdf30631c;hb=49a41e911a08ce04ad742222e265786a73a71e40;hpb=32fe45e285754d03b3c783d2ffb86acb14d23678 diff --git a/libftdi1.spec.in b/libftdi1.spec.in index e5c45b1..4717a84 100644 --- a/libftdi1.spec.in +++ b/libftdi1.spec.in @@ -67,6 +67,11 @@ rm -f $RPM_BUILD_ROOT/usr/bin/baud_test # Clean python compiled files in examples dir find $RPM_BUILD_ROOT%{prefix}/share/libftdi/examples -name "*.pyc" -or -name "*.pyo" -exec rm -f \{\} \; +# move documentation to version specific directory +# Is there an easy way in cmake to set the DOCDIR? +mkdir -p $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version} +mv $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}/* $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version} + %clean rm -fr $RPM_BUILD_ROOT