Hello community,

here is the log from the commit of package erlang for openSUSE:Factory checked 
in at 2012-10-13 19:52:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang (Old)
 and      /work/SRC/openSUSE:Factory/.erlang.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "erlang", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/erlang/erlang.changes    2012-10-09 
13:55:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.erlang.new/erlang.changes       2012-10-13 
19:55:42.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 11 11:34:36 UTC 2012 - [email protected]
+
+- Install man-pages into /usr/share/man, not a erlang-private directory
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ erlang.spec ++++++
--- /var/tmp/diff_new_pack.YmSw6s/_old  2012-10-13 19:55:44.000000000 +0200
+++ /var/tmp/diff_new_pack.YmSw6s/_new  2012-10-13 19:55:44.000000000 +0200
@@ -198,6 +198,10 @@
 # fix for arch linux bug #17001 (wx not working)
 sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS 
--libs` -lGLU"|' lib/wx/configure || return 1
 
+mkdir -p erlang_doc erlang_man
+tar -C erlang_doc -xzf %{SOURCE1}
+tar -C erlang_man -xzf %{SOURCE2}
+
 %build
 # we need build only 1.5 target for java
 # for SLE only
@@ -222,6 +226,9 @@
 # parallel builds do not work (yet) - last tested with R14B04
 # make %{?_smp_mflags}
 
+# compress man pages ...
+find erlang_man/man* -type f -exec gzip {} +
+
 %install
 %if 0%{?sles_version} >= 10
     make DESTDIR=%{buildroot} install
@@ -239,14 +246,6 @@
 rm %{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl.orig
 mv 
%{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl.indented 
%{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl
 
-# doc
-mv README.md README
-mkdir -p erlang_doc
-tar -C erlang_doc -xzf %{SOURCE1}
-tar -C %{buildroot}/%{_libdir}/erlang -xzf %{SOURCE2}
-# compress man pages ...
-find %{buildroot}%{_libdir}/erlang/man -type f -exec gzip {} +
-
 #make link to OtpErlang-*.jar in %%{_javadir}
 mkdir -p %{buildroot}%{_javadir}
 cd %{buildroot}%{_javadir}
@@ -256,9 +255,14 @@
 
 # Remove binary and source files with propriatery license, see bnc#728667
 rm -r %{buildroot}%{_libdir}/erlang/lib/diameter-*
-rm -r %{buildroot}%{_libdir}/erlang/man/man?/diameter* # Doesn't make much 
sense w/o the above
+rm -r erlang_man/man/man?/diameter* # Doesn't make much sense w/o the above
 rm -r lib/diameter lib/xmerl/test/xmerl_xsd_SUITE_data # Can't distribute 
either source
 
+# doc
+mv README.md README
+install -d %{buildroot}%{_mandir}
+cp -r erlang_man/man/man? %{buildroot}%{_mandir}
+
 # emacs: automatically load support for erlang
 # http://lists.mandriva.com//bugs/2007-08/msg00930.php
 mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp
@@ -281,9 +285,6 @@
 %files
 %defattr(-,root,root)
 %doc AUTHORS EPLICENCE README
-%doc %{_libdir}/erlang/PR.template
-%doc %{_libdir}/erlang/README
-%doc %{_libdir}/erlang/COPYRIGHT
 %{_bindir}/*
 %dir %{_libdir}/erlang
 %dir %{_libdir}/erlang/lib/
@@ -338,7 +339,7 @@
 %{_libdir}/erlang/lib/typer-*/
 %{_libdir}/erlang/lib/webtool-*/
 %{_libdir}/erlang/lib/xmerl-*/
-%{_libdir}/erlang/man/
+%{_mandir}/man?/*.gz
 %{_libdir}/erlang/misc/
 %{_libdir}/erlang/releases/
 %{_libdir}/erlang/usr/

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to