[packages/mruby] fix unused markdown link; adapter

glen glen at pld-linux.org
Mon Apr 16 10:03:44 CEST 2018


commit 831e2627be9ce6d355400101e0fe165c029d3b0d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 16 11:03:37 2018 +0300

    fix unused markdown link; adapter

 mruby.spec | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/mruby.spec b/mruby.spec
index b7c2751..d04d21e 100644
--- a/mruby.spec
+++ b/mruby.spec
@@ -9,7 +9,7 @@ Group:		Development/Languages
 Source0:	https://github.com/mruby/mruby/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	25efc35511070454074b36863c4d5b5e
 # debian addon for man pages
-Source1:	http://http.debian.net/debian/pool/main/m/mruby/mruby_%{version}-1.debian.tar.xz
+Source1:	http://http.debian.net/debian/pool/main/m/mruby/%{name}_%{version}-1.debian.tar.xz
 # Source1-md5:	3e4d3b5aea4999b0c03e40b5202bf8be
 Patch0:		%{name}-optimize.patch
 URL:		http://www.mruby.org/
@@ -21,8 +21,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 mruby is the lightweight implementation of the Ruby language complying
-to (part of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9
-compatible.
+to (part of) the ISO standard. Its syntax is Ruby 1.9 compatible.
 
 This package contains:
 - mruby interpreter
@@ -45,8 +44,7 @@ Group:		Development/Libraries
 
 %description devel
 mruby is the lightweight implementation of the Ruby language complying
-to (part of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9
-compatible.
+to (part of) the ISO standard. Its syntax is Ruby 1.9 compatible.
 
 This package contains embeddable library and its header files.
 
@@ -71,8 +69,8 @@ CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -std=gnu99 -fPIC" \
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}/man1}
 
-install build/host-debug/bin/* $RPM_BUILD_ROOT%{_bindir}
-install build/host/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p build/host-debug/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p build/host/bin/* $RPM_BUILD_ROOT%{_bindir}
 cp -p build/host/lib/*.a $RPM_BUILD_ROOT%{_libdir}
 cp -pr include/* $RPM_BUILD_ROOT%{_includedir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mruby.git/commitdiff/831e2627be9ce6d355400101e0fe165c029d3b0d



More information about the pld-cvs-commit mailing list