[arch-commits] Commit in mdadm/trunk (PKGBUILD mdadm_udev_install)

Tom Gundersen tomegun at archlinux.org
Wed May 2 12:15:14 UTC 2012


    Date: Wednesday, May 2, 2012 @ 08:15:13
  Author: tomegun
Revision: 158072

upgpkg: mdadm 3.2.3-3

move /lib/* to /usr/lib/

Modified:
  mdadm/trunk/PKGBUILD
  mdadm/trunk/mdadm_udev_install

--------------------+
 PKGBUILD           |   19 +++++++++++--------
 mdadm_udev_install |    2 +-
 2 files changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-02 11:54:49 UTC (rev 158071)
+++ PKGBUILD	2012-05-02 12:15:13 UTC (rev 158072)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet <jvinet at zeroflux.org>
 pkgname=mdadm
 pkgver=3.2.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
 arch=(i686 x86_64)
 license=('GPL')
@@ -20,13 +20,6 @@
         mdadm_udev_install
         disable-werror.patch)
 replaces=('raidtools')
-md5sums=('d789d6ecb9c1d5ebcc64f0fc52bca92f'
-         '6df172c8f77b280018cf87eb3d313f29'
-         '00cbed931db4f15b6ce49e3e7d433966'
-         '9b01e96b6c3c218fb61628c9281fe688'
-         'c8c0713f5c7da51822ee6f3911473a1c'
-         'cd258e1bf430c02a25f40b4329df9f57'
-         '4ad87b74a4bc9a34621280abe0e0c3e4')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -48,4 +41,14 @@
   install -D -m644 ../mdadm_udev_install $pkgdir/usr/lib/initcpio/install/mdadm_udev
   # symlink for backward compatibility
   ln -sf /usr/lib/initcpio/hooks/mdadm  $pkgdir/usr/lib/initcpio/hooks/raid
+  # move /lib/* to /usr/lib/
+  mv $pkgdir/lib/udev $pkgdir/usr/lib/
+  rm -rf $pkgdir/lib
 }
+md5sums=('d789d6ecb9c1d5ebcc64f0fc52bca92f'
+         '8333d405f550317c2bacd5510bf1cb60'
+         '00cbed931db4f15b6ce49e3e7d433966'
+         '9b01e96b6c3c218fb61628c9281fe688'
+         'fbb5542d9bdf87441a11dd7e7a0a17f8'
+         '2318b99701dba9b01a6891c62be7bc1c'
+         '4ad87b74a4bc9a34621280abe0e0c3e4')

Modified: mdadm_udev_install
===================================================================
--- mdadm_udev_install	2012-05-02 11:54:49 UTC (rev 158071)
+++ mdadm_udev_install	2012-05-02 12:15:13 UTC (rev 158072)
@@ -10,7 +10,7 @@
     fi
 
     add_binary "mdadm"
-    add_file "/lib/udev/rules.d/64-md-raid.rules"
+    add_file "/usr/lib/udev/rules.d/64-md-raid.rules"
 }
 
 help() {




More information about the arch-commits mailing list