ghc-safe-0.3.19-1.oe24090>    f! ;G|`u` {y ](oP]{g?$ڔg!=\rOaBW3(RNU/轛 PLktQ-)gבQ5spz*s*XFE}zd5^DuPW~՘wݛC)UB\BіKE( @ۣXReBCG3!t=>:eC,܊̔\8+9ӊF4C[ `Rt"(}w.qLg؜4ժ%(=:͸3R\,bfL?%Q^< aKm\j'9L*y}n.qY`c6120138503e312ea14bf87fcb72a55017357063ddaa9ec2175b4ad89c7fff7bff63454ae622387c86d9b1f80f92e38812169d30\˟4W u*q!h#>7'?&d   F! 6BU~    & (0:DL#(K8T9X:|FGHIRXY\(]0^QdReWf\`djCghc-safe0.3.191.oe2409Library of safe (exception free) functionsA library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, such as 'head' and '!!'. Each unsafe function has up to four variants, e.g. with 'tail': * 'tail :: [a] -> [a]', raises an error on 'tail []'. * 'tailMay :: [a] -> /Maybe/ [a]', turns errors into 'Nothing'. * 'tailDef :: /[a]/ -> [a] -> [a]', takes a default to return on errors. * 'tailNote :: /String/ -> [a] -> [a]', takes an extra argument which supplements the error message. * 'tailSafe :: [a] -> [a]', returns some sensible default if possible, '[]' in the case of 'tail'. This package is divided into three modules: * "Safe" contains safe variants of 'Prelude' and 'Data.List' functions. * "Safe.Foldable" contains safe variants of 'Foldable' functions. * "Safe.Exact" creates crashing versions of functions like 'zip' (errors if the lists are not equal) and 'take' (errors if there are not enough elements), then wraps them to provide safe variants.f!dc-64g.compass-ci8BSD-3-Clausehttp://openeuler.orgUnspecifiedsafe-0.3.19.tar.gzhttps://hackage.haskell.org/package/safelinuxx86_64 ,f!f!1183b8133e8a0fecd6acf439ebc00436e5a650e7de72b802eb5628bb7fec420e25043442c8f8aa95955bb17467d023630632b961aaa61e807e325d9b2c33f7a2 rootrootrootrootghc-safeghc-safe-develghc-safe-helpghc-safe-prof  ghc-Cabal-develghc-base-develghc-base-profghc-rpm-macrosrpmlib(CompressedFileNames)rpmlib(FileDigests)3.0.4-14.6.0-1i386i486i586i686pentium3pentium4athlongeode4.18.2d@Lin Runze 0.3.19-1- Initial packaging (Version 0.3.19)dc-64g.compass-ci 17266856390.3.19-1.oe24090.3.19-1.oe24090.3.19-1.oe24090.3.19-1.oe2409ghc-safe.specsafe-0.3.19.tar.gzcpiogzip9utf-832de16f49541573e23235ce728ad5a7647b4c57c4cced5f6bd6ebc2b5d974fe5484bbfccad4121109902d36ecc6335856d1eccfa19b2ad85651029e0ca568658 Name: ghc-safe Version: 0.3.19 Release: 1 Summary: Library of safe (exception free) functions License: BSD-3-Clause URL: https://hackage.haskell.org/package/safe Source0: https://hackage.haskell.org/package/safe-0.3.19/safe-0.3.19.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof BuildRequires: ghc-rpm-macros ExcludeArch: i386 i486 i586 i686 pentium3 pentium4 athlon geode %description A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, such as 'head' and '!!'. Each unsafe function has up to four variants, e.g. with 'tail': * 'tail :: [a] -> [a]', raises an error on 'tail []'. * 'tailMay :: [a] -> /Maybe/ [a]', turns errors into 'Nothing'. * 'tailDef :: /[a]/ -> [a] -> [a]', takes a default to return on errors. * 'tailNote :: /String/ -> [a] -> [a]', takes an extra argument which supplements the error message. * 'tailSafe :: [a] -> [a]', returns some sensible default if possible, '[]' in the case of 'tail'. This package is divided into three modules: * "Safe" contains safe variants of 'Prelude' and 'Data.List' functions. * "Safe.Foldable" contains safe variants of 'Foldable' functions. * "Safe.Exact" creates crashing versions of functions like 'zip' (errors if the lists are not equal) and 'take' (errors if there are not enough elements), then wraps them to provide safe variants. %package devel Summary: Haskell safe library development files Requires: ghc-safe = 0.3.19-1.oe2409 Requires: ghc-compiler = 9.6.3 Requires(post): ghc-compiler = 9.6.3 Requires(postun): ghc-compiler = 9.6.3 %description devel This package provides the Haskell safe library development files. %package -n ghc-safe-help Summary: Haskell safe library documentation BuildArch: noarch %description -n ghc-safe-help This package provides the Haskell safe library documentation. %package -n ghc-safe-prof Summary: Haskell safe profiling library Requires: ghc-safe-devel = 0.3.19-1.oe2409 Supplements: (ghc-safe-devel and ghc-prof) %description -n ghc-safe-prof This package provides the Haskell safe profiling library. %prep cd '/home/lkp/rpmbuild/BUILD' rm -rf 'safe-0.3.19' /usr/lib/rpm/rpmuncompress -x '/home/lkp/rpmbuild/SOURCES/safe-0.3.19.tar.gz' STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd 'safe-0.3.19' /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)'); do if [ -f $f -a -x $f ]; then chmod a-x $f; fi done # -Wunused-label is extremely noisy CFLAGS="${CFLAGS:--O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection }" export CFLAGS export LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,--as-needed }" if ! [ -f Setup.hs -o -f Setup.lhs ]; then cp /usr/share/ghc-rpm-macros/Setup.hs . fi if [ -d "/usr/lib64/ghc-9.6.3/lib" ]; then subsubdir=/lib fi [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup --version [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-safe --libsubdir='$compiler'${subsubdir}/'$pkgid' --datasubdir='$pkgid' --libexecsubdir='$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.3${subsubdir} --global --ghc-options="${CFLAGS:+$(echo ' '$CFLAGS | sed -e 's/ / -optc/g')} ${LDFLAGS:+$(echo ' '$LDFLAGS | sed -e 's/ / -optl/g')} -fhide-source-paths" -v $cabal_configure_extra_options -p --enable-shared --htmldir=/usr/share/doc/ghc-9.6.3/html/libraries/safe-0.3.19 --global [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup build -j${RPM_BUILD_NCPUS} -v if [ -n dist/build/libHSsafe-0.3.19*.so ]; then [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup haddock --html --hyperlink-source --hoogle fi %install [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup copy --destdir=/home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64 -v [ -x Setup ] || ghc --make -package Cabal -no-user-package-db -dynamic Setup LANG=C.utf8 ./Setup register --gen-pkg-config if [ -d "/usr/lib64/ghc-9.6.3/lib" ]; then subsubdir=/lib fi if [ -d safe-0.3.19.conf ]; then for i in $(ls "safe-0.3.19.conf/"); do sub=$(echo $i | sed -e "s/^[0-9]\+-//") install -D --mode=0644 safe-0.3.19.conf/${i} /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/package.conf.d/${sub}.conf done else install -D --mode=0644 safe-0.3.19.conf /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/package.conf.d/safe-0.3.19.conf fi if [ -d "/usr/lib64/ghc-9.6.3/lib" ]; then subsubdir=/lib fi if [ -z "$(ls /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/package.conf.d/safe-0.3.19*.conf)" ]; then echo "/home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/package.conf.d/safe-0.3.19*.conf not found" exit 1 fi rm -f ghc-safe.files ghc-safe-help.files touch ghc-safe.files ghc-safe-help.files for i in /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/libHSsafe-0.3.19-*ghc9.6.3.so; do if [ -x "$i" ]; then echo $i >> ghc-safe.files echo "%dir /usr/lib64/ghc-9.6.3/lib" >> ghc-safe.files else echo $i: not found exit 1 fi done pkgdir="/usr/lib64/ghc-9.6.3${subsubdir}/safe-0.3.19" if [ -d "/home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64${pkgdir}" ]; then find /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64${pkgdir} -type d -fprintf ghc-safe-devel.files '%%dir %p\n' -o \( -name '*.p_hi' -o -name 'libHS*_p.a' \) -fprint ghc-safe-prof.files -o -fprint ghc-safe-devel.files echo "%dir /usr/lib64/ghc-9.6.3/lib" >> ghc-safe-devel.files echo "%dir /usr/lib64/ghc-9.6.3/lib" >> ghc-safe-prof.files else rm -f ghc-safe-devel.files ghc-safe-prof.files touch ghc-safe-devel.files ghc-safe-prof.files fi ls /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64/usr/lib64/ghc-9.6.3${subsubdir}/package.conf.d/safe-0.3.19*.conf >> ghc-safe-devel.files haddock_dir=/usr/share/doc/ghc-9.6.3/html/libraries/safe-0.3.19 if [ -d /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64$haddock_dir ]; then echo $haddock_dir >> ghc-safe-help.files fi for i in ghc-safe.files ghc-safe-devel.files ghc-safe-help.files ghc-safe-prof.files; do if [ -f "$i" ]; then sed -i -e "s!/home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64!!g" $i fi done echo "running ghc_delete_rpaths:" if ! type chrpath > /dev/null; then exit 1; fi for i in $(find /home/lkp/rpmbuild/BUILDROOT/ghc-safe-0.3.19-1.oe2409.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print); do if [ -x "$i" ]; then rpath=$(chrpath $i | sed -e "s@^$i: R.*PATH=@@") case "$rpath" in *$PWD/*) chrpath -r "/usr/lib64/ghc-9.6.3/lib:/usr/lib64/ghc-9.6.3/lib/x86_64-linux-ghc-9.6.3" $i ;; *) ;; esac else echo "%ghc_delete_rpath: no $i executable" exit 1 fi done %check %post devel /usr/bin/ghc-pkg-9.6.3 recache --no-user-package-db || : %postun devel /usr/bin/ghc-pkg-9.6.3 recache --no-user-package-db || : %files -f ghc-safe.files %license LICENSE %files devel -f ghc-safe-devel.files %doc CHANGES.txt README.md %files -n ghc-safe-help -f ghc-safe-help.files %license LICENSE %files -n ghc-safe-prof -f ghc-safe-prof.files %changelog * Tue Aug 22 2023 Lin Runze 0.3.19-1 - Initial packaging (Version 0.3.19) ?zTT]?H "C#!t7( 0 3C4"4]JKw4(]A}~Ϭu<{ 7*cσG@b#ɜG6 @9`K1Ga9NP=x۬+dcه 9vt0;:XY#T4"ƍqtI 4!v0/N=猲 ti! nqB e-a=#lmq0i-YN>N; T}@+ .e6C! +0bgrA~q-G9[o z],4!.0\W$eȤpZ@\!vn[v9Z*ɞls\, R0s2{Y nm+>(HV bn7i8/R)`am 0[@0H~# vrvYaXXe0H` ?@4; o`n?]̭`8 `, H"tq"H]0k 0"v"[)qsap a@_FOXA=Ʌ|4pp! Z; aUuDX!#7\H1h!nAnXK_!?Ei!`HR0=t6BFr3qo!pMuE&#V_oXA]'G9 +2|`nT#⦯R5x[ kWk ů!A-\01 "ܨd~@S董i*!6G a0NW0&=槈ngm zZ;"oX`4*"Klw7IH?I]V@LYwܔϴ`Y7q!`#:7?k'O^~SV׫9G.³6oym+fԆoOlo0kd}fDX ycʍلj+Jvxpݜ{4ک\CC4GvpvAMs(wB.MD4#FS>Cm^f9>p51gS6}uzvX;޽m*v~*[*3֐)U ͩ't-"!t]{L9z̓Cb*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