- Remove redundant Requires for ghc-compiler

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=2
This commit is contained in:
Scott Bahling 2013-10-28 19:51:54 +00:00 committed by Git OBS Bridge
parent 43e62b15d7
commit 2757e7ac45
2 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 28 19:50:03 UTC 2013 - sbahling@suse.com
- Remove redundant Requires for ghc-compiler
-------------------------------------------------------------------
Mon Oct 7 13:35:59 UTC 2013 - sbahling@suse.com

View File

@ -15,15 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name aeson
Name: ghc-aeson
Version: 0.6.2.0
Release: 1
Release: 0
Summary: Fast JSON parsing and encoding
License: BSD-3-Clause
Group: System/Libraries
License: BSD-3-Clause
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -65,10 +66,8 @@ https://github.com/bos/aeson/blob/master/release-notes.markdown
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
@ -77,31 +76,24 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.markdown examples
%changelog