summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2010-12-14 00:02:29 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2010-12-14 00:02:29 +0100
commit792c90c13ef5c5d273e8d716a677b5a7b09c1b93 (patch)
tree7f0b0ab0e3a5fe34c62c94128d70818490122360
parent92b9c2df9bb5edfe30289470eaad107eb94ff041 (diff)
downloaderlang-792c90c13ef5c5d273e8d716a677b5a7b09c1b93.tar.gz
erlang-792c90c13ef5c5d273e8d716a677b5a7b09c1b93.tar.xz
erlang-792c90c13ef5c5d273e8d716a677b5a7b09c1b93.zip
R14B-01.0: Update from R14B to R14B01
Set up macros such that it will be easier to switch between RnnB and RnnB01 the next time round. Still to do for the update: Rebase and update the Fedora specific patches.
-rw-r--r--.gitignore3
-rw-r--r--erlang.spec26
-rw-r--r--sources6
3 files changed, 25 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 418520a..c1ad56d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,6 @@ otp_src_R14A.tar.gz
/otp_src_R14B.tar.gz
/otp_doc_html_R14B.tar.gz
/otp_doc_man_R14B.tar.gz
+/otp_doc_html_R14B01.tar.gz
+/otp_doc_man_R14B01.tar.gz
+/otp_src_R14B01.tar.gz
diff --git a/erlang.spec b/erlang.spec
index a989dec..441cb67 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -1,23 +1,32 @@
%global upstream_ver R14B
# Do NOT change %%{upstream_rel} unless UPSTREAM has actually changed it!
-%global upstream_rel 0
+%global upstream_rel 01
+#global upstream_rel %{nil}
+# Use %%{nil} for %%{upstream_rel} for tracking source like otp_src_R14B.tar.gz,
+# and 01 %%{upstream_rel} for tracking source like otp_src_R14B01.tar.gz.
+
+%if 0%{upstream_rel}
+%global upstream_rel_for_rpm %{upstream_rel}
+%else
+%global upstream_rel_for_rpm 0
+%endif
%bcond_without doc
-%global n_uvr %{name}-%{upstream_ver}-%{upstream_rel}
+%global n_uvr %{name}-%{upstream_ver}-%{upstream_rel_for_rpm}
Name: erlang
Version: %{upstream_ver}
-Release: %{upstream_rel}.5%{?dist}
+Release: %{upstream_rel_for_rpm}.1%{?dist}
Summary: General-purpose programming language and runtime environment
Group: Development/Languages
License: ERPL
URL: http://www.erlang.org
-Source0: http://www.erlang.org/download/otp_src_%{upstream_ver}.tar.gz
+Source0: http://www.erlang.org/download/otp_src_%{upstream_ver}%{upstream_rel}.tar.gz
%if 0%{?el4}%{?el5}%{?el6}
-Source1: http://erlang.org/download/otp_doc_html_%{upstream_ver}.tar.gz
-Source2: http://erlang.org/download/otp_doc_man_%{upstream_ver}.tar.gz
+Source1: http://erlang.org/download/otp_doc_html_%{upstream_ver}%{upstream_rel}.tar.gz
+Source2: http://erlang.org/download/otp_doc_man_%{upstream_ver}%{upstream_rel}.tar.gz
%endif
# For the source of the Fedora specific patches, see the respective
# branch at https://github.com/lemenkov/otp
@@ -925,7 +934,7 @@ Erlang mode for XEmacs (source lisp files).
%endif
%prep
-%setup -q -n otp_src_%{upstream_ver}
+%setup -q -n otp_src_%{upstream_ver}%{upstream_rel}
%patch1 -p1 -b .do_not_format_manpages
%patch2 -p1 -b .rpath
%patch4 -p1 -b .dlopen_opengl_libs
@@ -2220,6 +2229,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Dec 13 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - R14B-01.1
+- Update to upstream release R14B01 (the patches still need work)
+
* Thu Nov 18 2010 Peter Lemenkov <lemenkov@gmail.com> - R14B-0.5
- Fixed building on EL-6
diff --git a/sources b/sources
index b2cd14d..eae5736 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-2294757773a0cf4c036f602fbb9fc4fb otp_doc_html_R14B.tar.gz
-011530a24fbcc194be9bd01f779325a2 otp_doc_man_R14B.tar.gz
-5292a04556d17ad528d570e02357dfbb otp_src_R14B.tar.gz
+92c141862ee12e9975d923d665b8a5c7 otp_doc_html_R14B01.tar.gz
+55376d3b1994d083cd21c9d849517c6c otp_doc_man_R14B01.tar.gz
+ce595447571128bc66f630a8fa13339a otp_src_R14B01.tar.gz