From a591b972eed5e32b9339c210ff2b7196a7ab23816e7c74119772038a8fc9f9af Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Mon, 28 Oct 2013 21:37:49 +0000 Subject: [PATCH] Remove redundant Requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lifted-base?expand=0&rev=2 --- ghc-lifted-base.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-lifted-base.spec b/ghc-lifted-base.spec index e6fdb4d..6491e98 100644 --- a/ghc-lifted-base.spec +++ b/ghc-lifted-base.spec @@ -15,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name lifted-base Name: ghc-lifted-base Version: 0.2.1.0 -Release: 1 +Release: 0 Summary: lifted IO operations from the base library +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 @@ -51,10 +52,8 @@ Kaseorg The tests can be performed using 'cabal test' 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. @@ -63,31 +62,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 - %changelog