Hello community,

here is the log from the commit of package erlang for openSUSE:Factory checked 
in at 2015-06-23 11:58:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang (Old)
 and      /work/SRC/openSUSE:Factory/.erlang.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "erlang"

Changes:
--------
--- /work/SRC/openSUSE:Factory/erlang/erlang.changes    2015-04-10 
09:51:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.erlang.new/erlang.changes       2015-06-23 
11:58:23.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 28 13:08:20 UTC 2015 - [email protected]
+
+- Update to 17.5.4
+
+-------------------------------------------------------------------

Old:
----
  otp_doc_html_17.5.tar.gz
  otp_doc_man_17.5.tar.gz
  otp_src_17.5.tar.gz

New:
----
  OTP-17.5.4.tar.gz
  _constraints
  _service

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ erlang.spec ++++++
--- /var/tmp/diff_new_pack.pv5KNU/_old  2015-06-23 11:58:25.000000000 +0200
+++ /var/tmp/diff_new_pack.pv5KNU/_new  2015-06-23 11:58:25.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package erlang
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
 
 
 Name:           erlang
-Version:        17.5
+Version:        17.5.4
 Release:        0
 Summary:        General-purpose programming language and runtime environment
 License:        ErlPL-1.1
 Group:          Development/Languages/Other
 Url:            http://www.erlang.org
-Source:         otp_src_%{version}.tar.gz
-Source1:        otp_doc_html_%{version}.tar.gz
-Source2:        otp_doc_man_%{version}.tar.gz
+Source0:        https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
 Source3:        %{name}-rpmlintrc
 Source4:        epmd.init
 Source5:        erlang.sysconfig
@@ -50,12 +48,18 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  Mesa-devel
 BuildRequires:  fdupes
+BuildRequires:  fop
 BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  krb5-devel
 BuildRequires:  update-alternatives
+%if 0%{?suse_version} >= 1220
+BuildRequires:  xsltproc
+%else
+BuildRequires:  libxslt
+%endif
 Requires:       erlang-epmd
 
-%if 0%{?suse_version} >= 1320
+%if 0%{?suse_version} >= 1315
 BuildRequires:  wxWidgets-devel >= 3
 %else
 %if 0%{?suse_version} >= 1140
@@ -69,8 +73,8 @@
 %endif
 
 %if 0%{?suse_version} >=1230
-BuildRequires:  pkgconfig(systemd)
 BuildRequires:  systemd-devel
+BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 %define have_systemd 1 
 %endif
@@ -277,12 +281,13 @@
 A Graphics System used to write platform independent user interfaces.
 
 %prep
-%setup -q -n otp_src_%{version}
+%setup -q -n otp-OTP-%{version}
 %patch0 -p1 -b .rpath
 %patch4 -p1
 %patch5 -p1
 cp %{S:9} .
 
+./otp_build autoconf
 # enable dynamic linking for ssl
 sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
 # Remove shipped zlib sources
@@ -318,12 +323,15 @@
 make %{?_smp_mflags} clean
 # should work up to at least -j8
 make %{?_smp_mflags}
+# to build the docs, just compiled erlang is required
+PATH=$PWD/bin:$PATH make %{?_smp_mflags} docs
 
 %install
 %if 0%{?sles_version} >= 10
     make DESTDIR=%{buildroot} install
+    make DESTDIR=%{buildroot} install-docs
 %else
-    %make_install
+    %make_install install-docs
 %endif
 
 export TOOLS_VERSION=`ls %{buildroot}%{_libdir}/erlang/lib/ |grep ^tools- | 
sed "s|tools-||"`
@@ -339,8 +347,7 @@
 # doc
 mv README.md README
 mkdir -p erlang_doc
-tar -C erlang_doc -xzf %{SOURCE1}
-tar -C %{buildroot}/%{_libdir}/erlang -xzf %{SOURCE2}
+find %{buildroot}%{_libdir}/erlang -maxdepth 3 -type d -name doc -or -name 
info | while read S;do D=`echo $S | sed -e 
's|%{buildroot}%{_libdir}/erlang|erlang_doc|'`; B=`dirname $D`; mkdir -p $B; mv 
$S $D; done
 # compress man pages ...
 find %{buildroot}%{_libdir}/erlang/man -type f -exec gzip {} +
 

++++++ _constraints ++++++
<constraints>
  <hardware>
    <memory>
      <size unit="M">3000</size>
    </memory>
  </hardware>
</constraints> 
++++++ _service ++++++
<services>
        <service name="download_files" mode="disabled">
                <param name="recompress">no</param>
        </service>
</services>

Reply via email to