-
Notifications
You must be signed in to change notification settings - Fork 1
/
rpmbuild-order.cabal
116 lines (109 loc) · 4.28 KB
/
rpmbuild-order.cabal
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
113
114
115
116
Name: rpmbuild-order
Version: 0.4.12
License: BSD3
License-File: LICENSE
Author: Jens Petersen <petersen@redhat.com>,
Henning Thielemann <haskell@henning-thielemann.de>
Maintainer: Jens Petersen <petersen@redhat.com>
Copyright: 2010-2018 Henning Thielemann,
2018-2024 Jens Petersen <petersen@redhat.com>
Category: Distribution
Homepage: https://github.com/juhp/rpmbuild-order
Bug-reports: https://github.com/juhp/rpmbuild-order/issues
Synopsis: Sort RPM packages in dependency order
Description:
The rpmbuild-order tool sorts source RPM packages by build dependencies,
so that they can be built in a correct order. It does this by reading RPM
package spec files and then topologically sorts them according to their
build dependencies. The code evolved from cabal-sort by Henning Thielemann.
It can also order the dependencies or reverse depends of one or more packages
among the packages checked out in neighboring directories (which can be
useful to see what packages are affected when a low-level package changes,
or which packages are dependents of one of more packages).
It also has support for setting RPM options for bcond etc,
which can affect dependencies. It can also output dependency graphs.
Since version 0.4, a library API is provided.
Tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8,
GHC == 9.4.8, GHC == 9.6.6, GHC == 9.8.2
Cabal-Version: 1.18
Build-Type: Simple
Extra-doc-files: README.md TODO ChangeLog.md
Extra-source-files: test/pkgs/A/A.spec
test/pkgs/B/B.spec
test/pkgs/C/C.spec
test/pkgs/D1.0/D1.0.spec
test/pkgs/cmake/A/A.spec
test/pkgs/cmake/B/B.spec
test/pkgs/dynbr/A/A.spec
test/pkgs/pkgconf/A/A.spec
test/pkgs/pkgconf/C/C.spec
source-repository head
type: git
location: https://github.com/juhp/rpmbuild-order
Executable rpmbuild-order
Build-Depends: base < 5,
extra,
fgl,
rpmbuild-order,
simple-cmd-args
Main-Is: src/Main.hs
Other-modules: Paths_rpmbuild_order
default-language: Haskell2010
GHC-Options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
Library
Exposed-Modules: Distribution.RPM.Build.Graph
Distribution.RPM.Build.Order
Distribution.RPM.Build.ProvReqs
Build-Depends: base < 5,
case-insensitive,
directory >= 1.2.5,
extra >= 1.6.4,
filepath,
fgl >= 5.5.4,
graphviz,
regex-tdfa,
simple-cmd >= 0.2.3
HS-Source-Dirs: src
default-language: Haskell2010
GHC-Options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
test-suite test
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >= 4 && < 5
, directory
, extra
, hspec >= 1.3
, rpmbuild-order
, simple-cmd
, unix
build-tool-depends: rpmbuild-order:rpmbuild-order