2021-07-08 03:49:41 +00:00
|
|
|
# generated by cabal-rpm-2.0.10
|
2020-06-19 08:58:05 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
2020-03-31 11:39:47 +00:00
|
|
|
|
2021-07-08 03:49:41 +00:00
|
|
|
%global pkg_name pkgtreediff
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
2022-10-27 12:43:57 +00:00
|
|
|
# one test needs network
|
|
|
|
%bcond_with tests
|
|
|
|
|
2021-07-08 03:49:41 +00:00
|
|
|
Name: %{pkg_name}
|
2022-10-27 12:43:57 +00:00
|
|
|
Version: 0.6.0
|
|
|
|
Release: 1%{?dist}
|
2021-11-03 13:50:32 +00:00
|
|
|
Summary: RPM package tree diff tool
|
2020-03-31 11:39:47 +00:00
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
|
|
|
# Begin cabal-rpm sources:
|
2021-07-08 03:49:41 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2020-03-31 11:39:47 +00:00
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
2021-07-08 03:49:41 +00:00
|
|
|
BuildRequires: ghc-Glob-prof
|
|
|
|
BuildRequires: ghc-async-prof
|
|
|
|
BuildRequires: ghc-base-prof
|
2022-10-27 12:43:57 +00:00
|
|
|
BuildRequires: ghc-bytestring-prof
|
2021-07-08 03:49:41 +00:00
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
BuildRequires: ghc-extra-prof
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
BuildRequires: ghc-http-client-prof
|
|
|
|
BuildRequires: ghc-http-client-tls-prof
|
|
|
|
BuildRequires: ghc-http-directory-prof
|
2022-10-27 12:43:57 +00:00
|
|
|
BuildRequires: ghc-http-types-prof
|
2021-07-08 03:49:41 +00:00
|
|
|
BuildRequires: ghc-koji-prof
|
2021-11-03 13:50:32 +00:00
|
|
|
BuildRequires: ghc-rpm-nvr-prof
|
2021-07-08 03:49:41 +00:00
|
|
|
BuildRequires: ghc-simple-cmd-prof
|
|
|
|
BuildRequires: ghc-simple-cmd-args-prof
|
|
|
|
BuildRequires: ghc-text-prof
|
2020-03-31 11:39:47 +00:00
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
2022-10-27 12:43:57 +00:00
|
|
|
Tool for comparing RPM packages and version-releases in OS dist trees or
|
|
|
|
instances.
|
2020-03-31 11:39:47 +00:00
|
|
|
|
|
|
|
|
2021-07-08 03:49:41 +00:00
|
|
|
%package -n ghc-%{name}
|
|
|
|
Summary: Haskell %{name} library
|
|
|
|
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}-devel
|
|
|
|
Summary: Haskell %{name} library development files
|
|
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
|
|
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
%endif
|
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-devel
|
|
|
|
This package provides the Haskell %{name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with haddock}
|
|
|
|
%package -n ghc-%{name}-doc
|
|
|
|
Summary: Haskell %{name} library documentation
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: ghc-filesystem
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-doc
|
|
|
|
This package provides the Haskell %{name} library documentation.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%package -n ghc-%{name}-prof
|
|
|
|
Summary: Haskell %{name} profiling library
|
|
|
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-prof
|
|
|
|
This package provides the Haskell %{name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2020-03-31 11:39:47 +00:00
|
|
|
%prep
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
%setup -q
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Begin cabal-rpm build:
|
2021-07-08 03:49:41 +00:00
|
|
|
%ghc_lib_build
|
2020-03-31 11:39:47 +00:00
|
|
|
# End cabal-rpm build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
# Begin cabal-rpm install
|
2021-07-08 03:49:41 +00:00
|
|
|
%ghc_lib_install
|
2021-06-11 15:16:32 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
2020-03-31 11:39:47 +00:00
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
2022-10-27 12:43:57 +00:00
|
|
|
%check
|
|
|
|
%if %{with tests}
|
|
|
|
%cabal_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2020-03-31 11:39:47 +00:00
|
|
|
%files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md README.md TODO
|
|
|
|
%{_bindir}/%{name}
|
2021-06-11 15:16:32 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
2020-03-31 11:39:47 +00:00
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
2021-07-08 03:49:41 +00:00
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license LICENSE
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
%doc CHANGELOG.md README.md TODO
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with haddock}
|
|
|
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
|
|
|
%license LICENSE
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2020-03-31 11:39:47 +00:00
|
|
|
%changelog
|
2022-10-27 12:43:57 +00:00
|
|
|
* Thu Oct 27 2022 Jens Petersen <petersen@redhat.com> - 0.6.0-1
|
|
|
|
- significant processing performance improvement
|
|
|
|
- allow multiple mode options; separate summary & rst options
|
|
|
|
- add support for package list files via http
|
|
|
|
- fix local filesystem recursion
|
|
|
|
|
2022-07-22 14:52:25 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-17 17:36:02 +00:00
|
|
|
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.5.0-5
|
|
|
|
- rebuild
|
|
|
|
|
2022-05-12 04:57:30 +00:00
|
|
|
* Thu May 12 2022 Jens Petersen <petersen@redhat.com> - 0.5.0-4
|
|
|
|
- rebuild
|
|
|
|
|
2022-01-21 08:57:33 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-08 10:12:24 +00:00
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
2021-11-03 13:50:32 +00:00
|
|
|
* Wed Nov 03 2021 Jens Petersen <petersen@redhat.com> - 0.5.0-1
|
|
|
|
- update to 0.5.0
|
|
|
|
- https://hackage.haskell.org/package/pkgtreediff-0.5.0/changelog
|
|
|
|
|
2021-09-14 17:11:39 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.4.1-2
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-08 03:49:41 +00:00
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.4.1-1
|
|
|
|
- update to 0.4.1
|
|
|
|
|
2021-07-27 07:39:52 +00:00
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-5
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-27 08:09:45 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 22:34:27 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-17 11:27:02 +00:00
|
|
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.4-2
|
|
|
|
- refresh to cabal-rpm-2.0.6
|
|
|
|
|
2020-03-31 11:39:47 +00:00
|
|
|
* Fri Mar 13 2020 Jens Petersen <petersen@redhat.com> - 0.4-1
|
|
|
|
- update to 0.4
|
|
|
|
|
|
|
|
* Thu Jan 23 2020 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3-1
|
|
|
|
- spec file generated by cabal-rpm-2.0.0
|