- Update to 0.7 using cabal-rpm template
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=6
This commit is contained in:
parent
0baaf8611e
commit
eaf90315de
4
_service
4
_service
@ -1,3 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files"/>
|
||||
</services>
|
||||
<service name='download_files' mode='localonly'/>
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76d44c8fd5eff2022519639795543b4c3c31a88a784e35d1f9997e5f064fac51
|
||||
size 3872
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 06:45:39 UTC 2013 - sbahling@suse.com
|
||||
|
||||
- Update to 0.7 using cabal-rpm template
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 8 17:05:42 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc
|
||||
# spec file for package ghc-tagged
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,40 +16,35 @@
|
||||
#
|
||||
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# cabal2spec-0.25
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name tagged
|
||||
|
||||
%global common_summary Haskell 98 phantom types library
|
||||
|
||||
%global common_description Haskell 98 phantom types to avoid unsafely passing dummy arguments.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.3.1
|
||||
Name: ghc-tagged
|
||||
Version: 0.7
|
||||
Release: 0
|
||||
Summary: %{common_summary}
|
||||
Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Group: System/Libraries
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# BEGIN cabal2spec
|
||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
||||
BuildRequires: %{!?without_hscolour:hscolour}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-data-default-devel
|
||||
BuildRequires: ghc-rpm-macros-extra
|
||||
BuildRequires: ghc-semigroups-devel
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
This package provides Haskell 98 phantom types to avoid unsafely passing dummy arguments.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
@ -61,13 +55,18 @@ BuildRequires: ghc-semigroups-devel
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%ghc_devel_description
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%ghc_devel_post_postun
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files devel -f %{name}-devel.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.markdown
|
||||
|
||||
%changelog
|
||||
|
3
tagged-0.7.tar.gz
Normal file
3
tagged-0.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f51b0ff097dadfa0508d4fff889f96e274743876c33f13c08335aca80d85e8bc
|
||||
size 5457
|
Loading…
Reference in New Issue
Block a user