Compare commits

..

29 Commits
f27 ... rawhide

Author SHA1 Message Date
Jens Petersen
412d2e18eb Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:34:28 +08:00
Jens Petersen
72637a39d8 refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:45:01 +08:00
Fedora Release Engineering
6e654f8a2e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 05:33:40 +00:00
Jens Petersen
d3be95cc7d bump release 2022-06-18 01:09:16 +08:00
Fedora Release Engineering
5a44c3c919 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 05:19:00 +00:00
Jens Petersen
dce6fae3a5 bump release 2021-08-06 12:17:03 +08:00
Jens Petersen
40f940ca6d revise .cabal 2021-08-05 00:05:19 +08:00
Jens Petersen
1c99ac1945 refresh to cabal-rpm-2.0.9 2021-08-05 00:05:19 +08:00
Fedora Release Engineering
afe300f8d4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 01:02:28 +00:00
Fedora Release Engineering
b7a2717de2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 07:32:55 +00:00
Fedora Release Engineering
2473251316 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 01:17:39 +00:00
Fedora Release Engineering
2dcbc9b464 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 19:28:20 +00:00
Jens Petersen
9083dfe9f4 bump release 2020-07-17 18:27:49 +08:00
Jens Petersen
129f45ad77 add revision 2020-07-17 16:38:01 +08:00
Jens Petersen
f434a5eb47 refresh to cabal-rpm-2.0.6 2020-06-19 16:56:14 +08:00
Jens Petersen
6c0daa3a76 refresh to cabal-rpm-2.0.5 2020-06-04 19:27:36 +08:00
Jens Petersen
31891f0b2b refresh to cabal-rpm-2.0.2 2020-02-08 22:51:21 +08:00
Fedora Release Engineering
de29253130 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 21:08:41 +00:00
Jens Petersen
c3f9c346d0 BR prof for lib and static for executable 2019-08-05 18:30:55 +08:00
Jens Petersen
d9b115114d cabal-rpm-1.0.0: add doc and prof subpkgs 2019-08-02 05:56:43 +05:30
Fedora Release Engineering
7160c2b980 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:48:50 +00:00
Jens Petersen
f65b9a3b59 refresh to cabal-rpm-0.13 2019-02-17 22:46:32 +08:00
Fedora Release Engineering
f86362e9a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:50:16 +00:00
Fedora Release Engineering
27213c8db9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 02:00:54 +00:00
Elliott Sales de Andrade
a8d3cd139c update to 1.0.2 2018-07-09 05:14:39 -04:00
Fedora Release Engineering
7427b16235 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:57:33 +00:00
Jens Petersen
4a38ff9f14 drop ldconfig scriptlets 2018-02-04 01:03:07 +09:00
Jens Petersen
bd6bb84294 bump release 2018-01-26 11:48:47 +01:00
Jens Petersen
7068925f2a refresh to cabal-rpm-0.12.1 2018-01-24 14:11:41 +01:00
5 changed files with 151 additions and 18 deletions

1
.gitignore vendored
View File

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

View File

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

View File

@ -1 +1 @@
SHA512 (optional-args-1.0.1.tar.gz) = 447aff69cdc9c87ee0cb2cccfe09084d4c9a8db7993b2f80bd4316eaf31ac167e40783933949df1cbf37b5975a798c9dd9fed0235537ed316ac5af9267721f2b SHA512 (optional-args-1.0.2.tar.gz) = eb9bd475f61f1caa1d632bef9b87c6ac28319b2eca5cf103558841032b994afd9cc8bdd29e87a49c136481fae4ec1d0105203294fa84d04bd843ab310bc4f63c