Hello community,

here is the log from the commit of package ghc-js-jquery for openSUSE:Factory 
checked in at 2016-07-20 09:21:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-js-jquery (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-js-jquery.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-js-jquery"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-js-jquery/ghc-js-jquery.changes      
2016-05-25 21:28:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-js-jquery.new/ghc-js-jquery.changes 
2016-07-20 09:21:27.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:34:41 UTC 2016 - psim...@suse.com
+
+- Update to version 1.12.4 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-js-jquery.spec ++++++
--- /var/tmp/diff_new_pack.RXGvqc/_old  2016-07-20 09:21:28.000000000 +0200
+++ /var/tmp/diff_new_pack.RXGvqc/_new  2016-07-20 09:21:28.000000000 +0200
@@ -17,20 +17,23 @@
 
 
 %global pkg_name js-jquery
-
-Name:           ghc-js-jquery
+%bcond_with tests
+Name:           ghc-%{pkg_name}
 Version:        1.12.4
 Release:        0
 Summary:        Obtain minified jQuery code
 License:        MIT
 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
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# Begin cabal-rpm deps:
+%if %{with tests}
+BuildRequires:  ghc-HTTP-devel
+%endif
+# End cabal-rpm deps
 
 %description
 This package bundles the minified <http://jquery.com/ jQuery> code into a
@@ -39,29 +42,35 @@
 The package is designed to meet the redistribution requirements of downstream
 users (e.g. Debian).
 
-
 %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}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
+
 %post devel
 %ghc_pkg_recache
 
@@ -72,7 +81,7 @@
 %defattr(-,root,root,-)
 %doc LICENSE
 %dir %{_datadir}/%{pkg_name}-%{version}
-%{_datadir}/%{pkg_name}-%{version}/*.js
+%{_datadir}/%{pkg_name}-%{version}/jquery-1.12.4.min.js
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)


Reply via email to