Hello community, here is the log from the commit of package ghc-magic for openSUSE:Factory checked in at 2016-07-20 09:28:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-magic (Old) and /work/SRC/openSUSE:Factory/.ghc-magic.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-magic" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-magic/ghc-magic.changes 2016-05-04 08:20:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-magic.new/ghc-magic.changes 2016-07-20 09:28:57.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 16:55:11 UTC 2016 - [email protected] + +- Update to version 1.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-magic.spec ++++++ --- /var/tmp/diff_new_pack.ngnhjU/_old 2016-07-20 09:28:58.000000000 +0200 +++ /var/tmp/diff_new_pack.ngnhjU/_new 2016-07-20 09:28:58.000000000 +0200 @@ -15,43 +15,42 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name magic +%global pkg_name magic Name: ghc-%{pkg_name} Version: 1.1 Release: 0 Summary: Interface to C file/magic library -Group: System/Libraries - License: BSD-3-Clause +Group: System/Libraries Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +# Begin cabal-rpm deps: +BuildRequires: file-devel BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -BuildRequires: file-devel - +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# End cabal-rpm deps %description This package provides a Haskell interface to the C libmagic library. With it, you can determine the type of a file by examining its contents rather than its name. The Haskell interface provides a full-featured binding. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +# Begin cabal-rpm deps: +Requires: file-devel Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} -Requires: file-devel +# End cabal-rpm deps %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} @@ -67,18 +66,14 @@ %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc COPYING - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - %changelog
