osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-asn1-parse revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-asn1-parse?expand=0&rev=37
This commit is contained in:
Ondřej Súkup 2020-12-18 12:51:37 +00:00 committed by Git OBS Bridge
parent bc8930e0cd
commit 66fc48a25a
2 changed files with 11 additions and 0 deletions

View File

@ -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
-------------------------------------------------------------------
Tue Aug 18 10:43:59 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -29,6 +29,12 @@ BuildRequires: ghc-asn1-encoding-devel
BuildRequires: ghc-asn1-types-devel
BuildRequires: ghc-bytestring-devel
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
Simple monadic parser for ASN1 stream types, when ASN1 pattern matching is not