cblrpm-0.8.11
This commit is contained in:
parent
a970e2a3c2
commit
9072ac828c
|
@ -2,9 +2,14 @@
|
|||
|
||||
%global pkg_name xss-sanitize
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
# no useful debuginfo for Haskell packages without C sources
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.5.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Sanitize untrusted HTML to prevent XSS attacks
|
||||
|
||||
License: BSD
|
||||
|
@ -21,6 +26,10 @@ BuildRequires: ghc-network-devel
|
|||
BuildRequires: ghc-tagsoup-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-utf8-string-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -52,6 +61,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
@ -65,9 +80,13 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 13 2014 Jens Petersen <petersen@redhat.com> - 0.3.5.2-3
|
||||
- cblrpm-0.8.11
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue