Skip to content

Commit

Permalink
Make new Debianizations depend on dh sequencer; bump compat to 13.
Browse files Browse the repository at this point in the history
It would be better to use the modern combined prerequisite

    "debian-compat (= 13)"

 and drop the separate d/compat file.
  • Loading branch information
lechner committed Apr 14, 2022
1 parent 7ad4bfb commit 46a8409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/Debianize.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main = performDebianization customize

-- Add dependencies to the binary debs.
(debInfo . binaryDebDescription (BinPkgName "cabal-debian") . relations . depends) %=
(++ (rels "apt-file, debian-policy, debhelper, haskell-devscripts (>= 0.8.19)"))
(++ (rels "apt-file, debian-policy, dh-sequence-haskell, haskell-devscripts (>= 0.16.8)"))
(debInfo . binaryDebDescription (BinPkgName "libghc-cabal-debian-dev") . relations . depends) %=
(++ (rels "debian-policy"))

Expand Down
2 changes: 1 addition & 1 deletion src/Debian/Policy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ debianPackageVersion name =
-- | With the current state of CDBS, anything above 10 breaks, so
-- for now we force this to 10.
getDebhelperCompatLevel :: IO (Maybe Int)
getDebhelperCompatLevel = return (Just 10)
getDebhelperCompatLevel = return (Just 13)

data StandardsVersion = StandardsVersion Int Int Int (Maybe Int) deriving (Eq, Ord, Show, Data, Typeable)

Expand Down

0 comments on commit 46a8409

Please sign in to comment.