From f19e6c4054ffc8fe2e34421a42e2a900259790642141cbbfca05cd4d0aa6b1b5 Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Mon, 28 Oct 2013 21:40:09 +0000 Subject: [PATCH] Remove redundant Requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-resourcet?expand=0&rev=2 --- ghc-resourcet.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-resourcet.spec b/ghc-resourcet.spec index 0cb2c78..710319c 100644 --- a/ghc-resourcet.spec +++ b/ghc-resourcet.spec @@ -15,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name resourcet Name: ghc-resourcet Version: 0.4.8 -Release: 1 +Release: 0 Summary: Deterministic allocation and freeing of scarce resources +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 @@ -50,10 +51,8 @@ been split off. For more information, please see 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. @@ -62,30 +61,23 @@ 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,-) - %changelog