Hello community,

here is the log from the commit of package erlang-rebar for openSUSE:Factory 
checked in at 2016-05-30 09:56:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang-rebar (Old)
 and      /work/SRC/openSUSE:Factory/.erlang-rebar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "erlang-rebar"

Changes:
--------
New Changes file:

--- /dev/null   2016-04-07 01:36:33.300037506 +0200
+++ /work/SRC/openSUSE:Factory/.erlang-rebar.new/erlang-rebar-testsuite.changes 
2016-05-30 09:56:08.000000000 +0200
@@ -0,0 +1,187 @@
+-------------------------------------------------------------------
+Mon May 09 20:45:59 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160413.9281b84:
+  + Support rebar3-style deps
+  + Add raw to VsnRegex-Free dep
+  + add deprecated message
+
+-------------------------------------------------------------------
+Mon May  9 16:13:21 UTC 2016 - matwey.korni...@gmail.com
+
+- BuildRoot should be common for both packages
+
+-------------------------------------------------------------------
+Sat Mar 19 16:48:58 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160318.ef73556:
+  + Optionally look for ct .spec files in the ct_dir that was specified
+  + Introduce REBAR_VSN_CACHE_FILE env variable to load/save vsn cache
+
+-------------------------------------------------------------------
+Fri Mar 18 08:24:17 UTC 2016 - matwey.korni...@gmail.com
+
+- Remove 0001-Find-all-deps-locally-first.patch:
+  + use upstreamed alternative
+- Remove 0002-Read-vsn-from-file.patch:
+  + use upstreamed alternative
+- Remove no-rebar-deps.patch: not needed anymore
+
+-------------------------------------------------------------------
+Fri Mar 18 08:23:57 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160317.384af7e:
+  + Add support for Windows integration testing
+  + Update retest dependency url
+  + Add neotoma regression test
+  + Automatically clean neotoma-generated erl files Add myself to THANKS
+  + Ensure ebin created for dia compiler
+  + Add tests for dia compiler
+  + Update regexp to account for newer OTP versions
+  + Treat port env vars as expandable only if they self reference
+  + Additional Common Test regression tests
+  + Fix eunit_surefire crash with rebar eunit tests=...
+  + Provide additional test coverage for surefire enabled eunit testing
+  + Fix bug when running gcc in cross_sizeof
+  + Introduce REBAR_DEPS_PREFER_LIBS env variable to alter search behaviour
+
+-------------------------------------------------------------------
+Sun Jan 17 17:25:39 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160115.c534f8a:
+  + fprof: document Cachegrind support
+  + fprof: further document Cachegrind support
+  + Add qualified name tests docs (see pr #119)
+  + Fix windows eunit tests
+  + Lock retest dependency
+  + Allow windows release to use etc conf dir
+  + xref: fix dialyzer warning introduced in 69802f63120
+  + Provide additional debug logging on relup generation
+  + Add the latest OTP 18 version to the Travis build
+
+-------------------------------------------------------------------
+Fri Oct 16 09:00:00 UTC 2015 - matwey.korni...@gmail.com
+
+- erlang-rebar-src and erlang-rebar-obs-src should also be
+  in conflict explicitly
+
+-------------------------------------------------------------------
+Thu Oct 15 08:29:58 UTC 2015 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20151013.5d73a8d:
+  + Add Windows continuous integration through AppVeyor
+
+-------------------------------------------------------------------
+Wed Oct 07 16:55:13 UTC 2015 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20150928.365ac64:
+  + Fix #544
+  + Fix #544 even more.
+  + Fix #544
+  + Add erl_first_files to other first_files
+  + Add test for eunit_first_files
+  + Add report and verbose options for LFE compile
+  + bump to 2.6.1
+
+-------------------------------------------------------------------
+Wed Sep 30 11:36:06 UTC 2015 - dmuel...@suse.com
+
+- use m4 for substitution of the base package name,
+  works around some defects in the source validator checks
+
+-------------------------------------------------------------------
+Fri Jul 24 18:21:51 UTC 2015 - seife+...@b1-systems.com
+
+- fix "bad %if condition" for non-SUSE distro builds
+
+-------------------------------------------------------------------
+Thu Jun 12 07:37:29 UTC 2014 - matwey.korni...@gmail.com
+
+- Version 2.3.1
+  - fix build for 17
+
+-------------------------------------------------------------------
+Wed Apr 16 16:42:28 UTC 2014 - matwey.korni...@gmail.com
+
+- Add erlang-rebar-obs package to use it in OBS only.
+  It does not require Internet.
+- prjconf should be something like that:
+  Substitute: erlang-rebar erlang-rebar-obs
+
+-------------------------------------------------------------------
+Wed Apr 16 12:56:47 UTC 2014 - matwey.korni...@gmail.com
+
+- Version 2.2.0
+
+-------------------------------------------------------------------
+Sat Mar  1 08:11:54 UTC 2014 - nkrin...@suse.com
+
+- Added rpmlintc file to allow build to succeed with a file with 
+  source code 
+
+-------------------------------------------------------------------
+Sun Feb  2 17:33:07 UTC 2014 - matwey.korni...@gmail.com
+
+- updated to latest master (2.1.0 release)
+
+-------------------------------------------------------------------
+Mon Sep 30 12:15:47 UTC 2013 - matwey.korni...@gmail.com
+
+- updated to latest master. some minor bugfixes
+
+-------------------------------------------------------------------
+Wed Jun 26 11:50:03 UTC 2013 - matwey.korni...@gmail.com
+
+- add bash autocompletion, rename -devel to -src
+
+-------------------------------------------------------------------
+Wed Jun 26 09:52:45 UTC 2013 - kru...@zib.de
+
+- remove cyclic dependency to erlang-retest
+  (a pre-build version is already bundled with rebar in ./inttest)
+- fix SLE build (hg version is incompatible thus some tests fail)
+
+-------------------------------------------------------------------
+Wed Jun 26 09:29:26 UTC 2013 - kru...@zib.de
+
+- fix package build (require erlang-retest package for %check)
+  This dependency is cyclic, as erlang-retest needs rebar to build
+  normally, here rebar is built and then retest (from git) which
+  is only needed for the tests we don't have access to git from
+  OBS though, try this way (or disable %check).
+
+-------------------------------------------------------------------
+Mon Jun 17 13:08:21 UTC 2013 - speili...@suse.com
+
+- Add %changelog section
+
+-------------------------------------------------------------------
+Fri Apr  5 12:08:29 UTC 2013 - speili...@suse.com
+
+- Fix %rebar and %rebar_compile macros to take further parameters
+
+-------------------------------------------------------------------
+Thu Apr  4 08:30:03 UTC 2013 - speili...@suse.com
+
+- Move rebar-specific macros from erlang package to erlang-rebar
+
+-------------------------------------------------------------------
+Thu Apr  4 07:16:04 UTC 2013 - speili...@suse.com
+
+- Added macros.erlang-rebar, which includes the following RPM macros:
+  + %erlang_rebar
+- Install ebam and priv files
+- Added devel package
+
+-------------------------------------------------------------------
+Wed Apr  3 13:50:36 UTC 2013 - speili...@suse.com
+
+- Rename to erlang-rebar
+- Use mode="disabled" source service and properly create a tarball
+- General cleanup for Factory
+
+-------------------------------------------------------------------
+Sat Oct 06 06:36:08 UTC 2012 - matwey.korni...@gmail.com
+
+- Cleaned up initial version
+
--- /work/SRC/openSUSE:Factory/erlang-rebar/erlang-rebar.changes        
2016-01-20 09:55:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.erlang-rebar.new/erlang-rebar.changes   
2016-05-30 09:56:09.000000000 +0200
@@ -1,0 +2,47 @@
+Mon May 09 20:45:59 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160413.9281b84:
+  + Support rebar3-style deps
+  + Add raw to VsnRegex-Free dep
+  + add deprecated message
+
+-------------------------------------------------------------------
+Mon May  9 16:13:21 UTC 2016 - matwey.korni...@gmail.com
+
+- BuildRoot should be common for both packages
+
+-------------------------------------------------------------------
+Sat Mar 19 16:48:58 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160318.ef73556:
+  + Optionally look for ct .spec files in the ct_dir that was specified
+  + Introduce REBAR_VSN_CACHE_FILE env variable to load/save vsn cache
+
+-------------------------------------------------------------------
+Fri Mar 18 08:24:17 UTC 2016 - matwey.korni...@gmail.com
+
+- Remove 0001-Find-all-deps-locally-first.patch:
+  + use upstreamed alternative
+- Remove 0002-Read-vsn-from-file.patch:
+  + use upstreamed alternative
+- Remove no-rebar-deps.patch: not needed anymore
+
+-------------------------------------------------------------------
+Fri Mar 18 08:23:57 UTC 2016 - matwey.korni...@gmail.com
+
+- Update to version 2.6.1+git20160317.384af7e:
+  + Add support for Windows integration testing
+  + Update retest dependency url
+  + Add neotoma regression test
+  + Automatically clean neotoma-generated erl files Add myself to THANKS
+  + Ensure ebin created for dia compiler
+  + Add tests for dia compiler
+  + Update regexp to account for newer OTP versions
+  + Treat port env vars as expandable only if they self reference
+  + Additional Common Test regression tests
+  + Fix eunit_surefire crash with rebar eunit tests=...
+  + Provide additional test coverage for surefire enabled eunit testing
+  + Fix bug when running gcc in cross_sizeof
+  + Introduce REBAR_DEPS_PREFER_LIBS env variable to alter search behaviour
+
+-------------------------------------------------------------------

Old:
----
  0001-Find-all-deps-locally-first.patch
  0002-Read-vsn-from-file.patch
  erlang-rebar-obs.changes
  erlang-rebar-obs.rpmlintrc
  erlang-rebar-obs.spec
  no-rebar-deps.patch
  rebar-2.6.1+git20160115.c534f8a.tar.bz2
  spec.in

New:
----
  erlang-rebar-testsuite.changes
  erlang-rebar-testsuite.rpmlintrc
  erlang-rebar-testsuite.spec
  rebar-2.6.1+git20160413.9281b84.tar.bz2

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

Other differences:
------------------
++++++ erlang-rebar-testsuite.spec ++++++
#
# spec file for package erlang-rebar-testsuite
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           erlang-rebar-testsuite
%define normal_build    ("%{name}" == "erlang-rebar")
%define testsuite_build ("%{name}" == "erlang-rebar-testsuite")
Version:        2.6.1+git20160413.9281b84
Release:        0
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
Summary:        A sophisticated build-tool for Erlang projects that follows OTP 
principles
License:        Apache-2.0
Group:          Development/Tools/Building
Url:            https://github.com/rebar/rebar
Source:         rebar-%{version}.tar.bz2
Source1:        macros.erlang-rebar
Source98:       %{name}.rpmlintrc
Patch2:         tdeps_update-retest.patch
Patch5:         erlc_dep_graph-timeout.patch
BuildRequires:  erlang >= R13B01
Requires:       erlang >= R13B01
Provides:       rebar = %{version}
Obsoletes:      rebar < %{version}
%if %{testsuite_build}
# for 'make test'
BuildRequires:  erlang-rebar = %{version}
BuildRequires:  erlang-reltool
BuildRequires:  erlang-retest >= 1.1.0
BuildRequires:  git
BuildRequires:  mercurial
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version}
%if 1%{?erlang_libdir:0}
%define erlang_libdir %{_libdir}/erlang/lib
%endif
%endif

%description
rebar is an Erlang build tool that makes it easy to compile and
test Erlang applications, port drivers and releases.

rebar is a self-contained Erlang script, so it's easy to distribute or even
embed directly in a project. Where possible, rebar uses standard Erlang/OTP
conventions for project structures, thus minimizing the amount of build
configuration work. rebar also provides dependency management, enabling
application writers to easily re-use common libraries from a variety of
locations (git, hg, etc).

%package src
Summary:        A sophisticated build-tool for Erlang projects that follows OTP 
principles
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}
Provides:       %{name}-devel = %{version}
Obsoletes:      %{name}-devel < %{version}

%description src
rebar is an Erlang build tool that makes it easy to compile and
test Erlang applications, port drivers and releases.

%prep
%setup -q -n rebar-%{version}
%patch2 -p1
%patch5 -p1

%build
export REBAR_DEPS_PREFER_LIBS=1
make

%install
%if %{normal_build}
install -Dm755 rebar %{buildroot}%{_bindir}/rebar
# Install RPM macros:
install -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.erlang-rebar
for dir in include ebin priv src ; do
  install -d %{buildroot}%{erlang_libdir}/rebar-%{mod_ver}/${dir}
  cp -r ${dir}/* %{buildroot}%{erlang_libdir}/rebar-%{mod_ver}/${dir}/
done
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
ln -s %{erlang_libdir}/rebar-%{mod_ver}/priv/shell-completion/bash/rebar 
%{buildroot}%{_sysconfdir}/bash_completion.d/rebar.sh
%endif

%check
%if %{testsuite_build}
# test is broken inside OBS environment due to lack of FQDN
rm -rf inttest/ct3
rm -rf inttest/ct_cover
# test is broken due to library path resolution problem
rm -rf inttest/proto_gpb
rm -rf inttest/neotoma1
# rebar is not compatible with hg 1.0.2 delivered by SLE <= 11
# these checks will thus fail -> delete them
%if 0%{?sles_version} > 0 && 0%{?sles_version} <= 11
rm -rf inttest/tdeps1
rm -rf inttest/tdeps2
%endif
# our erlang doesn't have diameter (see bnc#728667)
rm test/rebar_dia_tests.erl
%{_bindir}/rebar eunit
%{_bindir}/retest -l debug inttest
%{_bindir}/rebar xref
%endif

%if %{normal_build}
%files
%defattr(-,root,root)
%doc README.md THANKS LICENSE rebar.config.sample
%{_bindir}/rebar
%config %{_sysconfdir}/rpm/macros.erlang-rebar
%dir %{erlang_libdir}/rebar-%{mod_ver}
%{erlang_libdir}/rebar-%{mod_ver}/ebin
%{erlang_libdir}/rebar-%{mod_ver}/include
%{erlang_libdir}/rebar-%{mod_ver}/priv
%{_sysconfdir}/bash_completion.d/rebar.sh

%files src
%defattr(-,root,root)
%{erlang_libdir}/rebar-%{mod_ver}/src
%endif

%changelog
++++++ erlang-rebar.spec ++++++
--- /var/tmp/diff_new_pack.MXmzKY/_old  2016-05-30 09:56:11.000000000 +0200
+++ /var/tmp/diff_new_pack.MXmzKY/_new  2016-05-30 09:56:11.000000000 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define obs 0
-
 Name:           erlang-rebar
-Version:        2.6.1+git20160115.c534f8a
+%define normal_build    ("%{name}" == "erlang-rebar")
+%define testsuite_build ("%{name}" == "erlang-rebar-testsuite")
+Version:        2.6.1+git20160413.9281b84
 Release:        0
 %define mod_ver %(echo "%{version}" | cut -d "+" -f1)
 Summary:        A sophisticated build-tool for Erlang projects that follows 
OTP principles
@@ -29,24 +29,17 @@
 Source:         rebar-%{version}.tar.bz2
 Source1:        macros.erlang-rebar
 Source98:       %{name}.rpmlintrc
-Source99:       spec.in
-Patch1:         no-rebar-deps.patch
 Patch2:         tdeps_update-retest.patch
-Patch3:         0001-Find-all-deps-locally-first.patch
-Patch4:         0002-Read-vsn-from-file.patch
 Patch5:         erlc_dep_graph-timeout.patch
 BuildRequires:  erlang >= R13B01
 Requires:       erlang >= R13B01
 Provides:       rebar = %{version}
 Obsoletes:      rebar < %{version}
-%if 0%{?obs}
-Conflicts:      erlang-rebar
-Requires:       this-is-only-for-build-envs
-%else
-Conflicts:      erlang-rebar-obs
+%if %{testsuite_build}
 # for 'make test'
+BuildRequires:  erlang-rebar = %{version}
 BuildRequires:  erlang-reltool
-BuildRequires:  erlang-retest
+BuildRequires:  erlang-retest >= 1.1.0
 BuildRequires:  git
 BuildRequires:  mercurial
 %endif
@@ -75,12 +68,6 @@
 Requires:       %{name} = %{version}
 Provides:       %{name}-devel = %{version}
 Obsoletes:      %{name}-devel < %{version}
-%if 0%{?obs}
-Conflicts:      erlang-rebar-src
-Requires:       this-is-only-for-build-envs
-%else
-Conflicts:      erlang-rebar-obs-src
-%endif
 
 %description src
 rebar is an Erlang build tool that makes it easy to compile and
@@ -88,19 +75,15 @@
 
 %prep
 %setup -q -n rebar-%{version}
-%patch1 -p1
 %patch2 -p1
-%if 0%{?obs}
-%patch3 -p1
-%patch4 -p1
-%endif
 %patch5 -p1
 
 %build
+export REBAR_DEPS_PREFER_LIBS=1
 make
-make deps
 
 %install
+%if %{normal_build}
 install -Dm755 rebar %{buildroot}%{_bindir}/rebar
 # Install RPM macros:
 install -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.erlang-rebar
@@ -110,26 +93,30 @@
 done
 mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
 ln -s %{erlang_libdir}/rebar-%{mod_ver}/priv/shell-completion/bash/rebar 
%{buildroot}%{_sysconfdir}/bash_completion.d/rebar.sh
+%endif
 
 %check
+%if %{testsuite_build}
 # test is broken inside OBS environment due to lack of FQDN
 rm -rf inttest/ct3
 rm -rf inttest/ct_cover
 # test is broken due to library path resolution problem
 rm -rf inttest/proto_gpb
+rm -rf inttest/neotoma1
 # rebar is not compatible with hg 1.0.2 delivered by SLE <= 11
 # these checks will thus fail -> delete them
 %if 0%{?sles_version} > 0 && 0%{?sles_version} <= 11
 rm -rf inttest/tdeps1
 rm -rf inttest/tdeps2
 %endif
-%if 0%{?obs}
-# do not run tests for erlang-rebar-obs
-true
-%else
-make test
+# our erlang doesn't have diameter (see bnc#728667)
+rm test/rebar_dia_tests.erl
+%{_bindir}/rebar eunit
+%{_bindir}/retest -l debug inttest
+%{_bindir}/rebar xref
 %endif
 
+%if %{normal_build}
 %files
 %defattr(-,root,root)
 %doc README.md THANKS LICENSE rebar.config.sample
@@ -144,5 +131,6 @@
 %files src
 %defattr(-,root,root)
 %{erlang_libdir}/rebar-%{mod_ver}/src
+%endif
 
 %changelog

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.MXmzKY/_old  2016-05-30 09:56:11.000000000 +0200
+++ /var/tmp/diff_new_pack.MXmzKY/_new  2016-05-30 09:56:11.000000000 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">git://github.com/rebar/rebar.git</param>
-          <param 
name="changesrevision">c534f8a903c10bf330c0b819fd75e1495a7e1d39</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">9281b848f563e4928b565fab57b610c7368c0be6</param></service></servicedata>
\ No newline at end of file

++++++ erlang-rebar-testsuite.rpmlintrc ++++++
addFilter("devel-file-in-non-devel-package *")
++++++ macros.erlang-rebar ++++++
--- /var/tmp/diff_new_pack.MXmzKY/_old  2016-05-30 09:56:11.000000000 +0200
+++ /var/tmp/diff_new_pack.MXmzKY/_new  2016-05-30 09:56:11.000000000 +0200
@@ -5,19 +5,26 @@
 
 # SUSE-style macros:
 
+%__rebar_vsn_cache_file %{_builddir}/vsn_cache_file
 %__rebar       /usr/bin/rebar
 
+%rebar_set_vsn_cache(v:p:) \
+REBAR_VSN_CACHE_FILE="%{__rebar_vsn_cache_file}" ; export REBAR_VSN_CACHE_FILE 
; \
+echo "{{%{-v:%{-n*}}%{!-n:git}, \\"%{-p:%{-p*}}%{!-p:$PWD}\\"}, \\"%1\\"}." >> 
$REBAR_VSN_CACHE_FILE \
+%{nil}
+
 %rebar() \
-CFLAGS="${CFLAGS:-%optflags}" \
-CXXFLAGS="${CXXFLAGS:-%optflags}" \
-FFLAGS="${FFLAGS:-%optflags}" %{__rebar} %* \
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+REBAR_DEPS_PREFER_LIBS=1 ; export REBAR_DEPS_PREFER_LIBS ; \
+%{__rebar} %* \
 %{nil}
 
 %rebar_compile() \
 %{rebar} compile -v %* \
 %{nil}
 
-
 # Fedora compat:
 
 %__rebar_compile %{rebar_compile}

++++++ pre_checkin.sh ++++++
--- /var/tmp/diff_new_pack.MXmzKY/_old  2016-05-30 09:56:11.000000000 +0200
+++ /var/tmp/diff_new_pack.MXmzKY/_new  2016-05-30 09:56:11.000000000 +0200
@@ -1,9 +1,6 @@
 #!/bin/sh
 
-cp erlang-rebar.changes erlang-rebar-obs.changes
-cp erlang-rebar.rpmlintrc erlang-rebar-obs.rpmlintrc
-m4 -D OBS=0 -D PKGNAME=erlang-rebar spec.in > erlang-rebar.spec
-m4 -D OBS=1 -D PKGNAME=erlang-rebar-obs spec.in > erlang-rebar-obs.spec
-osc service disabledrun
+sed -e 's/^Name:.*erlang-rebar/&-testsuite/' erlang-rebar.spec > 
erlang-rebar-testsuite.spec
+cp erlang-rebar.changes erlang-rebar-testsuite.changes
+cp erlang-rebar.rpmlintrc erlang-rebar-testsuite.rpmlintrc
 osc service localrun format_spec_file
-

++++++ rebar-2.6.1+git20160115.c534f8a.tar.bz2 -> 
rebar-2.6.1+git20160413.9281b84.tar.bz2 ++++++
++++ 3990 lines of diff (skipped)


Reply via email to