Hello community, here is the log from the commit of package cpphs for openSUSE:Factory checked in at 2015-05-28 09:58:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpphs (Old) and /work/SRC/openSUSE:Factory/.cpphs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cpphs" Changes: -------- --- /work/SRC/openSUSE:Factory/cpphs/cpphs.changes 2015-05-21 08:14:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cpphs.new/cpphs.changes 2015-05-28 09:58:30.000000000 +0200 @@ -1,0 +2,10 @@ +Thu May 28 06:21:30 UTC 2015 - mimi.vx@gmail.com + +- correct license + +------------------------------------------------------------------- +Thu May 14 11:59:15 UTC 2015 - mimi.vx@gmail.com + +- regenerated spec with cabal-rpm + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpphs.spec ++++++ --- /var/tmp/diff_new_pack.OUaKV2/_old 2015-05-28 09:58:31.000000000 +0200 +++ /var/tmp/diff_new_pack.OUaKV2/_new 2015-05-28 09:58:31.000000000 +0200 @@ -17,93 +17,80 @@ %global pkg_name cpphs -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} + Name: cpphs Version: 1.19 Release: 0 Summary: A liberalised re-implementation of cpp, the C pre-processor -License: GPL-2.0 +License: GPL-2.0+ Group: Development/Languages/Other -Url: http://hackage.haskell.org/package/%{name} -Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz + +Url: https://hackage.haskell.org/package/%{name} +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-directory-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-polyparse-devel -BuildRequires: ghc-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description -Cpphs is a re-implementation of the C pre-processor that is both -more compatible with Haskell, and itself written in Haskell so -that it can be distributed with compilers. - -This version of the C pre-processor is pretty-much -feature-complete and compatible with traditional (K&R) -pre-processors. Additional features include: a plain-text mode; -an option to unlit literate code files; and an option to turn -off macro-expansion. +Cpphs is a re-implementation of the C pre-processor that is both more +compatible with Haskell, and itself written in Haskell so that it can be +distributed with compilers. + +This version of the C pre-processor is pretty-much feature-complete and +compatible with traditional (K&R) pre-processors. Additional features include: +a plain-text mode; an option to unlit literate code files; and an option to +turn off macro-expansion. + %package -n ghc-%{name} Summary: Haskell %{name} library -Group: Development/Languages/Other License: LGPL-2.1 +Group: System/Libraries %description -n ghc-%{name} -Cpphs is a re-implementation of the C pre-processor that is both -more compatible with Haskell, and itself written in Haskell so -that it can be distributed with compilers. - -This version of the C pre-processor is pretty-much -feature-complete and compatible with traditional (K&R) -pre-processors. Additional features include: a plain-text mode; -an option to unlit literate code files; and an option to turn -off macro-expansion. +This package provides the Haskell %{name} shared library. + %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files -Group: Development/Languages/Other License: LGPL-2.1 -%{?ghc_devel_requires} - +Group: Development/Libraries/Other +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: ghc-%{name} = %{version}-%{release} %description -n ghc-%{name}-devel -Cpphs is a re-implementation of the C pre-processor that is both -more compatible with Haskell, and itself written in Haskell so -that it can be distributed with compilers. - -This version of the C pre-processor is pretty-much -feature-complete and compatible with traditional (K&R) -pre-processors. Additional features include: a plain-text mode; -an option to unlit literate code files; and an option to turn -off macro-expansion. +This package provides the Haskell %{name} library development files. + %prep %setup -q -chmod a-x README CHANGELOG LICENCE-GPL LICENCE-LGPL LICENCE-commercial -chmod a-x docs/* %build -%{ghc_lib_build} +%ghc_lib_build %install -%{ghc_lib_install} +%ghc_lib_install install -D --mode=444 docs/cpphs.1 %{buildroot}%{_mandir}/man1/cpphs.1 %post -n ghc-%{name}-devel -%{ghc_pkg_recache} +%ghc_pkg_recache %postun -n ghc-%{name}-devel -%{ghc_pkg_recache} +%ghc_pkg_recache %files %defattr(-,root,root,-) %doc LICENCE-LGPL -%doc LICENCE-GPL LICENCE-commercial docs README +%doc LICENCE-GPL LICENCE-commercial README docs %{_bindir}/%{name} %{_mandir}/man1/cpphs.1.gz @@ -113,6 +100,6 @@ %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %defattr(-,root,root,-) -%doc LICENCE-GPL LICENCE-commercial docs README +%doc LICENCE-GPL LICENCE-commercial README docs %changelog