[moarvm/f21] add BuildRequires for libatomic_ops-devel

Gerd Pokorra gerd at fedoraproject.org
Fri Aug 22 11:04:51 UTC 2014


commit a041ac7c6b96568d895dbd8e257f121174584cf1
Author: gerd <gp at zimt.uni-siegen.de>
Date:   Fri Aug 22 13:04:37 2014 +0200

    add BuildRequires for libatomic_ops-devel

 moarvm.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/moarvm.spec b/moarvm.spec
index 6943efa..d708336 100644
--- a/moarvm.spec
+++ b/moarvm.spec
@@ -4,7 +4,7 @@
 
 Name:           moarvm
 Version:        0.%{year}.%{month}
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Short for "Metamodel On A Runtime", MoarVM is a virtual machine as a backend for NQP and then Rakudo Perl 6 at the top.
 
 License:        Artistic 2.0
@@ -13,6 +13,7 @@ URL:            http://moarvm.org
 Source0:        http://moarvm.org/releases/MoarVM-%{year}.%{month}.tar.gz
 
 BuildRequires:  readline-devel libtommath-devel sha-devel libuv-devel
+BuildRequires:  libatomic_ops-devel >= 7.4
 BuildRequires:  perl(Pod::Usage)
 
 
@@ -53,6 +54,8 @@ This package contains header files for developing applications that use
 sed -i -e "/^\$config{cflags}/ s#.*#\$config{cflags} = \"$RPM_OPT_FLAGS -fPIC\";#" Configure.pl
 sed -i -e "/^\$config{ldflags}/ s#.*#\$config{ldflags} = \"%{__global_ldflags}\";#" Configure.pl
 
+rm -r 3rdparty/sha1 3rdparty/linenoise 3rdparty/libatomic_ops 3rdparty/msinttypes
+
 %{__perl} Configure.pl --prefix=%{_usr} --has-libtommath --use-readline \
                        --has-sha --has-libuv --has-libatomic_ops
 sed -i -e '/libmoar.so.*lib$/ s#lib$#%{_lib}#' Makefile
@@ -95,6 +98,10 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/libmoar.so
 
 
 %changelog
+* Fri Aug 22 2014 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.2014.04-4
+- add 'BuildRequires: libatomic_ops-devel >= 7.4'
+- first remove of 3rdparty source files
+
 * Wed May 07 2014 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.2014.04-3
 - modify Configure.pl so that the Fedora specific flags for cflags and ldflags
   will be written to the Makefile


More information about the scm-commits mailing list