Hello community, here is the log from the commit of package hscolour for openSUSE:Factory checked in at 2016-07-21 08:02:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hscolour (Old) and /work/SRC/openSUSE:Factory/.hscolour.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hscolour" Changes: -------- --- /work/SRC/openSUSE:Factory/hscolour/hscolour.changes 2016-07-01 09:58:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hscolour.new/hscolour.changes 2016-07-21 08:02:54.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jul 10 16:58:35 UTC 2016 - psim...@suse.com + +- Update to version 1.24.1 revision 0 with cabal2obs. + This update obsoletes hscolour-rpmlintrc. + +------------------------------------------------------------------- Old: ---- hscolour-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hscolour.spec ++++++ --- /var/tmp/diff_new_pack.SNO1yL/_old 2016-07-21 08:02:55.000000000 +0200 +++ /var/tmp/diff_new_pack.SNO1yL/_new 2016-07-21 08:02:55.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package hscolour # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,76 +17,77 @@ %global pkg_name hscolour - -# link statically to Haskell libs for easier ghc bootstrapping -%global ghc_without_dynamic 1 - -Name: hscolour +Name: %{pkg_name} Version: 1.24.1 Release: 0 -Summary: Colorise Haskell code +Summary: Colourise Haskell code License: LGPL-2.1+ Group: Development/Languages/Other - -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# BEGIN cabal2spec -Url: http://hackage.haskell.org/package/%{name} -Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz -Source1: hscolour-rpmlintrc +Url: https://hackage.haskell.org/package/%{name} +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel +# Begin cabal-rpm deps: BuildRequires: ghc-containers-devel BuildRequires: ghc-rpm-macros -# END cabal2spec +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# End cabal-rpm deps %description -A small Haskell script to colorise Haskell code. It currently has +Hscolour is a small Haskell script to colourise Haskell code. It currently has six output formats: ANSI terminal codes (optionally XTerm-256colour codes), -HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01 with CSS and mouseover +HTML 3.2 with <font> tags, HTML 4.01 with CSS, HTML 4.01 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat codes. -%package -n ghc-%{pkg_name} -Summary: Haskell %{pkg_name} library -Group: Development/Languages/Other +%package -n ghc-%{name} +Summary: Haskell %{name} library +Group: System/Libraries + +%description -n ghc-%{name} +This package provides the Haskell %{name} shared library. + +%package -n ghc-%{name}-devel +Summary: Haskell %{name} library development files +Group: Development/Libraries/Other +Requires: ghc-%{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} -%description -n ghc-%{pkg_name} -Haskell library to colorise Haskell code. - -%package -n ghc-%{pkg_name}-devel -Summary: Haskell %{pkg_name} library development files -Group: Development/Languages/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler -Requires: ghc-%{pkg_name} = %{version}-%{release} - -%description -n ghc-%{pkg_name}-devel -Development files for Haskell library tocolorise Haskell code. +%description -n ghc-%{name}-devel +This package provides the Haskell %{name} library development files. %prep %setup -q + %build %ghc_lib_build + %install %ghc_lib_install -%post -n ghc-%{pkg_name}-devel + +%post -n ghc-%{name}-devel %ghc_pkg_recache -%postun -n ghc-%{pkg_name}-devel +%postun -n ghc-%{name}-devel %ghc_pkg_recache %files %defattr(-,root,root,-) %doc LICENCE-LGPL -%attr(755,root,root) %{_bindir}/HsColour -%{_datadir}/%{name}-%{version} +%{_bindir}/HsColour +%dir %{_datadir}/%{name}-%{version} +%dir %{_datadir}/%{name}-%{version}/data +%{_datadir}/%{name}-%{version}/hscolour.css +%{_datadir}/%{name}-%{version}/data/rgb24-example-.hscolour -%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files +%files -n ghc-%{name} -f ghc-%{name}.files %defattr(-,root,root,-) +%doc LICENCE-LGPL -%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files +%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %defattr(-,root,root,-) %changelog