Hello community,

here is the log from the commit of package ghc-nix-paths for openSUSE:Factory 
checked in at 2016-10-22 13:14:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-nix-paths (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-nix-paths.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-nix-paths"

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

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-nix-paths.new/ghc-nix-paths.changes 
2016-10-22 13:14:32.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sun Jul 10 17:27:50 UTC 2016 - [email protected]
+
+- Update to version 1.0.0.1 revision 1 with cabal2obs.
+

New:
----
  1.cabal
  ghc-nix-paths.changes
  ghc-nix-paths.spec
  nix-paths-1.0.0.1.tar.gz

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

Other differences:
------------------
++++++ ghc-nix-paths.spec ++++++
#
# spec file for package ghc-nix-paths
#
# 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/
#


%global pkg_name nix-paths
Name:           ghc-%{pkg_name}
Version:        1.0.0.1
Release:        0
Summary:        Knowledge of Nix's installation directories
License:        BSD-3-Clause
Group:          System/Libraries
Url:            https://hackage.haskell.org/package/%{pkg_name}
Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
BuildRequires:  ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires:  ghc-process-devel
BuildRequires:  ghc-rpm-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps

%description
This module provides full paths to various Nix utilities, like 'nix-store',
'nix-instantiate', and 'nix-env'.

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

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal


%build
%define cabal_configure_options -fallow-relative-paths
%ghc_lib_build


%install
%ghc_lib_install


%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

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

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

%changelog
++++++ 1.cabal ++++++
name:                   nix-paths
version:                1.0.0.1
x-revision: 1
synopsis:               Knowledge of Nix's installation directories.
description:            This module provides full paths to various Nix
                        utilities, like @nix-store@, @nix-instantiate@, and
                        @nix-env@.
category:               Distribution, Nix
homepage:               https://github.com/peti/nix-paths
bug-reports:            https://github.com/peti/nix-paths/issues
author:                 Peter Simons
maintainer:             [email protected]
license:                BSD3
license-file:           LICENSE
build-type:             Custom
cabal-version:          >= 1.10
tested-with:            GHC > 7.2 && < 8.1

flag allow-relative-paths
  description:          If any of the required Nix tools are missing at
                        build-time, compile a run-time $PATH dependent
                        variant of this library instead of failing. This is
                        useful for test environment such as Travis-CI, which
                        may not have Nix installed.
  default:              False
  manual:               True

source-repository head
  type: git
  location: https://github.com/peti/nix-paths

library
  default-language:     Haskell2010
  hs-source-dirs:       src
  exposed-modules:      Nix.Paths, Nix.FindFile
  build-depends:        base < 5, process
  if !flag(allow-relative-paths)
    build-tools:        nix-instantiate, nix-build, nix-env, nix-store

Reply via email to