Hello community, here is the log from the commit of package darcs for openSUSE:Factory checked in at 2016-07-21 08:00:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/darcs (Old) and /work/SRC/openSUSE:Factory/.darcs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "darcs" Changes: -------- --- /work/SRC/openSUSE:Factory/darcs/darcs.changes 2016-06-09 16:10:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.darcs.new/darcs.changes 2016-07-21 08:00:47.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:32:20 UTC 2016 - psim...@suse.com + +- Update to version 2.12.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ darcs.spec ++++++ --- /var/tmp/diff_new_pack.eHh8bV/_old 2016-07-21 08:00:48.000000000 +0200 +++ /var/tmp/diff_new_pack.eHh8bV/_new 2016-07-21 08:00:48.000000000 +0200 @@ -15,28 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name darcs +%global pkg_name darcs %bcond_with tests - -Name: darcs +Name: %{pkg_name} Version: 2.12.0 Release: 0 Summary: A distributed, interactive, smart revision control system -Group: Development/Languages/Other - License: GPL-2.0+ +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -Source4: %{name}.changes -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -BuildRequires: pkgconfig(libcurl) # Begin cabal-rpm deps: -BuildRequires: pkg-config BuildRequires: chrpath +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HTTP-devel BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel @@ -48,8 +40,8 @@ BuildRequires: ghc-cryptohash-devel BuildRequires: ghc-data-ordlist-devel BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel BuildRequires: ghc-fgl-devel +BuildRequires: ghc-filepath-devel BuildRequires: ghc-graphviz-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-haskeline-devel @@ -64,6 +56,7 @@ BuildRequires: ghc-random-devel BuildRequires: ghc-regex-applicative-devel BuildRequires: ghc-regex-compat-tdfa-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-sandi-devel BuildRequires: ghc-tar-devel BuildRequires: ghc-terminfo-devel @@ -77,6 +70,8 @@ BuildRequires: ghc-vector-devel BuildRequires: ghc-zip-archive-devel BuildRequires: ghc-zlib-devel +BuildRequires: libcurl-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-FindBin-devel BuildRequires: ghc-HUnit-devel @@ -89,6 +84,7 @@ BuildRequires: ghc-test-framework-quickcheck2-devel %endif # End cabal-rpm deps +Source4: %{name}.changes %description Darcs is a free, open source revision control system. It is: @@ -108,7 +104,6 @@ This smartness lets you respond to changing demands in ways that would otherwise not be possible. Learn more about spontaneous branches with darcs. - %package -n ghc-%{name} Summary: Haskell %{name} library Group: System/Libraries @@ -116,22 +111,22 @@ %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} +# Begin cabal-rpm deps: +Requires: libcurl-devel Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: ghc-%{name} = %{version}-%{release} +# End cabal-rpm deps %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. - %prep %setup -q -cabal-tweak-flag pkgconfig True modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE4}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" @@ -150,34 +145,29 @@ %check %if %{with tests} -%cabal test +%{cabal} test %endif %post -n ghc-%{name}-devel %ghc_pkg_recache - %postun -n ghc-%{name}-devel %ghc_pkg_recache - %files %defattr(-,root,root,-) %doc COPYING -%doc README.md +%doc CHANGELOG README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{ext_man} - %files -n ghc-%{name} -f ghc-%{name}.files %defattr(-,root,root,-) %doc COPYING - %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %defattr(-,root,root,-) -%doc README.md - +%doc CHANGELOG README.md %changelog