git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
18f00de
)
Fix up rpm packaging of the python examples
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 27 Jan 2014 08:26:49 +0000 (09:26 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 27 Jan 2014 08:26:49 +0000 (09:26 +0100)
libftdi1.spec.in
patch
|
blob
|
blame
|
history
diff --git
a/libftdi1.spec.in
b/libftdi1.spec.in
index
f4063e5
..
e5c45b1
100644
(file)
--- a/
libftdi1.spec.in
+++ b/
libftdi1.spec.in
@@
-64,6
+64,9
@@
rm -f $RPM_BUILD_ROOT/usr/bin/find_all_pp
rm -f $RPM_BUILD_ROOT/usr/bin/serial_test
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 \{\} \;
+
%clean
rm -fr $RPM_BUILD_ROOT
@@
-80,6
+83,7
@@
rm -fr $RPM_BUILD_ROOT
%{_bindir}/libftdi1-config
%{prefix}/include/libftdi1/*.h
%{prefix}/include/libftdi1/*.hpp
+%{prefix}/share/libftdi/examples/*
%{_libdir}/libftdi1*.*a
%{_libdir}/libftdipp1*.*a
%{_libdir}/pkgconfig/*.pc