osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-network-byte-order revision:8, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-byte-order?expand=0&rev=17
This commit is contained in:
Peter Simons 2023-10-13 21:01:00 +00:00 committed by Git OBS Bridge
parent 79f1af20d7
commit 78d1159bad
5 changed files with 10 additions and 57 deletions

View File

@ -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> Thu Mar 30 17:07:41 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -18,15 +18,13 @@
%global pkg_name network-byte-order %global pkg_name network-byte-order
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.6 Version: 0.1.7
Release: 0 Release: 0
Summary: Network byte order utilities Summary: Network byte order utilities
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-base-devel BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
@ -34,10 +32,6 @@ BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-doctest-prof
%endif
%description %description
Peek and poke functions for network byte order. Peek and poke functions for network byte order.
@ -71,7 +65,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
%ghc_lib_build %ghc_lib_build
@ -79,9 +72,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%install %install
%ghc_lib_install %ghc_lib_install
%check
%cabal_test
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2b0ccc9b759d686af30aac874fc394c13c1fc8a3db00fac401c9339c263dc5e
size 6648

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:480ce0ad7f67364ec8d4ce8d815f463d9e4074e3789be22a5722cfdebed08679
size 6402

View File

@ -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