Moved the config file to the right directory, too.
Also update the expected final release month in the ChangeLog.
-New in 1.3 - 2016-04-xx
+New in 1.3 - 2016-05-xx
-----------------------
* Added ftdi_usb_get_strings2() to prevent automatic device close (Fahrzin Hemmati)
* Added ftdi_transfer_data_cancel() for cancellation of a submitted transfer,
# 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