update to latest packaging
This commit is contained in:
parent
68e471d955
commit
9881e10bff
@ -1,18 +1,19 @@
|
|||||||
# generated by cabal-rpm-0.11
|
# generated by cabal-rpm-0.11.2
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name doctemplates
|
%global pkg_name doctemplates
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.0.2
|
Version: 0.1.0.2
|
||||||
Release: 1%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Pandoc-style document templates
|
Summary: Pandoc-style document templates
|
||||||
|
|
||||||
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
|
||||||
@ -51,7 +52,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkgver}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -61,7 +62,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
rm %{buildroot}%{_datadir}/%{pkgver}/README.md
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -78,7 +79,6 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_datadir}/%{pkg_name}-%{version}
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
@ -86,5 +86,8 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 14 2017 Jens Petersen <petersen@redhat.com> - 0.1.0.2-4
|
||||||
|
- refresh to cabal-rpm-0.11.2
|
||||||
|
|
||||||
* Thu Jan 19 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.0.2-1
|
* Thu Jan 19 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.0.2-1
|
||||||
- spec file generated by cabal-rpm-0.11
|
- spec file generated by cabal-rpm-0.11
|
||||||
|
Loading…
Reference in New Issue
Block a user