From a2e489cc70e742db099a5fbdd05550a0876d1a38 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 5 Oct 2017 12:28:10 +0000 Subject: [PATCH 01/30] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b0637c3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-uuid-types + +The ghc-uuid-types package \ No newline at end of file From 8fe55e282125fb77acf18a0ccbb1186d3cf9cac3 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 5 Oct 2017 22:28:59 -0400 Subject: [PATCH 02/30] Initial import (#1498692). --- .gitignore | 1 + README.md | 3 -- ghc-uuid-types.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-uuid-types.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28c6245 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/uuid-types-1.0.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index b0637c3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-uuid-types - -The ghc-uuid-types package \ No newline at end of file diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec new file mode 100644 index 0000000..76d6136 --- /dev/null +++ b/ghc-uuid-types.spec @@ -0,0 +1,88 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name uuid-types +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 1.0.3 +Release: 1%{?dist} +Summary: Type definitions for Universally Unique Identifiers + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-binary-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif +# End cabal-rpm deps + +%description +This library contains type definitions for Universally Unique Identifiers and +basic conversion functions. See https://en.wikipedia.org/wiki/UUID for the +general idea. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGES + + +%changelog +* Wed Oct 4 2017 Fedora Haskell SIG - 1.0.3-1 +- spec file generated by cabal-rpm-0.11.2 diff --git a/sources b/sources new file mode 100644 index 0000000..21c5d7a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (uuid-types-1.0.3.tar.gz) = 039bccea9ee22388a50e3e233c95afdd3a59f01aa5f552dcd8e8c1ded8f9da210933c58a4d9cc0913c768b587c24ee27fa0eed15e531846ea841b666f513df9e From 08157989f115e417ebd1f3339dd2cd867eb99ae8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 5 Oct 2017 22:49:51 -0400 Subject: [PATCH 03/30] Bump release to be newer than existing bundled version. --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 76d6136..e9a8363 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 1%{?dist} +Release: 4%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -84,5 +84,8 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Oct 5 2017 Elliott Sales de Andrade - 1.0.3-4 +- Bump release to be newer than existing bundled version. + * Wed Oct 4 2017 Fedora Haskell SIG - 1.0.3-1 - spec file generated by cabal-rpm-0.11.2 From 901ff146cf300daca484546b03c5c593bcb91b9c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:12:16 +0100 Subject: [PATCH 04/30] refresh to cabal-rpm-0.12.1 --- ghc-uuid-types.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index e9a8363..d985e4f 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.2 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -42,9 +42,12 @@ general idea. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -67,6 +70,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From bfe0b998989c6642b8a5c5f849c9921ccf5c3070 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 12:03:19 +0100 Subject: [PATCH 05/30] bump release --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index d985e4f..66f70f6 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -93,6 +93,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 1.0.3-5 +- rebuild + * Thu Oct 5 2017 Elliott Sales de Andrade - 1.0.3-4 - Bump release to be newer than existing bundled version. From e915eb0798778d3ac21e84af15185ee861d696f9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:42 +0900 Subject: [PATCH 06/30] drop ldconfig scriptlets --- ghc-uuid-types.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 66f70f6..3e1b043 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -70,12 +70,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 20b856089e8a527e8c13f9f46196f863057d9ab3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 12:18:28 +0000 Subject: [PATCH 07/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 3e1b043..2897d2a 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -87,6 +87,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 1.0.3-5 - rebuild From 9b1d6c987b666ef341a50702c900ba1d0eb8e3b3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:14:21 +0000 Subject: [PATCH 08/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 2897d2a..0cfc26c 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -87,6 +87,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From f408545507bd5ee71d792eac99eaf2375702ea06 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 00:53:28 +0900 Subject: [PATCH 09/30] revise .cabal --- ghc-uuid-types.spec | 9 +++-- uuid-types-1.0.3.cabal | 78 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 uuid-types-1.0.3.cabal diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 0cfc26c..bdeda73 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -8,12 +8,13 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -56,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -87,6 +89,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 1.0.3-8 +- revise .cabal + * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal new file mode 100644 index 0000000..1bd6d21 --- /dev/null +++ b/uuid-types-1.0.3.cabal @@ -0,0 +1,78 @@ +Name: uuid-types +Version: 1.0.3 +x-revision: 1 +Copyright: (c) 2008-2014 Antoine Latter +Author: Antoine Latter +Maintainer: aslatter@gmail.com +License: BSD3 +License-file: LICENSE + +Category: Data +Build-Type: Simple +Cabal-Version: >= 1.8 + +Description: + This library contains type definitions for Universally Unique Identifiers + and basic conversion functions. + + See for the general idea. + +Synopsis: Type definitions for Universally Unique Identifiers + +Homepage: https://github.com/aslatter/uuid +Bug-Reports: https://github.com/aslatter/uuid/issues + +Extra-Source-Files: + CHANGES + + +Library + Build-Depends: base >=3 && < 5, + binary >= 0.4 && < 0.9, + bytestring >= 0.9 && < 0.11, + deepseq >= 1.3 && < 1.5, + hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3), + random >= 1.0.1 && < 1.2, + text >= 1 && < 1.3 + + Exposed-Modules: + Data.UUID.Types + -- Exposed for companion projects; *NOT* part of the official API: + Data.UUID.Types.Internal.Builder + Data.UUID.Types.Internal + + Extensions: DeriveDataTypeable + Ghc-Options: -Wall + +source-repository head + type: git + location: https://github.com/aslatter/uuid.git + +Test-Suite testuuid + Type: exitcode-stdio-1.0 + Main-is: TestUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable + Ghc-Options: -Wall -fno-warn-orphans + Build-Depends: base >= 3 && < 5, + uuid-types, + bytestring >= 0.9 && < 0.11, + HUnit >=1.2 && < 1.4, + QuickCheck >=2.4 && < 2.10, + tasty >= 0.10 && < 0.12, + tasty-hunit == 0.9.*, + tasty-quickcheck == 0.8.* + +benchmark benchmark + Type: exitcode-stdio-1.0 + Main-is: BenchUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable, CPP + Ghc-Options: -Wall -fno-warn-orphans + Build-depends: base == 4.*, + uuid-types, + bytestring >= 0.9 && < 0.11, + containers >= 0.4 && < 0.6, + criterion >= 0.4 && < 1.2, + deepseq >= 1.1 && < 1.5, + random >= 1.0.1 && < 1.2 From 4059b66d49e5ac160a3ffbeeafdfcf3e063ef572 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 22:11:46 +0000 Subject: [PATCH 10/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index bdeda73..73ede45 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -89,6 +89,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 1.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 1.0.3-8 - revise .cabal From f6739b3a7f4e4a7df9e84580d3e24355232174d6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:47:43 +0800 Subject: [PATCH 11/30] refresh to cabal-rpm-0.13 --- ghc-uuid-types.spec | 21 ++++-- uuid-types-1.0.3.cabal | 156 ++++++++++++++++++++--------------------- 2 files changed, 95 insertions(+), 82 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 73ede45..fb593a8 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -8,17 +8,19 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-deepseq-devel @@ -56,16 +58,22 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -p %{SOURCE1} %{pkg_name}.cabal +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -81,7 +89,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -89,6 +99,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 1.0.3-10 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal index 1bd6d21..3fecbb6 100644 --- a/uuid-types-1.0.3.cabal +++ b/uuid-types-1.0.3.cabal @@ -1,78 +1,78 @@ -Name: uuid-types -Version: 1.0.3 -x-revision: 1 -Copyright: (c) 2008-2014 Antoine Latter -Author: Antoine Latter -Maintainer: aslatter@gmail.com -License: BSD3 -License-file: LICENSE - -Category: Data -Build-Type: Simple -Cabal-Version: >= 1.8 - -Description: - This library contains type definitions for Universally Unique Identifiers - and basic conversion functions. - - See for the general idea. - -Synopsis: Type definitions for Universally Unique Identifiers - -Homepage: https://github.com/aslatter/uuid -Bug-Reports: https://github.com/aslatter/uuid/issues - -Extra-Source-Files: - CHANGES - - -Library - Build-Depends: base >=3 && < 5, - binary >= 0.4 && < 0.9, - bytestring >= 0.9 && < 0.11, - deepseq >= 1.3 && < 1.5, - hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3), - random >= 1.0.1 && < 1.2, - text >= 1 && < 1.3 - - Exposed-Modules: - Data.UUID.Types - -- Exposed for companion projects; *NOT* part of the official API: - Data.UUID.Types.Internal.Builder - Data.UUID.Types.Internal - - Extensions: DeriveDataTypeable - Ghc-Options: -Wall - -source-repository head - type: git - location: https://github.com/aslatter/uuid.git - -Test-Suite testuuid - Type: exitcode-stdio-1.0 - Main-is: TestUUID.hs - Hs-source-dirs: tests - Extensions: DeriveDataTypeable - Ghc-Options: -Wall -fno-warn-orphans - Build-Depends: base >= 3 && < 5, - uuid-types, - bytestring >= 0.9 && < 0.11, - HUnit >=1.2 && < 1.4, - QuickCheck >=2.4 && < 2.10, - tasty >= 0.10 && < 0.12, - tasty-hunit == 0.9.*, - tasty-quickcheck == 0.8.* - -benchmark benchmark - Type: exitcode-stdio-1.0 - Main-is: BenchUUID.hs - Hs-source-dirs: tests - Extensions: DeriveDataTypeable, CPP - Ghc-Options: -Wall -fno-warn-orphans - Build-depends: base == 4.*, - uuid-types, - bytestring >= 0.9 && < 0.11, - containers >= 0.4 && < 0.6, - criterion >= 0.4 && < 1.2, - deepseq >= 1.1 && < 1.5, - random >= 1.0.1 && < 1.2 +Name: uuid-types +Version: 1.0.3 +x-revision: 1 +Copyright: (c) 2008-2014 Antoine Latter +Author: Antoine Latter +Maintainer: aslatter@gmail.com +License: BSD3 +License-file: LICENSE + +Category: Data +Build-Type: Simple +Cabal-Version: >= 1.8 + +Description: + This library contains type definitions for Universally Unique Identifiers + and basic conversion functions. + + See for the general idea. + +Synopsis: Type definitions for Universally Unique Identifiers + +Homepage: https://github.com/aslatter/uuid +Bug-Reports: https://github.com/aslatter/uuid/issues + +Extra-Source-Files: + CHANGES + + +Library + Build-Depends: base >=3 && < 5, + binary >= 0.4 && < 0.9, + bytestring >= 0.9 && < 0.11, + deepseq >= 1.3 && < 1.5, + hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3), + random >= 1.0.1 && < 1.2, + text >= 1 && < 1.3 + + Exposed-Modules: + Data.UUID.Types + -- Exposed for companion projects; *NOT* part of the official API: + Data.UUID.Types.Internal.Builder + Data.UUID.Types.Internal + + Extensions: DeriveDataTypeable + Ghc-Options: -Wall + +source-repository head + type: git + location: https://github.com/aslatter/uuid.git + +Test-Suite testuuid + Type: exitcode-stdio-1.0 + Main-is: TestUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable + Ghc-Options: -Wall -fno-warn-orphans + Build-Depends: base >= 3 && < 5, + uuid-types, + bytestring >= 0.9 && < 0.11, + HUnit >=1.2 && < 1.4, + QuickCheck >=2.4 && < 2.10, + tasty >= 0.10 && < 0.12, + tasty-hunit == 0.9.*, + tasty-quickcheck == 0.8.* + +benchmark benchmark + Type: exitcode-stdio-1.0 + Main-is: BenchUUID.hs + Hs-source-dirs: tests + Extensions: DeriveDataTypeable, CPP + Ghc-Options: -Wall -fno-warn-orphans + Build-depends: base == 4.*, + uuid-types, + bytestring >= 0.9 && < 0.11, + containers >= 0.4 && < 0.6, + criterion >= 0.4 && < 1.2, + deepseq >= 1.1 && < 1.5, + random >= 1.0.1 && < 1.2 From c9769c6d80051431aeb9118f6a497869e5c48310 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 03:11:19 +0000 Subject: [PATCH 12/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index fb593a8..449a4f4 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -99,6 +99,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 1.0.3-10 - refresh to cabal-rpm-0.13 From 16efb9875ebc1c4853c0315584ad512d89e38dc7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:26:44 +0000 Subject: [PATCH 13/30] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-uuid-types.spec | 48 +++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 449a4f4..ba888a6 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -20,6 +20,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel @@ -45,11 +51,8 @@ general idea. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} @@ -57,6 +60,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%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} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -80,14 +102,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -98,6 +112,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %doc CHANGES +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a89a540d4a4ce84efa38ef0d54e9b5b015065b26 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 29 Jul 2019 15:34:58 +0000 Subject: [PATCH 14/30] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-uuid-types.spec | 5 ++++- uuid-types-1.0.3.cabal | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index ba888a6..a06d3bc 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -123,6 +123,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Fri Aug 02 2019 Jens Petersen - 1.0.3-12 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal index 3fecbb6..8a9a099 100644 --- a/uuid-types-1.0.3.cabal +++ b/uuid-types-1.0.3.cabal @@ -1,6 +1,6 @@ Name: uuid-types Version: 1.0.3 -x-revision: 1 +x-revision: 2 Copyright: (c) 2008-2014 Antoine Latter Author: Antoine Latter Maintainer: aslatter@gmail.com @@ -31,7 +31,7 @@ Library binary >= 0.4 && < 0.9, bytestring >= 0.9 && < 0.11, deepseq >= 1.3 && < 1.5, - hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3), + hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.4), random >= 1.0.1 && < 1.2, text >= 1 && < 1.3 From 4756251818cb16bfc1962fe722f376ed9e82152e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:43 +0800 Subject: [PATCH 15/30] BR prof for lib and static for executable --- ghc-uuid-types.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index a06d3bc..c305044 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -20,19 +20,14 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-binary-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-hashable-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-text-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-text-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -51,6 +46,7 @@ general idea. %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 From 93e47a092b09e055038b1900b23f3a7aca0c0809 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:38:16 +0000 Subject: [PATCH 16/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index c305044..a4082dc 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -119,6 +119,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1.0.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 02 2019 Jens Petersen - 1.0.3-12 - add doc and prof subpackages (cabal-rpm-1.0.0) From 2d45b1c920553fe21befa77fa31ee360192ba71e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:52:41 +0800 Subject: [PATCH 17/30] refresh to cabal-rpm-2.0.2 --- ghc-uuid-types.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index a4082dc..9d2e22d 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name uuid-types @@ -59,6 +59,7 @@ 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. @@ -69,6 +70,7 @@ This package provides the Haskell %{pkg_name} library documentation. %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. @@ -98,6 +100,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %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 @@ -110,6 +122,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 118debace3c9c130c1853a6a99b7cd461196976a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:28:54 +0800 Subject: [PATCH 18/30] refresh to cabal-rpm-2.0.5 --- ghc-uuid-types.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 9d2e22d..d61fbd8 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name uuid-types %global pkgver %{pkg_name}-%{version} From 618d1c60c7dabbf2a6c4a9ef0077ac26a3a2328c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:57:32 +0800 Subject: [PATCH 19/30] refresh to cabal-rpm-2.0.6 --- ghc-uuid-types.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index d61fbd8..64293f2 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.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 uuid-types @@ -100,16 +100,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %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 From d5ea39e533f0816f16406500149e1b2d5d9f3f3d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 16:38:02 +0800 Subject: [PATCH 20/30] add revision --- uuid-types-1.0.3.cabal | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal index 8a9a099..fb41162 100644 --- a/uuid-types-1.0.3.cabal +++ b/uuid-types-1.0.3.cabal @@ -1,6 +1,6 @@ Name: uuid-types Version: 1.0.3 -x-revision: 2 +x-revision: 3 Copyright: (c) 2008-2014 Antoine Latter Author: Antoine Latter Maintainer: aslatter@gmail.com @@ -32,7 +32,7 @@ Library bytestring >= 0.9 && < 0.11, deepseq >= 1.3 && < 1.5, hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.4), - random >= 1.0.1 && < 1.2, + random >= 1.0.1 && < 1.3, text >= 1 && < 1.3 Exposed-Modules: @@ -57,11 +57,11 @@ Test-Suite testuuid Build-Depends: base >= 3 && < 5, uuid-types, bytestring >= 0.9 && < 0.11, - HUnit >=1.2 && < 1.4, - QuickCheck >=2.4 && < 2.10, - tasty >= 0.10 && < 0.12, - tasty-hunit == 0.9.*, - tasty-quickcheck == 0.8.* + HUnit >=1.2 && < 1.7, + QuickCheck >=2.4 && < 2.15, + tasty >= 0.10 && < 1.4, + tasty-hunit == 0.9.* || ==0.10.*, + tasty-quickcheck == 0.8.* || ==0.10.* benchmark benchmark Type: exitcode-stdio-1.0 @@ -72,7 +72,7 @@ benchmark benchmark Build-depends: base == 4.*, uuid-types, bytestring >= 0.9 && < 0.11, - containers >= 0.4 && < 0.6, - criterion >= 0.4 && < 1.2, + containers >= 0.4 && < 0.7, + criterion >= 0.4 && < 1.6, deepseq >= 1.1 && < 1.5, - random >= 1.0.1 && < 1.2 + random >= 1.0.1 && < 1.3 From 56565b4768371b4024703baa6985d1b92fbc7dcb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:46:52 +0800 Subject: [PATCH 21/30] bump release --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 64293f2..ea14585 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -122,6 +122,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Fri Jul 17 2020 Jens Petersen - 1.0.3-14 +- refresh to cabal-rpm-2.0.6 + * Tue Jan 28 2020 Fedora Release Engineering - 1.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From ce0a7ccd140e060e9ce4d28a9b35b0cb1508a08c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:50:10 +0000 Subject: [PATCH 22/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index ea14585..a6479fc 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -122,6 +122,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.0.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 1.0.3-14 - refresh to cabal-rpm-2.0.6 From 188cd1521e515a7b9946bb85e4d722d4d3c1c95e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:40:05 +0000 Subject: [PATCH 23/30] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index a6479fc..a2082a0 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -122,6 +122,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.3-16 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 1.0.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From db165d04a4e321cf4e976aaa34d8df0e6d75fd60 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:54:15 +0000 Subject: [PATCH 24/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index a2082a0..3e6f88e 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -122,6 +122,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 1.0.3-16 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 071be840f03ea58b2eb9001b098f7cfb04329f87 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:26:19 +0000 Subject: [PATCH 25/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 3e6f88e..3f2c9b5 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.3 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -122,6 +122,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.0.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 248d7977fa35c2dfefc092688a6bdb35c7f246db Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:14 +0800 Subject: [PATCH 26/30] refresh to cabal-rpm-2.0.9 --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 3f2c9b5..d5fac0b 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name uuid-types @@ -60,6 +60,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -97,7 +98,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From de8b0e1cdc506a77f8594c040a10ad94e4345bdd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:38:16 +0800 Subject: [PATCH 27/30] update to 1.0.5 --- .gitignore | 1 + ghc-uuid-types.spec | 27 +++++---------- sources | 2 +- uuid-types-1.0.3.cabal | 78 ------------------------------------------ 4 files changed, 10 insertions(+), 98 deletions(-) delete mode 100644 uuid-types-1.0.3.cabal diff --git a/.gitignore b/.gitignore index 28c6245..f51ccb4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /uuid-types-1.0.3.tar.gz +/uuid-types-1.0.5.tar.gz diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index d5fac0b..6e685c2 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -4,18 +4,17 @@ %global pkg_name uuid-types %global pkgver %{pkg_name}-%{version} -%bcond_with tests +# testsuite missing deps: ghc-byteorder Name: ghc-%{pkg_name} -Version: 1.0.3 -Release: 18%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -27,14 +26,8 @@ BuildRequires: ghc-bytestring-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-hashable-prof BuildRequires: ghc-random-prof +BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-tasty-devel -BuildRequires: ghc-tasty-hunit-devel -BuildRequires: ghc-tasty-quickcheck-devel -%endif # End cabal-rpm deps %description @@ -81,7 +74,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 # End cabal-rpm setup @@ -97,12 +89,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install -%check -%if %{with tests} -%cabal_test -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -110,7 +96,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files -%doc CHANGES +%doc ChangeLog.md %if %{with haddock} @@ -125,6 +111,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 1.0.5-1 +- update to 1.0.5 + * Thu Jul 22 2021 Fedora Release Engineering - 1.0.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 21c5d7a..a2051da 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uuid-types-1.0.3.tar.gz) = 039bccea9ee22388a50e3e233c95afdd3a59f01aa5f552dcd8e8c1ded8f9da210933c58a4d9cc0913c768b587c24ee27fa0eed15e531846ea841b666f513df9e +SHA512 (uuid-types-1.0.5.tar.gz) = 0e0821a426120ab63d991a6cd39ded65a89472751ada4d5fb5e4f12177d8e797ede3b6b74d6817ce260d6334adeb42de31b0073389f58a27a06ec8ea4a574ef6 diff --git a/uuid-types-1.0.3.cabal b/uuid-types-1.0.3.cabal deleted file mode 100644 index fb41162..0000000 --- a/uuid-types-1.0.3.cabal +++ /dev/null @@ -1,78 +0,0 @@ -Name: uuid-types -Version: 1.0.3 -x-revision: 3 -Copyright: (c) 2008-2014 Antoine Latter -Author: Antoine Latter -Maintainer: aslatter@gmail.com -License: BSD3 -License-file: LICENSE - -Category: Data -Build-Type: Simple -Cabal-Version: >= 1.8 - -Description: - This library contains type definitions for Universally Unique Identifiers - and basic conversion functions. - - See for the general idea. - -Synopsis: Type definitions for Universally Unique Identifiers - -Homepage: https://github.com/aslatter/uuid -Bug-Reports: https://github.com/aslatter/uuid/issues - -Extra-Source-Files: - CHANGES - - -Library - Build-Depends: base >=3 && < 5, - binary >= 0.4 && < 0.9, - bytestring >= 0.9 && < 0.11, - deepseq >= 1.3 && < 1.5, - hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.4), - random >= 1.0.1 && < 1.3, - text >= 1 && < 1.3 - - Exposed-Modules: - Data.UUID.Types - -- Exposed for companion projects; *NOT* part of the official API: - Data.UUID.Types.Internal.Builder - Data.UUID.Types.Internal - - Extensions: DeriveDataTypeable - Ghc-Options: -Wall - -source-repository head - type: git - location: https://github.com/aslatter/uuid.git - -Test-Suite testuuid - Type: exitcode-stdio-1.0 - Main-is: TestUUID.hs - Hs-source-dirs: tests - Extensions: DeriveDataTypeable - Ghc-Options: -Wall -fno-warn-orphans - Build-Depends: base >= 3 && < 5, - uuid-types, - bytestring >= 0.9 && < 0.11, - HUnit >=1.2 && < 1.7, - QuickCheck >=2.4 && < 2.15, - tasty >= 0.10 && < 1.4, - tasty-hunit == 0.9.* || ==0.10.*, - tasty-quickcheck == 0.8.* || ==0.10.* - -benchmark benchmark - Type: exitcode-stdio-1.0 - Main-is: BenchUUID.hs - Hs-source-dirs: tests - Extensions: DeriveDataTypeable, CPP - Ghc-Options: -Wall -fno-warn-orphans - Build-depends: base == 4.*, - uuid-types, - bytestring >= 0.9 && < 0.11, - containers >= 0.4 && < 0.7, - criterion >= 0.4 && < 1.6, - deepseq >= 1.1 && < 1.5, - random >= 1.0.1 && < 1.3 From 39fb30a35d1e24f3106c292fcdc05a70cd802c30 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:45:30 +0000 Subject: [PATCH 28/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-uuid-types.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index 6e685c2..aa1af4c 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Type definitions for Universally Unique Identifiers License: BSD @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 1.0.5-1 - update to 1.0.5 From ba3c1400529d6117e5792f6dbf7ba58377f63b11 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 Jun 2022 00:21:41 +0800 Subject: [PATCH 29/30] revise .cabal --- ghc-uuid-types.spec | 2 + uuid-types-1.0.5.cabal | 97 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 uuid-types-1.0.5.cabal diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec index aa1af4c..f530f6e 100644 --- a/ghc-uuid-types.spec +++ b/ghc-uuid-types.spec @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -74,6 +75,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 # End cabal-rpm setup diff --git a/uuid-types-1.0.5.cabal b/uuid-types-1.0.5.cabal new file mode 100644 index 0000000..21f2ee5 --- /dev/null +++ b/uuid-types-1.0.5.cabal @@ -0,0 +1,97 @@ +cabal-version: 1.12 +name: uuid-types +version: 1.0.5 +x-revision: 2 +copyright: + (c) 2017-2018 Herbert Valerio Riedel + (c) 2008-2014 Antoine Latter + +author: Antoine Latter +maintainer: Oleg Grenrus +license: BSD3 +license-file: LICENSE +category: Data +build-type: Simple +tested-with: + GHC ==7.4.2 + || ==7.6.3 + || ==7.8.4 + || ==7.10.3 + || ==8.0.2 + || ==8.2.2 + || ==8.4.4 + || ==8.6.4 + || ==8.8.4 + || ==8.10.7 + || ==9.0.1 + || ==9.2.1 + +synopsis: Type definitions for Universally Unique Identifiers +description: + This library contains type definitions for + + (as specified in + ) + and basic conversion functions. + . + See also the + providing a high-level API for managing the different UUID versions. + +homepage: https://github.com/haskell-hvr/uuid +bug-reports: https://github.com/haskell-hvr/uuid/issues +extra-source-files: ChangeLog.md + +source-repository head + type: git + location: https://github.com/haskell-hvr/uuid.git + subdir: uuid-types + +library + build-depends: + base >=4.5 && <5 + , binary >=0.5.1.0 && <0.9 + , bytestring >=0.9.2.1 && <0.12 + , deepseq >=1.3.0.0 && <1.5 + , hashable >=1.2.7.0 && <1.5 + , random >=1.1 && <1.3 + , template-haskell >=2.7.0.0 && <2.19 + , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 + + exposed-modules: Data.UUID.Types + + -- Exposed for companion projects; *NOT* part of the official API: + exposed-modules: + Data.UUID.Types.Internal + Data.UUID.Types.Internal.Builder + + default-language: Haskell2010 + other-extensions: + DeriveDataTypeable + TypeFamilies + + ghc-options: -Wall + hs-source-dirs: src + +test-suite testuuid + type: exitcode-stdio-1.0 + main-is: TestUUID.hs + hs-source-dirs: tests + default-language: Haskell2010 + other-extensions: ViewPatterns + ghc-options: -Wall + + -- inherited constraints + build-depends: + base + , binary + , bytestring + , uuid-types + , template-haskell + + -- deps w/o inherited constraints + build-depends: + ghc-byteorder >=4.11 && <4.12 + , QuickCheck >=2.14.2 && <2.15 + , tasty >=1.4.0.1 && <1.5 + , tasty-hunit >=0.10 && <0.11 + , tasty-quickcheck >=0.10 && <0.11 From d13dc2c9e782e79e2352f43e2c12a44eba4a0637 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:08:34 +0300 Subject: [PATCH 30/30] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index a2051da..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (uuid-types-1.0.5.tar.gz) = 0e0821a426120ab63d991a6cd39ded65a89472751ada4d5fb5e4f12177d8e797ede3b6b74d6817ce260d6334adeb42de31b0073389f58a27a06ec8ea4a574ef6