cblrpm refresh
This commit is contained in:
parent
44144aefdf
commit
2aceaad981
@ -2,14 +2,16 @@
|
||||
|
||||
%global pkg_name yaml
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.8.8.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Support for parsing and rendering YAML documents
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
@ -27,13 +29,18 @@ BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
BuildRequires: ghc-vector-devel
|
||||
BuildRequires: pkgconfig(yaml-0.1)
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Provides support for parsing and emitting Yaml documents.
|
||||
|
||||
The package is broken down into two modules. "Data.Yaml" provides a high-level
|
||||
interface based around the JSON datatypes provided by the aeson package.
|
||||
interface based around the JSON datatypes provided by the 'aeson' package.
|
||||
"Text.Libyaml" provides a lower-level, streaming interface. For most users,
|
||||
"Data.Yaml" is recommended.
|
||||
|
||||
@ -68,7 +75,13 @@ rm -r libyaml
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%ghc_fix_dynamic_rpath yaml2json
|
||||
%ghc_fix_dynamic_rpath json2yaml yaml2json
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
@ -84,11 +97,14 @@ rm -r libyaml
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%{_bindir}/yaml2json
|
||||
%{_bindir}/json2yaml
|
||||
%{_bindir}/yaml2json
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.8.8.2-5
|
||||
- cblrpm refresh
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user