Hello community,
here is the log from the commit of package ghc-network-info for openSUSE:Factory checked in at 2015-06-02 10:05:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-network-info (Old)
and /work/SRC/openSUSE:Factory/.ghc-network-info.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-network-info"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-network-info/ghc-network-info.changes 2015-05-27 12:44:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network-info.new/ghc-network-info.changes 2015-06-02 10:05:30.000000000 +0200
@@ -1,0 +2,5 @@
+Sun May 31 20:02:50 UTC 2015 - mimi.vx@gmail.com
+
+- update to 0.2.0.6
+
+-------------------------------------------------------------------
Old:
----
network-info-0.2.0.5.tar.gz
New:
----
network-info-0.2.0.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-network-info.spec ++++++
--- /var/tmp/diff_new_pack.OIHCmY/_old 2015-06-02 10:05:31.000000000 +0200
+++ /var/tmp/diff_new_pack.OIHCmY/_new 2015-06-02 10:05:31.000000000 +0200
@@ -15,15 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%global pkg_name network-info
-Name: ghc-%{pkg_name}
-Version: 0.2.0.5
+Name: ghc-network-info
+Version: 0.2.0.6
Release: 0
Summary: Access the local computer's basic network configuration
+License: BSD-3-Clause
Group: System/Libraries
-License: BSD-3-Clause
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
@@ -56,31 +57,24 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
-
%postun devel
%ghc_pkg_recache
-
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
-
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.mkd
-
%changelog
++++++ network-info-0.2.0.5.tar.gz -> network-info-0.2.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-info-0.2.0.5/cbits/network-unix.c new/network-info-0.2.0.6/cbits/network-unix.c
--- old/network-info-0.2.0.5/cbits/network-unix.c 2014-06-21 11:55:52.000000000 +0200
+++ new/network-info-0.2.0.6/cbits/network-unix.c 2015-05-26 03:48:46.000000000 +0200
@@ -18,10 +18,12 @@
# define AF_PACKET AF_LINK
# endif
# endif
-# ifdef __sun
+# if defined(__sun) || defined(__GNU__)
# include