Hello community, here is the log from the commit of package ghc-hit for openSUSE:Factory checked in at 2016-07-21 08:04:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hit (Old) and /work/SRC/openSUSE:Factory/.ghc-hit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hit" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hit/ghc-hit.changes 2016-06-07 23:46:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hit.new/ghc-hit.changes 2016-07-21 08:04:34.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:34:12 UTC 2016 - [email protected] + +- Update to version 0.6.3 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hit.spec ++++++ --- /var/tmp/diff_new_pack.56fNZ8/_old 2016-07-21 08:04:35.000000000 +0200 +++ /var/tmp/diff_new_pack.56fNZ8/_new 2016-07-21 08:04:35.000000000 +0200 @@ -15,23 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name hit +%global pkg_name hit %bcond_with tests - Name: ghc-%{pkg_name} Version: 0.6.3 Release: 0 Summary: Git operations in haskell -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 - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-byteable-devel @@ -43,6 +38,7 @@ BuildRequires: ghc-parsec-devel BuildRequires: ghc-patience-devel BuildRequires: ghc-random-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-system-fileio-devel BuildRequires: ghc-system-filepath-devel BuildRequires: ghc-unix-compat-devel @@ -50,6 +46,7 @@ BuildRequires: ghc-vector-devel BuildRequires: ghc-zlib-bindings-devel BuildRequires: ghc-zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-bytedump-devel BuildRequires: ghc-tasty-devel @@ -67,19 +64,17 @@ directory), and doesn't do anything with the index or your working directory files. . - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} @@ -90,30 +85,27 @@ %install %ghc_lib_install -rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md + %check %if %{with tests} -%cabal test +%{cabal} test %endif %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - +%dir %{_datadir}/%{pkg_name}-%{version} +%{_datadir}/%{pkg_name}-%{version}/README.md %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md - %changelog
