Peter Trommler 2013-08-01 12:20:40 +00:00 committed by Git OBS Bridge
parent c7de016388
commit 21b0af19e1
2 changed files with 11 additions and 8 deletions

View File

@ -10,6 +10,11 @@ Mon May 6 10:53:30 UTC 2013 - peter.trommler@ohm-hochschule.de
- more transparent packaging (fewer macros) - more transparent packaging (fewer macros)
-------------------------------------------------------------------
Wed Jan 2 15:37:31 UTC 2013 - peter.trommler@ohm-hochschule.de
- expand macro in name tag to help source validator
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 17 14:16:42 UTC 2012 - peter.trommler@ohm-hochschule.de Sat Nov 17 14:16:42 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,6 +1,7 @@
# #
# spec file for package ghc-async # spec file for package ghc-async
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Peter Trommler, peter.trommler@ohm-hochschule.de # Copyright (c) 2012 Peter Trommler, peter.trommler@ohm-hochschule.de
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -15,6 +16,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name async %global pkg_name async
%global common_summary Haskell library to run IO operations asynchronously %global common_summary Haskell library to run IO operations asynchronously
@ -23,14 +25,14 @@
Name: ghc-async Name: ghc-async
Version: 2.0.1.4 Version: 2.0.1.4
Release: 1 Release: 0
Summary: %{common_summary} Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec # BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name} Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches} %{ix86} x86_64 ExclusiveArch: %{ghc_arches} %{ix86} x86_64
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
@ -53,15 +55,12 @@ Requires: %{name} = %{version}-%{release}
%{common_description} %{common_description}
This package contains the development files. This package contains the development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
@ -78,5 +77,4 @@ This package contains the development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%changelog %changelog