Accepting request 432779 from devel:languages:haskell:lts:7

version / revision update

OBS-URL: https://build.opensuse.org/request/show/432779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-old-time?expand=0&rev=5
This commit is contained in:
Peter Simons 2016-10-03 08:23:53 +00:00 committed by Git OBS Bridge
parent 22715fbfdf
commit 9cba7b3e86
3 changed files with 62 additions and 73 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Sun Jul 10 17:16:04 UTC 2016 - psimons@suse.com
- Update to version 1.1.0.3 revision 1 with cabal2obs.
-------------------------------------------------------------------
Thu May 14 07:35:57 UTC 2015 - mimi.vx@gmail.com

View File

@ -22,16 +22,14 @@ Version: 1.1.0.3
Release: 0
Summary: Time library
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
This package provides the old time library.
@ -54,15 +52,12 @@ This package provides the Haskell %{pkg_name} library development files.
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
@ -75,6 +70,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc changelog.md
%changelog