Compare commits

..

No commits in common. "rawhide" and "f26" have entirely different histories.
rawhide ... f26

5 changed files with 85 additions and 189 deletions

6
.gitignore vendored
View File

@ -1,7 +1 @@
/dns-2.0.10.tar.gz /dns-2.0.10.tar.gz
/dns-3.0.0.tar.gz
/dns-3.0.1.tar.gz
/dns-3.0.2.tar.gz
/dns-3.0.4.tar.gz
/dns-4.0.1.tar.gz
/dns-4.1.0.tar.gz

View File

@ -0,0 +1,35 @@
From abf985164098a5428338e8267476052aa34f9b96 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sat, 22 Jul 2017 00:21:32 -0400
Subject: [PATCH] Remove bytestring-builder dependency.
It was removed in b00335f8b0a6e1c287f87450190fda266968ae58.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dns.cabal | 2 --
1 file changed, 2 deletions(-)
diff --git a/dns.cabal b/dns.cabal
index 4b5073a..f265037 100644
--- a/dns.cabal
+++ b/dns.cabal
@@ -30,7 +30,6 @@ Library
, attoparsec
, binary
, bytestring
- , bytestring-builder
, conduit >= 1.1
, conduit-extra >= 1.1
, containers
@@ -45,7 +44,6 @@ Library
, attoparsec
, binary
, bytestring
- , bytestring-builder
, conduit >= 1.1
, conduit-extra >= 1.1
, containers
--
2.9.4

View File

@ -1,94 +0,0 @@
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 4.1.0-1
- https://hackage.haskell.org/package/dns-4.1.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 4.0.1-9
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 4.0.1-7
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 4.0.1-3
- refresh to cabal-rpm-2.0.6
* Sun May 10 2020 Jens Petersen <petersen@redhat.com> - 4.0.1-2
- rebuild to remove internal library from deps (#1832446)
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 4.0.1-1
- update to 4.0.1
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 3.0.4-7
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 3.0.4-5
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 3.0.4-3
- rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.4-1
- update to 3.0.4
* Fri Apr 06 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.2-1
- update to 3.0.2
* Fri Mar 02 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.1-1
- Update to latest version.
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 3.0.0-2
- rebuild
* Thu Nov 30 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.0-1
- Update to latest version.
* Mon Aug 28 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.10-2
- Add comment about patch.
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.10-1
- Update to latest version.
- Remove bytestring-builder dependency.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.2-6
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.2-5
- Bump for Fedora 26.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-4
- Bump to rebuild against new dependencies
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-3
- Update release to be newer than previous builds
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.0.2-1
- spec file generated by cabal-rpm-0.10.0

View File

@ -1,63 +1,39 @@
# generated by cabal-rpm-2.1.0 # generated by cabal-rpm-0.10.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name dns %global pkg_name dns
%global pkgver %{pkg_name}-%{version}
# doctests fail
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 4.1.0 Version: 2.0.10
Release: %autorelease Release: 2%{?dist}
Summary: DNS library in Haskell Summary: DNS library in Haskell
License: BSD-3-Clause License: BSD
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/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # https://github.com/kazu-yamamoto/dns/pull/61
# End cabal-rpm sources Patch0001: 0001-Remove-bytestring-builder-dependency.patch
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-devel # Begin cabal-rpm deps:
BuildRequires: ghc-async-devel
BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-auto-update-devel BuildRequires: ghc-binary-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel
BuildRequires: ghc-cryptonite-devel
BuildRequires: ghc-hourglass-devel
BuildRequires: ghc-iproute-devel BuildRequires: ghc-iproute-devel
BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel BuildRequires: ghc-network-devel
BuildRequires: ghc-psqueues-devel BuildRequires: ghc-random-devel
%if %{with ghc_prof} BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-array-prof BuildRequires: ghc-safe-devel
BuildRequires: ghc-async-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-auto-update-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base16-bytestring-prof
BuildRequires: ghc-base64-bytestring-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-cryptonite-prof
BuildRequires: ghc-hourglass-prof
BuildRequires: ghc-iproute-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-psqueues-prof
%endif
%if %{with tests} %if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-doctest-devel BuildRequires: ghc-doctest-devel
BuildRequires: ghc-hspec-devel BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-discover-devel
BuildRequires: ghc-word8-devel BuildRequires: ghc-word8-devel
%endif %endif
# End cabal-rpm deps # End cabal-rpm deps
@ -69,82 +45,67 @@ A thread-safe DNS library for both clients and servers written in pure Haskell.
%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}
%endif Requires(post): ghc-compiler = %{ghc_version}
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 %{pkg_name}-%{version}
%setup -q -n %{pkgver} %patch0001 -p1
# 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
%check %check
%if %{with tests}
%cabal_test %cabal_test
%endif
%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
%doc Changelog.md %doc Changelog
%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
%autochangelog * Mon Aug 28 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.10-2
- Add comment about patch.
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.10-1
- Update to latest version.
- Remove bytestring-builder dependency.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.2-6
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.0.2-5
- Bump for Fedora 26.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-4
- Bump to rebuild against new dependencies
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-3
- Update release to be newer than previous builds
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.0.2-1
- spec file generated by cabal-rpm-0.10.0

View File

@ -1 +1 @@
SHA512 (dns-4.1.0.tar.gz) = 23fae51ef330b2e8dac96ed00e6ea80b1553cb2355f2824033471690b34935960201d15aefe55dc2632389171e0c0047d0eaed41463861c7896c1e7971852c2b SHA512 (dns-2.0.10.tar.gz) = 55b16728c8c2a039a99af0ba6dc5f3365e734b9ef4111d0cf57069d8dd6c982358b37ea39b66c4aee32e61023e0f8077373333580e9ff6979650d1e93dd75a5a