Hello community, here is the log from the commit of package ghc-mtl for openSUSE:Factory checked in at 2013-08-01 15:30:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-mtl (Old) and /work/SRC/openSUSE:Factory/.ghc-mtl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-mtl" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-mtl/ghc-mtl.changes 2013-01-07 15:13:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-mtl.new/ghc-mtl.changes 2013-08-01 15:30:21.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 6 11:08:02 UTC 2013 - peter.trommler@ohm-hochschule.de + +- more transparent packaging (fewer macros) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-mtl.spec ++++++ --- /var/tmp/diff_new_pack.oRMuOy/_old 2013-08-01 15:30:21.000000000 +0200 +++ /var/tmp/diff_new_pack.oRMuOy/_new 2013-08-01 15:30:21.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for ghc-mtl +# spec file for package ghc-mtl # -# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name mtl %global common_summary Haskell Monad classes, using functional dependencies @@ -23,47 +24,56 @@ Name: ghc-mtl Version: 2.1.2 -Release: 1 +Release: 0 Summary: %{common_summary} - -Group: System/Libraries License: BSD-3-Clause +Group: System/Libraries + BuildRoot: %{_tmppath}/%{name}-%{version}-build # BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} +Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ix86} x86_64 %{ghc_arches} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel # END cabal2spec %description %{common_description} +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Languages/Other +Requires: ghc-compiler +Requires(post): ghc-compiler +Requires(postun): ghc-compiler +Requires: %{name} = %{version}-%{release} + +%description devel +%{common_description} +This package contains the development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%post devel +%ghc_pkg_recache -# devel subpackage -%ghc_devel_package - -%ghc_devel_description - - -%ghc_devel_post_postun - +%postun devel +%ghc_pkg_recache -%ghc_files LICENSE +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org