From 2e4ffb1f184df5f115eb9e9faa708f2d8ec9e9b10a8efffecad1750c07d60ffc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 9 Feb 2022 13:44:55 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-network-info revision:11, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-info?expand=0&rev=11 --- ghc-network-info.changes | 9 ++++++ ghc-network-info.spec | 11 +++---- network-info-0.2.0.10.tar.gz | 3 -- network-info-0.2.1.tar.gz | 3 ++ network-info.cabal | 58 ------------------------------------ 5 files changed, 16 insertions(+), 68 deletions(-) delete mode 100644 network-info-0.2.0.10.tar.gz create mode 100644 network-info-0.2.1.tar.gz delete mode 100644 network-info.cabal diff --git a/ghc-network-info.changes b/ghc-network-info.changes index 9014927..9136fda 100644 --- a/ghc-network-info.changes +++ b/ghc-network-info.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 4 12:15:38 UTC 2022 - psimons@suse.com + +- Update network-info to version 0.2.1. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/network-info-0.2.1/src/CHANGELOG.md + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-network-info.spec b/ghc-network-info.spec index 89660be..322ac84 100644 --- a/ghc-network-info.spec +++ b/ghc-network-info.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-network-info # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,12 @@ %global pkg_name network-info Name: ghc-%{pkg_name} -Version: 0.2.0.10 +Version: 0.2.1 Release: 0 Summary: Access the local computer's basic network configuration License: BSD-3-Clause 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#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros ExcludeArch: %{ix86} @@ -34,9 +33,8 @@ This library provides simple read-only access to the local computer's networking configuration. It is currently capable of getting a list of all the network interfaces and their respective IPv4, IPv6 and MAC addresses. -network-info has been tested and is known to work on Ubuntu 10.10, FreeBSD 9.0, -Mac OS X 10.6.4 and Windows XP/7. It probably works on other flavours of Linux, -OS X, FreeBSD and Windows as well. +network-info has been tested and is known to work on Ubuntu, FreeBSD, NetBSD, +Mac OS and Windows. %package devel Summary: Haskell %{pkg_name} library development files @@ -50,7 +48,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/network-info-0.2.0.10.tar.gz b/network-info-0.2.0.10.tar.gz deleted file mode 100644 index ce66c52..0000000 --- a/network-info-0.2.0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5680f6975d34cf4f81fa7ca0c8efd682261d6a1119e06dece0f67c7bd97fd52a -size 6278 diff --git a/network-info-0.2.1.tar.gz b/network-info-0.2.1.tar.gz new file mode 100644 index 0000000..ae4788e --- /dev/null +++ b/network-info-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b2d88312fc8280351d5003200cc07decbb865f85d3aa7b1094b238bd6a8b404 +size 6387 diff --git a/network-info.cabal b/network-info.cabal deleted file mode 100644 index 798d1fd..0000000 --- a/network-info.cabal +++ /dev/null @@ -1,58 +0,0 @@ -name: network-info -version: 0.2.0.10 -x-revision: 1 -synopsis: Access the local computer's basic network configuration - -description: This library provides simple read-only access to the - local computer's networking configuration. It is - currently capable of getting a list of all the network - interfaces and their respective IPv4, IPv6 and MAC - addresses. - . - network-info has been tested and is known to work on - Ubuntu 10.10, FreeBSD 9.0, Mac OS X 10.6.4 and Windows - XP/7. It probably works on other flavours of Linux, - OS X, FreeBSD and Windows as well. - -homepage: http://github.com/jacobstanley/network-info -license: BSD3 -license-file: LICENSE -author: Jacob Stanley -maintainer: Jacob Stanley -category: Network -build-type: Simple -cabal-version: >= 1.6 -tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1 - -extra-source-files: - cbits/common.h, - cbits/common.inc, - cbits/network.h, - test/src/Main.hs, - test/network-info-test.cabal, - test/run-tests.bat, - test/run-tests.sh, - README.mkd, - CHANGELOG.md - -source-repository head - type: git - location: git://github.com/jacobstanley/network-info.git - -Library - hs-source-dirs: src - include-dirs: cbits - cc-options: -Wall -std=c99 - - exposed-modules: Network.Info - - build-depends: - base == 4.* - - if os(windows) - c-sources: cbits/network-windows.c - extra-libraries: iphlpapi - else - c-sources: cbits/network-unix.c - if os(solaris) - extra-libraries: socket, nsl