-
Notifications
You must be signed in to change notification settings - Fork 0
/
pkgtreediff.spec
112 lines (92 loc) · 2.91 KB
/
pkgtreediff.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# generated by cabal-rpm-2.0.5 --standalone
# https://fedoraproject.org/wiki/Packaging:Haskell
%global ghc_without_dynamic 1
%global ghc_without_shared 1
#%%undefine with_ghc_prof
#%%undefine with_haddock
#%%global without_prof 1
#%%global without_haddock 1
%global debug_package %{nil}
Name: pkgtreediff
Version: 0.4
Release: 1%{?dist}
Summary: Package tree diff tool
License: GPLv3+
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
%if %{defined fedora}
BuildRequires: ghc-Glob-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-directory-devel
BuildRequires: ghc-simple-cmd-devel
BuildRequires: ghc-simple-cmd-args-devel
BuildRequires: ghc-text-devel
# End cabal-rpm deps
# simple-cmd-args
BuildRequires: ghc-optparse-applicative-devel
# http-directory -> html-conduit
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-xml-conduit-devel
BuildRequires: ghc-xml-types-devel
%else
BuildRequires: ghc-libraries
BuildRequires: zlib-devel
%endif
BuildRequires: cabal-install > 1.18
%description
Tool for comparing RPM packages and versions in OS dist trees or instances.
%prep
# Begin cabal-rpm setup:
%setup -q
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%global cabal cabal
%cabal update
%cabal sandbox init
%cabal install --only-dependencies
%ghc_bin_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_bin_install
# End cabal-rpm install
%files
# Begin cabal-rpm files:
%license LICENSE
%doc CHANGELOG.md README.md TODO
%{_bindir}/%{name}
# End cabal-rpm files
%changelog
* Fri Mar 13 2020 Jens Petersen <petersen@redhat.com> - 0.4-1
- command output and file lists
- rpm version ordering
- http --timeout option
- https://hackage.haskell.org/package/pkgtreediff-0.4/changelog
* Fri Jun 7 2019 fedora-toolbox <petersen@redhat.com> - 0.3-1
- add --pattern for href filename globbing
* Thu Jun 6 2019 fedora-toolbox <petersen@redhat.com> - 0.2.1-1
- improve recursion and add --ignore-arch
* Thu Jun 6 2019 fedora-toolbox <petersen@redhat.com> - 0.2-1
- add summary and --ignore-arch
* Tue Jun 4 2019 Jens Petersen <petersen@redhat.com> - 0.1-1
- update to 0.1
- added --ignore-version option
* Fri May 31 2019 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0-1
- spec file generated by cabal-rpm-1.0.0