Update to latest cabal-rpm template.
This commit is contained in:
parent
b9e28dadac
commit
006e1ce877
@ -1,16 +1,17 @@
|
|||||||
# generated by cabal-rpm-0.11
|
# generated by cabal-rpm-0.11.1
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name attoparsec-iso8601
|
%global pkg_name attoparsec-iso8601
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.0.0.0
|
Version: 1.0.0.0
|
||||||
Release: 1.git.412.29fc315%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Parsing of ISO 8601 dates, originally from aeson
|
Summary: Parsing of ISO 8601 dates, originally from aeson
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -39,7 +40,7 @@ files.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkgver}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user