Hello community, here is the log from the commit of package ghc-parsec for openSUSE:Factory checked in at 2013-08-01 15:32:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-parsec (Old) and /work/SRC/openSUSE:Factory/.ghc-parsec.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-parsec" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-parsec/ghc-parsec.changes 2013-01-08 16:33:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-parsec.new/ghc-parsec.changes 2013-08-01 15:32:01.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 6 15:31:31 UTC 2013 - peter.trommler@ohm-hochschule.de + +- more transparent packaging (fewer macros) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-parsec.spec ++++++ --- /var/tmp/diff_new_pack.386UYC/_old 2013-08-01 15:32:01.000000000 +0200 +++ /var/tmp/diff_new_pack.386UYC/_new 2013-08-01 15:32:01.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-parsec # - +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de # # All modifications and additions to the file contributed by third parties @@ -16,6 +16,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %global pkg_name parsec %global common_summary Haskell monadic parser combinators library @@ -24,49 +28,58 @@ Name: ghc-parsec Version: 3.1.3 -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-bytestring-devel BuildRequires: ghc-mtl-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-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