Compare commits
29 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
412d2e18eb | ||
|
72637a39d8 | ||
|
6e654f8a2e | ||
|
d3be95cc7d | ||
|
5a44c3c919 | ||
|
dce6fae3a5 | ||
|
40f940ca6d | ||
|
1c99ac1945 | ||
|
afe300f8d4 | ||
|
b7a2717de2 | ||
|
2473251316 | ||
|
2dcbc9b464 | ||
|
9083dfe9f4 | ||
|
129f45ad77 | ||
|
f434a5eb47 | ||
|
6c0daa3a76 | ||
|
31891f0b2b | ||
|
de29253130 | ||
|
c3f9c346d0 | ||
|
d9b115114d | ||
|
7160c2b980 | ||
|
f65b9a3b59 | ||
|
f86362e9a0 | ||
|
27213c8db9 | ||
|
a8d3cd139c | ||
|
7427b16235 | ||
|
4a38ff9f14 | ||
|
bd6bb84294 | ||
|
7068925f2a |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/optional-args-1.0.1.tar.gz
|
/optional-args-1.0.1.tar.gz
|
||||||
|
/optional-args-1.0.2.tar.gz
|
||||||
|
60
changelog
Normal file
60
changelog
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.2-17
|
||||||
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 1.0.2-15
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 1.0.2-13
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 1.0.2-8
|
||||||
|
- refresh to cabal-rpm-2.0.6
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 1.0.2-6
|
||||||
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.2-4
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.2-1
|
||||||
|
- update to 1.0.2
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.0.1-2
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.1-1
|
||||||
|
- spec file generated by cabal-rpm-0.11.2
|
@ -1,20 +1,29 @@
|
|||||||
# generated by cabal-rpm-0.11.2
|
# generated by cabal-rpm-2.1.0
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name optional-args
|
%global pkg_name optional-args
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.0.1
|
Version: 1.0.2
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: Optional function arguments
|
Summary: Optional function arguments
|
||||||
|
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
|
%endif
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides a type for specifying `Optional` function arguments
|
This library provides a type for specifying `Optional` function arguments
|
||||||
@ -25,42 +34,76 @@ Read the tutorial in "Data.Optional" to learn more.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{defined ghc_version}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
%endif
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%package doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
|
%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
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
%post devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files doc -f %{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof -f %{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.1-1
|
%autochangelog
|
||||||
- spec file generated by cabal-rpm-0.11.2
|
|
||||||
|
29
optional-args-1.0.2.cabal
Normal file
29
optional-args-1.0.2.cabal
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Name: optional-args
|
||||||
|
Version: 1.0.2
|
||||||
|
x-revision: 2
|
||||||
|
Cabal-Version: >=1.10
|
||||||
|
Build-Type: Simple
|
||||||
|
License: BSD3
|
||||||
|
License-File: LICENSE
|
||||||
|
Copyright: 2015 Gabriella Gonzalez
|
||||||
|
Author: Gabriella Gonzalez
|
||||||
|
Maintainer: GenuineGabriella@gmail.com
|
||||||
|
Bug-Reports: https://github.com/Gabriella439/Haskell-Optional-Args-Library/issues
|
||||||
|
Synopsis: Optional function arguments
|
||||||
|
Description: This library provides a type for specifying `Optional` function
|
||||||
|
arguments
|
||||||
|
.
|
||||||
|
Read the tutorial in "Data.Optional" to learn more
|
||||||
|
Category: Data
|
||||||
|
Source-Repository head
|
||||||
|
Type: git
|
||||||
|
Location: https://github.com/Gabriella439/Haskell-Optional-Args-Library
|
||||||
|
|
||||||
|
Library
|
||||||
|
HS-Source-Dirs: src
|
||||||
|
Build-Depends: base >= 4.5 && < 5
|
||||||
|
if !impl(ghc >= 8.0)
|
||||||
|
Build-Depends: semigroups >= 0.16 && < 0.20
|
||||||
|
Exposed-Modules: Data.Optional
|
||||||
|
GHC-Options: -O2 -Wall
|
||||||
|
Default-Language: Haskell2010
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (optional-args-1.0.1.tar.gz) = 447aff69cdc9c87ee0cb2cccfe09084d4c9a8db7993b2f80bd4316eaf31ac167e40783933949df1cbf37b5975a798c9dd9fed0235537ed316ac5af9267721f2b
|
SHA512 (optional-args-1.0.2.tar.gz) = eb9bd475f61f1caa1d632bef9b87c6ac28319b2eca5cf103558841032b994afd9cc8bdd29e87a49c136481fae4ec1d0105203294fa84d04bd843ab310bc4f63c
|
||||||
|
Loading…
Reference in New Issue
Block a user