osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-network-info revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-info?expand=0&rev=7
This commit is contained in:
parent
745222d86b
commit
c7ea1fb1f2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- force i686 arch on i586
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 31 09:34:36 UTC 2020 - psimons@suse.com
|
Mon Aug 31 09:34:36 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -27,6 +27,12 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg
|
|||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
# GHC dont support i586
|
||||||
|
%ifarch %{ix86}
|
||||||
|
ExclusiveArch: i586 i686
|
||||||
|
ExclusiveArch: i686
|
||||||
|
%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides simple read-only access to the local computer's
|
This library provides simple read-only access to the local computer's
|
||||||
@ -48,7 +54,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
This package provides the Haskell %{pkg_name} library development files.
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user