Hello community,

here is the log from the commit of package bazel-toolchains for 
openSUSE:Factory checked in at 2019-01-24 14:12:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bazel-toolchains (Old)
 and      /work/SRC/openSUSE:Factory/.bazel-toolchains.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bazel-toolchains"

Thu Jan 24 14:12:18 2019 rev:1 rq:667472 version:20190102

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

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ 
/work/SRC/openSUSE:Factory/.bazel-toolchains.new.28833/bazel-toolchains.changes 
    2019-01-24 14:12:20.663436592 +0100
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Mon Jan 14 11:42:51 UTC 2019 - MichaƂ Rostecki <[email protected]>
+
+- Initial release 20190102

New:
----
  _service
  _servicedata
  bazel-toolchains-20190102.tar.xz
  bazel-toolchains.changes
  bazel-toolchains.spec

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

Other differences:
------------------
++++++ bazel-toolchains.spec ++++++
#
# spec file for package bazel-toolchains
#
# Copyright (c) 2019 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/
#


%define src_install_dir /usr/src/%{name}

Name:           bazel-toolchains
Version:        20190102
Release:        0
Summary:        Set of Bazel toolchain configurations
License:        Apache-2.0
Group:          Development/Tools/Building
Url:            https://github.com/bazelbuild/bazel-toolchains
Source:         %{name}-%{version}.tar.xz
BuildRequires:  fdupes

%description
bazel-toolchains is a repository of commonly used Bazel toolchain configuration
files. They are required to configure Bazel to work inside a Docker container
via a remote execution environment.

%package source
Summary:        Source code of bazel-toolchains
Group:          Development/Sources
BuildArch:      noarch

%description source
bazel-toolchains is a repository of commonly used Bazel toolchain configuration
files. They are required to configure Bazel to work inside a Docker container
via a remote execution environment.

This package contains source code of bazel-toolchains.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}%{src_install_dir}
tar -xJf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
# Fix env-script-interpreter error.
find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!/usr/bin/env python|#!/usr/bin/python|' "{}" +
# Yes, almost all BUILD and some .bzl files for clang and java have executable 
bits...
find %{buildroot}%{src_install_dir} \( -name "BUILD" -o -name "CROSSTOOL" -o 
-name "*.bzl" \) \( -path "*clang*" -o -path "*java*" \) -exec chmod -x "{}" +
# And one Pythos script with sheband does not have executable bit...
chmod +x %{buildroot}%{src_install_dir}/container/build.py
# Remove hidden files and directories
find %{buildroot}%{src_install_dir} -name ".*" -exec rm -rf "{}" +

%fdupes %{buildroot}%{src_install_dir}

%files source
%license LICENSE
%doc README.md
%{src_install_dir}

%changelog

++++++ _service ++++++
<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://github.com/bazelbuild/bazel-toolchains</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
    <param name="filename">bazel-toolchains</param>
    <param name="versionformat">%cd</param>
    <param name="revision">37419a124bdb9af2fec5b99a973d359b6b899b61</param>
  </service>
  <service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="disabled" name="set_version"/>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/bazelbuild/bazel-toolchains</param>
              <param 
name="changesrevision">37419a124bdb9af2fec5b99a973d359b6b899b61</param></service></servicedata>

Reply via email to