pax_global_header00006660000000000000000000000064120560116660014515gustar00rootroot0000000000000052 comment=8b2698a6ad47ca68ff9a2e886ff1bdc1173827b1 haskell-filetrigger-0.0.5/000075500000000000000000000000001205601166600154415ustar00rootroot00000000000000haskell-filetrigger-0.0.5/.gear/000075500000000000000000000000001205601166600164355ustar00rootroot00000000000000haskell-filetrigger-0.0.5/.gear/rules000064400000000000000000000000071205601166600175070ustar00rootroot00000000000000tar: . haskell-filetrigger-0.0.5/.gitignore000064400000000000000000000000131205601166600174230ustar00rootroot00000000000000*~ .*.swp haskell-filetrigger-0.0.5/haskell-filetrigger.spec000064400000000000000000000016361205601166600222470ustar00rootroot00000000000000Name: haskell-filetrigger Summary: auto recache ghc package list Version: 0.0.5 Release: alt1 License: GPL Group: Development/Haskell BuildArch: noarch Packager: Denis Smirnov Conflicts: ghc <= 7.6.1 Source: %name-%version.tar %description %summary %prep %setup %build %install install -m755 -D haskell.filetrigger %buildroot/usr/lib/rpm/haskell.filetrigger %files /usr/lib/rpm/haskell.filetrigger %changelog * Fri Nov 30 2012 Denis Smirnov 0.0.5-alt1 - fix work with ghc-pkg from ghc 7.6.1 * Sun Mar 18 2012 Denis Smirnov 0.0.4-alt1 - check packages integrity after install * Sat Mar 17 2012 Denis Smirnov 0.0.3-alt1 - add multiple ghc versions support * Fri Sep 10 2010 Denis Smirnov 0.0.2-alt1 - cleanup * Thu Sep 09 2010 Denis Smirnov 0.0.1-alt1 - first build for Sisyphus haskell-filetrigger-0.0.5/haskell.filetrigger000075500000000000000000000006031205601166600213130ustar00rootroot00000000000000#!/bin/sh grep -P '/usr/lib(64)?/ghc-.*/package.conf.d' \ | sed 's!^\(/usr/lib/ghc-[^\/]*\).*$!\1!' \ | sed 's!^\(/usr/lib64/ghc-[^\/]*\).*$!\1!' \ | sort -u | while read path; do pkg="$path/ghc-pkg" if [ -x "$pkg" ]; then $pkg --global-package-db "$path/package.conf.d" recache $pkg --global-package-db "$path/package.conf.d" check || : fi done