The package rpms/ghc-cborg.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/ghc-cborg.git/commit/?id=480c9454d9e....
Change: +%ifnarch i686 armv7hl s390x
Thanks.
Full change: ============
commit a8dad042b2a9d71a1c6a3527f2dac1cbcadaf177 Author: Jens Petersen petersen@redhat.com Date: Thu Jul 16 19:23:42 2020 +0800
update to 0.2.4.0
diff --git a/.gitignore b/.gitignore index abdb4c9..b2728cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /cborg-0.2.2.1.tar.gz /cborg-0.2.3.0.tar.gz +/cborg-0.2.4.0.tar.gz diff --git a/cborg-0.2.3.0.cabal b/cborg-0.2.3.0.cabal deleted file mode 100644 index 2e7a1ea..0000000 --- a/cborg-0.2.3.0.cabal +++ /dev/null @@ -1,157 +0,0 @@ -name: cborg -version: 0.2.3.0 -x-revision: 1 -synopsis: Concise Binary Object Representation (CBOR) -license: BSD3 -license-file: LICENSE.txt -author: Duncan Coutts -maintainer: duncan@community.haskell.org, ben@smart-cactus.org -bug-reports: https://github.com/well-typed/cborg/issues -copyright: 2015-2019 Duncan Coutts, - 2015-2019 Well-Typed LLP, - 2015 IRIS Connect Ltd -category: Codec -build-type: Simple -cabal-version: >= 1.10 -tested-with: - GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1 - -extra-source-files: - ChangeLog.md - -description: - This package provides an efficient implementation of the Concise - Binary Object Representation (CBOR), as specified by - [RFC 7049](https://tools.ietf.org/html/rfc7049). - . - If you are looking for a library for serialisation of Haskell values, - have a look at the [serialise](/package/serialise) package, which is - built upon this library. - . - An implementation of the standard bijection between CBOR and JSON is - provided by the [cborg-json](/package/cborg-json) package. Also see - [cbor-tool](/package/cbor-tool) for a convenient command-line utility - for working with CBOR data. - . - This package was formerly known as @binary-serialise-cbor@. - -extra-source-files: - src/cbits/cbor.h - tests/test-vectors/appendix_a.json - tests/test-vectors/README.md - -source-repository head - type: git - location: https://github.com/well-typed/cborg.git - --------------------------------------------------------------------------------- --- Flags - -flag optimize-gmp - default: True - manual: False - description: Use optimized code paths for integer-gmp - --------------------------------------------------------------------------------- --- Library - -library - default-language: Haskell2010 - ghc-options: -Wall - include-dirs: src/cbits - hs-source-dirs: src - - exposed-modules: - Codec.CBOR - Codec.CBOR.Decoding - Codec.CBOR.Encoding - Codec.CBOR.FlatTerm - Codec.CBOR.Magic - Codec.CBOR.Pretty - Codec.CBOR.Read - Codec.CBOR.Write - Codec.CBOR.Term - Codec.CBOR.ByteArray - Codec.CBOR.ByteArray.Sliced - - other-modules: - Codec.CBOR.ByteArray.Internal - - other-extensions: - CPP, ForeignFunctionInterface, MagicHash, - UnboxedTuples, BangPatterns, DeriveDataTypeable, - RankNTypes - - build-depends: - array >= 0.4 && < 0.6, - base >= 4.7 && < 4.15, - bytestring >= 0.10.4 && < 0.11, - containers >= 0.5 && < 0.7, - deepseq >= 1.0 && < 1.5, - ghc-prim >= 0.3.1.0 && < 0.7, - half >= 0.2.2.3 && < 0.4, - primitive >= 0.5 && < 0.8, - text >= 1.1 && < 1.3 - - if flag(optimize-gmp) - cpp-options: -DFLAG_OPTIMIZE_GMP - build-depends: - integer-gmp - - if impl(ghc >= 8.0) - ghc-options: -Wcompat -Wnoncanonical-monad-instances - else - -- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8 - build-depends: fail == 4.9.*, semigroups >=0.18 && <0.20 - -test-suite tests - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Main.hs - - default-language: Haskell2010 - ghc-options: - -Wall -fno-warn-orphans - -threaded -rtsopts "-with-rtsopts=-N2" - - other-modules: - Tests.UnitTests - Tests.Properties - Tests.Boundary - Tests.ByteOffset - Tests.Canonical - Tests.PreEncoded - Tests.Regress - Tests.Regress.Issue160 - Tests.Regress.Issue162 - Tests.Regress.FlatTerm - Tests.Reference - Tests.Reference.Implementation - Tests.Reference.Generators - Tests.Reference.TestVectors - Tests.Term - Tests.UTF8 - Tests.Util - - build-depends: - array >= 0.4 && < 0.6, - base >= 4.7 && < 4.15, - base-orphans, - bytestring >= 0.10.4 && < 0.11, - text >= 1.1 && < 1.3, - cborg, - aeson >= 0.7 && < 1.6, - base64-bytestring >= 1.0 && < 1.2, - base16-bytestring >= 0.1 && < 0.2, - deepseq >= 1.0 && < 1.5, - half >= 0.2.2.3 && < 0.4, - QuickCheck >= 2.9 && < 2.15, - random, - scientific >= 0.3 && < 0.4, - tasty >= 0.11 && < 1.4, - tasty-hunit >= 0.9 && < 0.11, - tasty-quickcheck >= 0.8 && < 0.11, - vector >= 0.10 && < 0.13 - if !impl(ghc >= 8.0) - build-depends: - fail >= 4.9.0.0 && < 4.10 diff --git a/ghc-cborg.spec b/ghc-cborg.spec index 0cefab0..82f87d8 100644 --- a/ghc-cborg.spec +++ b/ghc-cborg.spec @@ -10,7 +10,7 @@ %endif
Name: ghc-%{pkg_name} -Version: 0.2.3.0 +Version: 0.2.4.0 Release: 1%{?dist} Summary: Concise Binary Object Representation (CBOR)
@@ -18,7 +18,6 @@ License: BSD Url: https://hackage.haskell.org/package/%%7Bpkg_name%7D # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%%7Bpkgver%7D/%%7Bpkgver%7D.tar.gz -Source1: https://hackage.haskell.org/package/%%7Bpkgver%7D/%%7Bpkg_name%7D.cabal#/%%7... # End cabal-rpm sources
# Begin cabal-rpm deps: @@ -101,7 +100,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal chmod a-x ChangeLog.md # End cabal-rpm setup
@@ -144,6 +142,9 @@ chmod a-x ChangeLog.md
%changelog +* Thu Jul 16 2020 Jens Petersen petersen@redhat.com - 0.2.4.0-1 +- update to 0.2.4.0 + * Sat Jun 27 2020 Jens Petersen petersen@redhat.com - 0.2.3.0-1 - update to 0.2.3.0
diff --git a/sources b/sources index 830591d..0486c28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cborg-0.2.3.0.tar.gz) = 43502fad8a880bee1a068e86336fbea283f8183befa3e838c0a708489efa70a99f33e3b04fd576a552a8f77f8cc56e5b912f686bc414cc947a07b65ec10a6cbf +SHA512 (cborg-0.2.4.0.tar.gz) = 2a1b5bb935595ff692aa345a0e3d156fbb2d30afc116cb3b267f299c42b9f97f513bf08468cd5162e0be5ebffa45e683fffd7085c8259c0129d618a0efbeecda
commit a42d979b1be894d733c260623baadaad6ed10075 Author: Jens Petersen petersen@redhat.com Date: Sat Jun 27 13:18:13 2020 +0800
update to 0.2.3.0
diff --git a/.gitignore b/.gitignore index c699b33..abdb4c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cborg-0.2.2.1.tar.gz +/cborg-0.2.3.0.tar.gz diff --git a/cborg-0.2.3.0.cabal b/cborg-0.2.3.0.cabal new file mode 100644 index 0000000..2e7a1ea --- /dev/null +++ b/cborg-0.2.3.0.cabal @@ -0,0 +1,157 @@ +name: cborg +version: 0.2.3.0 +x-revision: 1 +synopsis: Concise Binary Object Representation (CBOR) +license: BSD3 +license-file: LICENSE.txt +author: Duncan Coutts +maintainer: duncan@community.haskell.org, ben@smart-cactus.org +bug-reports: https://github.com/well-typed/cborg/issues +copyright: 2015-2019 Duncan Coutts, + 2015-2019 Well-Typed LLP, + 2015 IRIS Connect Ltd +category: Codec +build-type: Simple +cabal-version: >= 1.10 +tested-with: + GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1 + +extra-source-files: + ChangeLog.md + +description: + This package provides an efficient implementation of the Concise + Binary Object Representation (CBOR), as specified by + [RFC 7049](https://tools.ietf.org/html/rfc7049). + . + If you are looking for a library for serialisation of Haskell values, + have a look at the [serialise](/package/serialise) package, which is + built upon this library. + . + An implementation of the standard bijection between CBOR and JSON is + provided by the [cborg-json](/package/cborg-json) package. Also see + [cbor-tool](/package/cbor-tool) for a convenient command-line utility + for working with CBOR data. + . + This package was formerly known as @binary-serialise-cbor@. + +extra-source-files: + src/cbits/cbor.h + tests/test-vectors/appendix_a.json + tests/test-vectors/README.md + +source-repository head + type: git + location: https://github.com/well-typed/cborg.git + +-------------------------------------------------------------------------------- +-- Flags + +flag optimize-gmp + default: True + manual: False + description: Use optimized code paths for integer-gmp + +-------------------------------------------------------------------------------- +-- Library + +library + default-language: Haskell2010 + ghc-options: -Wall + include-dirs: src/cbits + hs-source-dirs: src + + exposed-modules: + Codec.CBOR + Codec.CBOR.Decoding + Codec.CBOR.Encoding + Codec.CBOR.FlatTerm + Codec.CBOR.Magic + Codec.CBOR.Pretty + Codec.CBOR.Read + Codec.CBOR.Write + Codec.CBOR.Term + Codec.CBOR.ByteArray + Codec.CBOR.ByteArray.Sliced + + other-modules: + Codec.CBOR.ByteArray.Internal + + other-extensions: + CPP, ForeignFunctionInterface, MagicHash, + UnboxedTuples, BangPatterns, DeriveDataTypeable, + RankNTypes + + build-depends: + array >= 0.4 && < 0.6, + base >= 4.7 && < 4.15, + bytestring >= 0.10.4 && < 0.11, + containers >= 0.5 && < 0.7, + deepseq >= 1.0 && < 1.5, + ghc-prim >= 0.3.1.0 && < 0.7, + half >= 0.2.2.3 && < 0.4, + primitive >= 0.5 && < 0.8, + text >= 1.1 && < 1.3 + + if flag(optimize-gmp) + cpp-options: -DFLAG_OPTIMIZE_GMP + build-depends: + integer-gmp + + if impl(ghc >= 8.0) + ghc-options: -Wcompat -Wnoncanonical-monad-instances + else + -- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8 + build-depends: fail == 4.9.*, semigroups >=0.18 && <0.20 + +test-suite tests + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Main.hs + + default-language: Haskell2010 + ghc-options: + -Wall -fno-warn-orphans + -threaded -rtsopts "-with-rtsopts=-N2" + + other-modules: + Tests.UnitTests + Tests.Properties + Tests.Boundary + Tests.ByteOffset + Tests.Canonical + Tests.PreEncoded + Tests.Regress + Tests.Regress.Issue160 + Tests.Regress.Issue162 + Tests.Regress.FlatTerm + Tests.Reference + Tests.Reference.Implementation + Tests.Reference.Generators + Tests.Reference.TestVectors + Tests.Term + Tests.UTF8 + Tests.Util + + build-depends: + array >= 0.4 && < 0.6, + base >= 4.7 && < 4.15, + base-orphans, + bytestring >= 0.10.4 && < 0.11, + text >= 1.1 && < 1.3, + cborg, + aeson >= 0.7 && < 1.6, + base64-bytestring >= 1.0 && < 1.2, + base16-bytestring >= 0.1 && < 0.2, + deepseq >= 1.0 && < 1.5, + half >= 0.2.2.3 && < 0.4, + QuickCheck >= 2.9 && < 2.15, + random, + scientific >= 0.3 && < 0.4, + tasty >= 0.11 && < 1.4, + tasty-hunit >= 0.9 && < 0.11, + tasty-quickcheck >= 0.8 && < 0.11, + vector >= 0.10 && < 0.13 + if !impl(ghc >= 8.0) + build-depends: + fail >= 4.9.0.0 && < 4.10 diff --git a/ghc-cborg.spec b/ghc-cborg.spec index 21f68bb..0cefab0 100644 --- a/ghc-cborg.spec +++ b/ghc-cborg.spec @@ -10,14 +10,15 @@ %endif
Name: ghc-%{pkg_name} -Version: 0.2.2.1 -Release: 2%{?dist} +Version: 0.2.3.0 +Release: 1%{?dist} Summary: Concise Binary Object Representation (CBOR)
License: BSD Url: https://hackage.haskell.org/package/%%7Bpkg_name%7D # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%%7Bpkgver%7D/%%7Bpkgver%7D.tar.gz +Source1: https://hackage.haskell.org/package/%%7Bpkgver%7D/%%7Bpkg_name%7D.cabal#/%%7... # End cabal-rpm sources
# Begin cabal-rpm deps: @@ -100,6 +101,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal chmod a-x ChangeLog.md # End cabal-rpm setup
@@ -142,6 +144,9 @@ chmod a-x ChangeLog.md
%changelog +* Sat Jun 27 2020 Jens Petersen petersen@redhat.com - 0.2.3.0-1 +- update to 0.2.3.0 + * Thu Jun 4 2020 Jens Petersen petersen@redhat.com - 0.2.2.1-2 - fix permissions of ChangeLog.md (#1795526)
diff --git a/sources b/sources index 4177a91..830591d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cborg-0.2.2.1.tar.gz) = afa2eead3255769f6bc487182482c79cb9d1f264484112035aa5942255f6a381801e3bbb73d5414951ba561c2d1a844e3a692c063fead41eef11e2b6ea1180ab +SHA512 (cborg-0.2.3.0.tar.gz) = 43502fad8a880bee1a068e86336fbea283f8183befa3e838c0a708489efa70a99f33e3b04fd576a552a8f77f8cc56e5b912f686bc414cc947a07b65ec10a6cbf
commit abb0e0063fe99485a144efb278b92039e15bea2d Author: Jens Petersen petersen@redhat.com Date: Sat Jun 27 13:17:46 2020 +0800
refresh to cabal-rpm-2.0.6
diff --git a/ghc-cborg.spec b/ghc-cborg.spec index 3843bad..21f68bb 100644 --- a/ghc-cborg.spec +++ b/ghc-cborg.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name cborg @@ -100,6 +100,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +chmod a-x ChangeLog.md # End cabal-rpm setup
@@ -112,7 +113,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x ChangeLog.md # End cabal-rpm install
@@ -120,16 +120,6 @@ chmod a-x ChangeLog.md %cabal_test
-%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE.txt
commit 480c9454d9e8b70211df0c7afc8240d2b34088d5 Author: Jens Petersen petersen@redhat.com Date: Fri Jun 26 14:05:31 2020 +0800
import #1795526
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c699b33 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cborg-0.2.2.1.tar.gz diff --git a/ghc-cborg.spec b/ghc-cborg.spec new file mode 100644 index 0000000..3843bad --- /dev/null +++ b/ghc-cborg.spec @@ -0,0 +1,163 @@ +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name cborg +%global pkgver %{pkg_name}-%{version} + +# https://github.com/well-typed/cborg/issues/207 +%ifnarch i686 armv7hl s390x +%bcond_without tests +%endif + +Name: ghc-%{pkg_name} +Version: 0.2.2.1 +Release: 2%{?dist} +Summary: Concise Binary Object Representation (CBOR) + +License: BSD +Url: https://hackage.haskell.org/package/%%7Bpkg_name%7D +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%%7Bpkgver%7D/%%7Bpkgver%7D.tar.gz +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-half-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-text-prof +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-base16-bytestring-devel +BuildRequires: ghc-base64-bytestring-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-scientific-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-vector-devel +%endif +# End cabal-rpm deps + +%description +This package provides an efficient implementation of the Concise Binary Object +Representation (CBOR), as specified by [RFC +7049](https://tools.ietf.org/html/rfc7049). + +If you are looking for a library for serialisation of Haskell values, have a +look at the [serialise](/package/serialise) package, which is built upon this +library. + +An implementation of the standard bijection between CBOR and JSON is provided +by the [cborg-json](/package/cborg-json) package. Also see +[cbor-tool](/package/cbor-tool) for a convenient command-line utility for +working with CBOR data. + +This package was formerly known as 'binary-serialise-cbor'. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +chmod a-x ChangeLog.md +# End cabal-rpm install + + +%check +%cabal_test + + +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE.txt +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE.txt +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Thu Jun 4 2020 Jens Petersen petersen@redhat.com - 0.2.2.1-2 +- fix permissions of ChangeLog.md (#1795526) + +* Tue Mar 03 2020 Jens Petersen petersen@redhat.com - 0.2.2.1-1 +- update to 0.2.2.1 +- testsuite fails on 32bit archs and s390x + +* Tue Jan 28 2020 Fedora Haskell SIG haskell@lists.fedoraproject.org - 0.2.1.0-1 +- spec file generated by cabal-rpm-2.0.0 diff --git a/sources b/sources new file mode 100644 index 0000000..4177a91 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cborg-0.2.2.1.tar.gz) = afa2eead3255769f6bc487182482c79cb9d1f264484112035aa5942255f6a381801e3bbb73d5414951ba561c2d1a844e3a692c063fead41eef11e2b6ea1180ab
arch-excludes@lists.fedoraproject.org