Hello community, here is the log from the commit of package ghc-IPv6Addr for openSUSE:Factory checked in at 2017-03-18 20:50:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-IPv6Addr (Old) and /work/SRC/openSUSE:Factory/.ghc-IPv6Addr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-IPv6Addr" Sat Mar 18 20:50:12 2017 rev:3 rq:477439 version:0.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-IPv6Addr/ghc-IPv6Addr.changes 2016-12-06 14:23:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-IPv6Addr.new/ghc-IPv6Addr.changes 2017-03-18 20:50:14.820458524 +0100 @@ -1,0 +2,10 @@ +Sun Jan 8 21:13:29 UTC 2017 - [email protected] + +- Update to version 0.6.3 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Wed Dec 28 11:29:17 UTC 2016 - [email protected] + +- Update to version 0.6.2.0 revision 1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- IPv6Addr-0.6.2.0.tar.gz New: ---- IPv6Addr-0.6.3.tar.gz IPv6Addr.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-IPv6Addr.spec ++++++ --- /var/tmp/diff_new_pack.z0eYhp/_old 2017-03-18 20:50:15.368380901 +0100 +++ /var/tmp/diff_new_pack.z0eYhp/_new 2017-03-18 20:50:15.372380335 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-IPv6Addr # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,14 @@ %global pkg_name IPv6Addr %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.2.0 +Version: 0.6.3 Release: 0 Summary: Library to deal with IPv6 address text representations License: BSD-3-Clause Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-iproute-devel @@ -58,6 +59,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ IPv6Addr-0.6.2.0.tar.gz -> IPv6Addr-0.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPv6Addr-0.6.2.0/IPv6Addr.cabal new/IPv6Addr-0.6.3/IPv6Addr.cabal --- old/IPv6Addr-0.6.2.0/IPv6Addr.cabal 2016-11-09 11:43:41.000000000 +0100 +++ new/IPv6Addr-0.6.3/IPv6Addr.cabal 2016-12-26 16:25:59.000000000 +0100 @@ -1,5 +1,5 @@ name: IPv6Addr -version: 0.6.2.0 +version: 0.6.3 synopsis: Library to deal with IPv6 address text representations. description: Library to deal with IPv6 address text representations, canonization and manipulations. homepage: https://github.com/MichelBoucey/IPv6Addr @@ -21,12 +21,12 @@ exposed-modules: Text.IPv6Addr, Text.IPv6Addr.Types, Text.IPv6Addr.Manip, Text.IPv6Addr.Internal other-extensions: OverloadedStrings build-depends: base >=4.6 && <5 - , text >=1.1 - , iproute >=1.3 - , network >=2.5 - , random >=1.0 - , attoparsec >=0.12 - , network-info >=0.2 + , text >=1.1 && <1.3 + , iproute >=1.3 && <1.8 + , network >=2.5 && <2.7 + , random >=1.0 && <=1.1 + , attoparsec >=0.12 && <0.14 + , network-info >=0.2 && <=0.3 default-language: Haskell2010 GHC-Options: -Wall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPv6Addr-0.6.2.0/Text/IPv6Addr/Internal.hs new/IPv6Addr-0.6.3/Text/IPv6Addr/Internal.hs --- old/IPv6Addr-0.6.2.0/Text/IPv6Addr/Internal.hs 2016-11-09 11:41:07.000000000 +0100 +++ new/IPv6Addr-0.6.3/Text/IPv6Addr/Internal.hs 2016-11-17 11:10:08.000000000 +0100 @@ -10,9 +10,9 @@ , isIPv6Addr , maybeTokIPv6Addr , maybeTokPureIPv6Addr + , toDoubleColon , fromDoubleColon , fromIPv6Addr - , toDoubleColon , networkInterfacesIPv6AddrList ) where @@ -66,7 +66,8 @@ AllZeros -> lenconst _ -> False 1 -> case lasttk of - IPv4Addr _ -> (lentks == 13 && cdctks == 0) || (lentks < 12 && cdctks == 1) + IPv4Addr _ -> + (lentks == 13 && cdctks == 0) || (lentks < 12 && cdctks == 1) _ -> False _ -> False)) where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IPv6Addr-0.6.2.0/Text/IPv6Addr/Manip.hs new/IPv6Addr-0.6.3/Text/IPv6Addr/Manip.hs --- old/IPv6Addr-0.6.2.0/Text/IPv6Addr/Manip.hs 2016-11-09 11:22:21.000000000 +0100 +++ new/IPv6Addr-0.6.3/Text/IPv6Addr/Manip.hs 2016-11-17 11:05:34.000000000 +0100 @@ -30,10 +30,11 @@ | c == '_' = intToDigit <$> randomRIO (0,15) | otherwise = return c --- | Generates a random partial 'IPv6Addr' with n 'SixteenBit' +-- | Generates a random partial 'IPv6Addr' with n 'SixteenBit'. randPartialIPv6Addr :: Int -> IO [IPv6AddrToken] randPartialIPv6Addr n - | n > 0 && n < 9 = intersperse Colon <$> replicateM n (randIPv6AddrChunk "____") + | n > 0 && n < 9 = + intersperse Colon <$> replicateM n (randIPv6AddrChunk "____") | otherwise = return [] -- | Given a MAC address, returns 'Just' the corresponding 'IPv6AddrToken' list, or 'Nothing'. @@ -58,8 +59,9 @@ -- > getTokIPv6AddrOf "eth0" == Just [SixteenBit "fe80",DoubleColon,SixteenBit "fa1d",Colon,SixteenBit "58cc",Colon,SixteenBit "9516"] -- getTokIPv6AddrOf :: String -> IO (Maybe [IPv6AddrToken]) -getTokIPv6AddrOf s = maybe Nothing (maybeTokIPv6Addr. T.pack . show) <$> - (lookup s <$> networkInterfacesIPv6AddrList) +getTokIPv6AddrOf s = + maybe Nothing (maybeTokIPv6Addr. T.pack . show) <$> + (lookup s <$> networkInterfacesIPv6AddrList) -- | Given a valid name of a local network interface, -- returns 'Just' the corresponding list of 'IPv6AddrToken' of the interface's MAC Address, @@ -72,6 +74,7 @@ maybe Nothing (macAddrToIPv6AddrTokens . T.pack . show) <$> (lookup s <$> networkInterfacesMacAddrList) where - networkInterfacesMacAddrList = getNetworkInterfaces >>= \n -> return $ map networkInterfacesMac n + networkInterfacesMacAddrList = getNetworkInterfaces >>= + \n -> return $ map networkInterfacesMac n where networkInterfacesMac (NetworkInterface n _ _ m) = (n,m) ++++++ IPv6Addr.cabal ++++++ name: IPv6Addr version: 0.6.3 x-revision: 1 synopsis: Library to deal with IPv6 address text representations. description: Library to deal with IPv6 address text representations, canonization and manipulations. homepage: https://github.com/MichelBoucey/IPv6Addr license: BSD3 license-file: LICENSE author: Michel Boucey maintainer: [email protected] copyright: (c) 2011-2016 - Michel Boucey category: Network build-type: Simple extra-source-files: README.md cabal-version: >=1.10 Source-Repository head Type: git Location: https://github.com/MichelBoucey/IPv6Addr.git library exposed-modules: Text.IPv6Addr, Text.IPv6Addr.Types, Text.IPv6Addr.Manip, Text.IPv6Addr.Internal other-extensions: OverloadedStrings build-depends: base >=4.8 && <5 , text >=1.1 && <1.3 , iproute >=1.3 && <1.8 , network >=2.5 && <2.7 , random >=1.0 && <=1.1 , attoparsec >=0.12 && <0.14 , network-info >=0.2 && <=0.3 default-language: Haskell2010 GHC-Options: -Wall Test-Suite tests Type: exitcode-stdio-1.0 default-language: Haskell2010 HS-Source-Dirs: tests Main-Is: Main.hs Build-Depends: base, HUnit, IPv6Addr, test-framework, test-framework-hunit, text
