update to 1.3.0.0
This commit is contained in:
parent
a734a11330
commit
8ea2c7d612
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ HUnit-1.2.2.1.tar.gz
|
||||
/HUnit-1.2.2.3.tar.gz
|
||||
/HUnit-1.2.4.2.tar.gz
|
||||
/HUnit-1.2.5.2.tar.gz
|
||||
/HUnit-1.3.0.0.tar.gz
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform
|
||||
Version: 1.2.5.2
|
||||
Release: 36%{?dist}
|
||||
Version: 1.3.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Unit testing framework for Haskell
|
||||
|
||||
License: BSD
|
||||
@ -51,18 +51,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%ghc_lib_install
|
||||
|
||||
# remove unwanted files
|
||||
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,doc/Guide.html,examples/Example.hs,prologue.txt}
|
||||
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README.md,doc/Guide.html,examples/Example.hs,prologue.txt}
|
||||
|
||||
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
mv HUnit.cabal HUnit.cabal.orig
|
||||
mv HUnit.cabal.tests HUnit.cabal
|
||||
%cabal configure --enable-tests
|
||||
%cabal build
|
||||
%cabal test
|
||||
mv HUnit.cabal HUnit.cabal.tests
|
||||
mv HUnit.cabal.orig HUnit.cabal
|
||||
%endif
|
||||
|
||||
|
||||
@ -75,14 +71,17 @@ mv HUnit.cabal.orig HUnit.cabal
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
%license LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README doc/Guide.html examples/Example.hs
|
||||
%doc README.md doc/Guide.html examples/Example.hs
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 14 2016 Jens Petersen <petersen@redhat.com> - 1.3.0.0-1
|
||||
- update to 1.3.0.0
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5.2-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user