Accepting request 1118482 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1118482 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-network-byte-order?expand=0&rev=7
This commit is contained in:
commit
66bc76a469
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 01:29:09 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update network-byte-order to version 0.1.7.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:07:41 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -18,15 +18,13 @@
|
||||
|
||||
%global pkg_name network-byte-order
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.1.6
|
||||
Version: 0.1.7
|
||||
Release: 0
|
||||
Summary: Network byte order utilities
|
||||
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-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
@ -34,10 +32,6 @@ BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-doctest-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
Peek and poke functions for network byte order.
|
||||
@ -71,7 +65,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
@ -79,9 +72,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2b0ccc9b759d686af30aac874fc394c13c1fc8a3db00fac401c9339c263dc5e
|
||||
size 6648
|
3
network-byte-order-0.1.7.tar.gz
Normal file
3
network-byte-order-0.1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:480ce0ad7f67364ec8d4ce8d815f463d9e4074e3789be22a5722cfdebed08679
|
||||
size 6402
|
@ -1,43 +0,0 @@
|
||||
-- Initial network-byte-order.cabal generated by cabal init. For further
|
||||
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: network-byte-order
|
||||
version: 0.1.6
|
||||
x-revision: 1
|
||||
synopsis: Network byte order utilities
|
||||
description: Peek and poke functions for network byte order.
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Kazu Yamamoto
|
||||
maintainer: kazu@iij.ad.jp
|
||||
-- copyright:
|
||||
category: Network
|
||||
build-type: Simple
|
||||
-- extra-source-files: ChangeLog.md
|
||||
cabal-version: >= 1.10
|
||||
|
||||
library
|
||||
ghc-options: -Wall
|
||||
exposed-modules: Network.ByteOrder
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends: base >= 4.9 && < 5
|
||||
, bytestring
|
||||
-- hs-source-dirs:
|
||||
default-language: Haskell2010
|
||||
if impl(ghc >= 8)
|
||||
default-extensions: Strict StrictData
|
||||
|
||||
test-suite doctest
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test
|
||||
ghc-options: -Wall
|
||||
main-is: doctests.hs
|
||||
build-depends: base
|
||||
, bytestring
|
||||
, doctest
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/kazu-yamamoto/network-byte-order.git
|
Loading…
Reference in New Issue
Block a user