Hello community,

here is the log from the commit of package stack-run-auto for openSUSE:Factory 
checked in at 2017-04-11 09:38:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stack-run-auto (Old)
 and      /work/SRC/openSUSE:Factory/.stack-run-auto.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "stack-run-auto"

Tue Apr 11 09:38:36 2017 rev:1 rq:484187 version:0.1.1.4

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

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.stack-run-auto.new/stack-run-auto.changes       
2017-04-11 09:38:36.928578020 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Mon Jul 18 09:08:46 UTC 2016 - [email protected]
+
+- Update to version 0.1.1.4 revision 0 with cabal2obs.
+

New:
----
  stack-run-auto-0.1.1.4.tar.gz
  stack-run-auto.changes
  stack-run-auto.spec

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

Other differences:
------------------
++++++ stack-run-auto.spec ++++++
#
# spec file for package stack-run-auto
#
# Copyright (c) 2017 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/
#


%global pkg_name stack-run-auto
%bcond_with tests
Name:           %{pkg_name}
Version:        0.1.1.4
Release:        0
Summary:        Automatically finds dependencies and runs a Haskell file with 
stack
License:        MIT
Group:          Development/Languages/Other
Url:            https://hackage.haskell.org/package/%{name}
Source0:        
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires:  chrpath
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-MissingH-devel
BuildRequires:  ghc-async-devel
BuildRequires:  ghc-directory-devel
BuildRequires:  ghc-extract-dependencies-devel
BuildRequires:  ghc-file-modules-devel
BuildRequires:  ghc-filepath-devel
BuildRequires:  ghc-lens-aeson-devel
BuildRequires:  ghc-lens-devel
BuildRequires:  ghc-process-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-stm-containers-devel
BuildRequires:  ghc-text-devel
BuildRequires:  ghc-time-devel
BuildRequires:  ghc-wreq-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Automatically finds dependencies and runs a Haskell script (no cabal manifest,
no stack.yaml, no project).

The command "stack-run-auto Test.hs" will ...

 - find the imported modules from this Haskell file and it's local dependencies,

 - find the package containing each of these modules using the Hayoo
   search-engine to query for the module trying to find from which package it
   came from,

 - find dependencies for all the packages resolved,

 - cache this on $HOME/.stack-run-auto,

 - run stack runghc File.hs --package package1 --package package2 ...

%package -n ghc-%{name}
Summary:        Haskell %{name} library
Group:          System/Libraries

%description -n ghc-%{name}
This package provides the Haskell %{name} shared library.

%package -n ghc-%{name}-devel
Summary:        Haskell %{name} library development files
Group:          Development/Libraries/Other
Requires:       ghc-%{name} = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.

%prep
%setup -q

%build
%ghc_lib_build

%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}

%check
%cabal_test

%post -n ghc-%{name}-devel
%ghc_pkg_recache

%postun -n ghc-%{name}-devel
%ghc_pkg_recache

%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/module-package
%{_bindir}/%{name}

%files -n ghc-%{name} -f ghc-%{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
%defattr(-,root,root,-)

%changelog

Reply via email to