Hello community,

here is the log from the commit of package bats for openSUSE:Factory checked in 
at 2019-02-05 11:18:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bats (Old)
 and      /work/SRC/openSUSE:Factory/.bats.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bats"

Tue Feb  5 11:18:25 2019 rev:4 rq:667850 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bats/bats.changes        2017-02-26 
17:09:57.325529539 +0100
+++ /work/SRC/openSUSE:Factory/.bats.new.28833/bats.changes     2019-02-05 
11:18:26.964906104 +0100
@@ -1,0 +2,8 @@
+Tue Jan 22 14:14:52 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 1.1.0
+- drop build-term.patch  package-json.patch
+- new upstream, see changes on https://github.com/bats-core/bats-core/releases
+
+
+-------------------------------------------------------------------

Old:
----
  build-term.patch
  package-json.patch
  v0.4.0.tar.gz

New:
----
  v1.1.0.tar.gz

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

Other differences:
------------------
++++++ bats.spec ++++++
--- /var/tmp/diff_new_pack.sDkz60/_old  2019-02-05 11:18:27.580905764 +0100
+++ /var/tmp/diff_new_pack.sDkz60/_new  2019-02-05 11:18:27.580905764 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bats
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,22 +12,19 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           bats
-Version:        0.4.0
+Version:        1.1.0
 Release:        0
 Summary:        Bash Automated Testing System
 License:        MIT
-Group:          Development/Tools
-Url:            https://github.com/sstephenson/bats
-Source:         https://github.com/sstephenson/bats/archive/v%{version}.tar.gz
-Patch0:         package-json.patch
-Patch1:         build-term.patch
+Group:          Development/Tools/Other
+URL:            https://github.com/bats-core/bats-core/
+Source:         
https://github.com/bats-core/bats-core/archive/v%{version}.tar.gz
 BuildRequires:  ncurses-utils
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
@@ -42,33 +39,27 @@
 to test any UNIX program.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{name}-core-%{version}
+mv libexec lib
+
+sed -i 's|libexec|lib|g' install.sh ./lib/bats-core/* ./bin/bats
+sed -i '1s|#!%{_bindir}/env bash|#!/bin/bash|' ./lib/bats-core/* ./bin/bats
 
 %build
 
 %install
-mkdir -p %{buildroot}%{_datadir}/%{name}
-cp -r bin libexec package.json %{buildroot}%{_datadir}/%{name}
-
-mkdir -p %{buildroot}%{_mandir}/man1
-cp man/bats.1 %{buildroot}%{_mandir}/man1
-mkdir -p %{buildroot}%{_mandir}/man7
-cp man/bats.7 %{buildroot}%{_mandir}/man7
-
-mkdir -p %{buildroot}%{_bindir}
-ln -s %{_datadir}/%{name}/bin/bats %{buildroot}%{_bindir}/bats
+./install.sh %{buildroot}%{_prefix}
 
 %check
-%{buildroot}%{_bindir}/bats test
+./bin/bats test/bats.bats
+./bin/bats test/suite.bats
 
 %files
-%defattr(-,root,root)
-%doc README.md LICENSE
+%license LICENSE.md
+%doc README.md
 %{_bindir}/bats
-%{_datadir}/%{name}
-%{_mandir}/man1/bats.1.gz
-%{_mandir}/man7/bats.7.gz
+%{_prefix}/lib/%{name}-core
+%{_mandir}/man1/bats.1%{?ext_man}
+%{_mandir}/man7/bats.7%{?ext_man}
 
 %changelog

++++++ v0.4.0.tar.gz -> v1.1.0.tar.gz ++++++
++++ 4244 lines of diff (skipped)


Reply via email to