From 49a41e911a08ce04ad742222e265786a73a71e40 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 25 Apr 2016 19:00:02 +0200 Subject: [PATCH] rpm spec file: Include ftdi_eeprom/example.conf Moved the config file to the right directory, too. Also update the expected final release month in the ChangeLog. --- ChangeLog | 2 +- libftdi1.spec.in | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0315662..cad21ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -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, 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 -- 1.7.1