[erlang-getopt/epel7] Add bootstrap mode since API changes need to get pulled into erlang-rebar so %check succeeds
by Sam Kottler
commit 5a7f29f857eed929165f84296131c63948ccd8b2
Author: Sam Kottler <shk(a)redhat.com>
Date: Thu Mar 20 21:41:09 2014 +0600
Add bootstrap mode since API changes need to get pulled into erlang-rebar so %check succeeds
erlang-getopt.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/erlang-getopt.spec b/erlang-getopt.spec
index 938ad59..9edefbe 100644
--- a/erlang-getopt.spec
+++ b/erlang-getopt.spec
@@ -4,6 +4,9 @@
%global git_tag 346c766
%global patchnumber 0
+%global need_bootstrap_set 1
+%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
+
Name: erlang-%{realname}
Version: 0.7.0
@@ -34,8 +37,10 @@ rebar doc -v
%check
+%if 0%{?need_bootstrap} < 1
# BEWARE rebar needs bootstrapped getopt in case of an API change
rebar eunit -v
+%endif
%install
9 years, 8 months
[erlang-jiffy] Use system double-conversion instead of bundled one
by Lubomir Rintel
commit b301887ffd416ff3a5426f660d4a8b05a9548bb3
Author: Ville Skyttä <ville.skytta(a)iki.fi>
Date: Tue Mar 18 22:49:49 2014 +0200
Use system double-conversion instead of bundled one
https://bugzilla.redhat.com/show_bug.cgi?id=1077925
erlang-jiffy.spec | 9 ++++++++-
jiffy-system-double-conversion.patch | 20 ++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/erlang-jiffy.spec b/erlang-jiffy.spec
index a4e7138..2cf49a2 100644
--- a/erlang-jiffy.spec
+++ b/erlang-jiffy.spec
@@ -2,7 +2,7 @@
Name: erlang-%{realname}
Version: 0.8.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Erlang JSON parser
Group: Development/Libraries
License: MIT
@@ -10,10 +10,12 @@ URL: https://github.com/davisp/jiffy
Source0: https://github.com/davisp/jiffy/archive/%{version}.tar.gz
Patch0: jiffy-setting-a-fixed-version.patch
Patch1: jiffy-cxxflags.patch
+Patch2: jiffy-system-double-conversion.patch
BuildRequires: erlang >= R14B
BuildRequires: erlang-rebar
BuildRequires: gcc-c++
+BuildRequires: double-conversion-devel
Requires: erlang-kernel%{?_isa}
@@ -28,6 +30,8 @@ A JSON parser for Erlang implemented as a NIF.
%setup -q -n %{realname}-%{version}
%patch0 -p1 -b .version
%patch1 -p1 -b .cxxflags
+%patch2 -p1 -b .system-double-conversion
+rm -r c_src/double-conversion
%build
@@ -51,6 +55,9 @@ install -p priv/jiffy.so $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{realname}-%{vers
%changelog
+* Tue Mar 18 2014 Ville Skyttä <ville.skytta(a)iki.fi> - 0.8.5-4
+- Use system double-conversion instead of bundled one
+
* Wed Mar 12 2014 Lubomir Rintel (GoodData) <lubo.rintel(a)gooddata.com> - 0.8.5-3
- Fix version number in version patch
diff --git a/jiffy-system-double-conversion.patch b/jiffy-system-double-conversion.patch
new file mode 100644
index 0000000..8424580
--- /dev/null
+++ b/jiffy-system-double-conversion.patch
@@ -0,0 +1,20 @@
+diff -up jiffy-0.8.5/rebar.config~ jiffy-0.8.5/rebar.config
+--- jiffy-0.8.5/rebar.config~ 2014-03-18 22:40:29.083883843 +0200
++++ jiffy-0.8.5/rebar.config 2014-03-18 22:47:47.517790625 +0200
+@@ -1,14 +1,13 @@
+ {port_specs, [
+ {"priv/jiffy.so", [
+ "c_src/*.c",
+- "c_src/*.cc",
+- "c_src/double-conversion/*.cc"
++ "c_src/*.cc"
+ ]}
+ ]}.
+
+ {port_env, [
+ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+- "LDFLAGS", "$LDFLAGS -lstdc++"},
++ "LDFLAGS", "$LDFLAGS -lstdc++ -ldouble-conversion"},
+
+ %% OS X Leopard flags for 64-bit
+ {"darwin9.*-64$", "CXXFLAGS", "-m64"},
9 years, 8 months
[elixir/f19] (4 commits) ...upstream 0.12.5
by Ricky Elrod
Summary of changes:
4220078... Latest release (*)
bef6baf... 0.12.4 release (*)
b68770a... add a convenience script for maintainers (*)
c9dbffc... upstream 0.12.5 (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 9 months
[elixir/f20] (2 commits) ...upstream 0.12.5
by Ricky Elrod
Summary of changes:
b68770a... add a convenience script for maintainers (*)
c9dbffc... upstream 0.12.5 (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 9 months
[elixir] upstream 0.12.5
by Ricky Elrod
commit c9dbffc6304c2b1952612e205f28f7bdab9b29a2
Author: Ricky Elrod <ricky(a)elrod.me>
Date: Wed Mar 12 05:31:40 2014 -0400
upstream 0.12.5
.gitignore | 1 +
elixir.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 621ea67..fb1a88a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/elixir-0.12.2.tar.gz
/elixir-0.12.3.tar.gz
/elixir-0.12.4.tar.gz
+/elixir-0.12.5.tar.gz
diff --git a/elixir.spec b/elixir.spec
index 3629c57..9935d6c 100644
--- a/elixir.spec
+++ b/elixir.spec
@@ -1,5 +1,5 @@
Name: elixir
-Version: 0.12.4
+Version: 0.12.5
Release: 1%{?dist}
Summary: A modern approach to programming for the Erlang VM
@@ -55,6 +55,9 @@ ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%
%{_datadir}/%{name}
%changelog
+* Wed Mar 12 2014 Ricky Elrod <codeblock(a)fedoraproject.org> - 0.12.5-1
+- Update to upstream 0.12.5.
+
* Thu Feb 13 2014 Ricky Elrod <codeblock(a)fedoraproject.org> - 0.12.4-1
- Update to upstream 0.12.4.
diff --git a/sources b/sources
index 1c1c72c..a5947f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-34675dee437686d7864b29068e6b9310 elixir-0.12.4.tar.gz
+160413af0bab101709e50529845df82c elixir-0.12.5.tar.gz
9 years, 9 months
[elixir] add a convenience script for maintainers
by Ricky Elrod
commit b68770af9fe466ae297368b42dd8fb03d34171a9
Author: Ricky Elrod <ricky(a)elrod.me>
Date: Wed Mar 12 05:22:56 2014 -0400
add a convenience script for maintainers
download-from-github.sh | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/download-from-github.sh b/download-from-github.sh
new file mode 100755
index 0000000..9f5c597
--- /dev/null
+++ b/download-from-github.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# (Note: This isn't used in the build at all, just a convenience script to
+# avoid having to copy-paste the download link from GitHub each update).
+
+if [ "$1" == "" ]; then
+ echo 'usage: ./download-from-github <elixir version>'
+ exit 1
+fi
+
+wget -O "elixir-$1.tar.gz" \
+ "https://github.com/elixir-lang/elixir/archive/v$1.tar.gz"
9 years, 9 months