[packages/micropython] pldize

glen glen at pld-linux.org
Wed Apr 13 23:11:59 CEST 2016


commit 571ea69af74908388095c7ebfcbd3bd7ff3e9f17
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 14 00:11:54 2016 +0300

    pldize

 micropython.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/micropython.spec b/micropython.spec
index 7f81b75..0324ac7 100644
--- a/micropython.spec
+++ b/micropython.spec
@@ -1,4 +1,6 @@
-%bcond_without	tests
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
 
 Summary:	Implementation of Python 3 with very low memory footprint
 Name:		micropython
@@ -6,15 +8,16 @@ Version:	1.6
 Release:	1
 License:	MIT
 Group:		Development/Languages/Python
-URL:		http://micropython.org/
 Source0:	https://github.com/micropython/micropython/archive/v%{version}.tar.gz
 # Source0-md5:	e5c53c2c19bb454d0854b2ed8896e43c
+URL:		http://micropython.org/
 BuildRequires:	libffi-devel
 BuildRequires:	python3-devel
 BuildRequires:	readline-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Implementation of Python 3 with very low memory footprint
+Implementation of Python 3 with very low memory footprint.
 
 %prep
 %setup -q
@@ -28,9 +31,8 @@ Implementation of Python 3 with very low memory footprint
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -pm 755 unix/micropython $RPM_BUILD_ROOT%{_bindir}
+install -p unix/micropython $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/micropython.git/commitdiff/571ea69af74908388095c7ebfcbd3bd7ff3e9f17



More information about the pld-cvs-commit mailing list