[arduino/f14] Include missing examples (#722351).

mavit mavit at fedoraproject.org
Fri Jul 15 19:17:39 UTC 2011


commit ea11949f6394391dbc80a4798cb0f02a9aebf0b2
Author: Peter Oliver <git at mavit.org.uk>
Date:   Fri Jul 15 19:59:37 2011 +0100

    Include missing examples (#722351).

 arduino.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/arduino.spec b/arduino.spec
index addbb36..07dbc08 100644
--- a/arduino.spec
+++ b/arduino.spec
@@ -1,6 +1,6 @@
 Name:		arduino
 Version:	0021
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	An IDE for Arduino-compatible electronics prototyping platforms
 Group:		Development/Tools
 License:	GPLv2+ and LGPLv2+ and CC-BY-SA
@@ -105,7 +105,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
 cp -a arduino $RPM_BUILD_ROOT/%{_bindir}/
 
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
-cp -a hardware lib libraries $RPM_BUILD_ROOT/%{_datadir}/%{name}/
+cp -a hardware lib libraries examples $RPM_BUILD_ROOT/%{_datadir}/%{name}/
 rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/lib/*.jar
 rm -r $RPM_BUILD_ROOT/%{_datadir}/%{name}/hardware/tools
 
@@ -147,6 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n %{name}-core
 %defattr(-,root,root,-)
 %doc license.txt readme.txt todo.txt
+%{_datadir}/%{name}/examples/
 %{_datadir}/%{name}/hardware/
 %{_datadir}/%{name}/libraries/
 
@@ -157,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 15 2011 Peter Oliver <rpm at mavit.org.uk> - 0021-3
+- Include missing examples (#722351).
+
 * Fri Dec 17 2010 Peter Oliver <rpm at mavit.org.uk> - 0021-2
 - Patch boards.txt to use the "arduino" programmer type for Uno boards,
   allowing Fedora's version of avrdude to work with these boards.


More information about the scm-commits mailing list