]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd.spec
- use git patch
[packages/geninitrd.git] / geninitrd.spec
index 75f1d783e129f4bd1d92cf80200db3559cd8bcdc..c99bb759c5f3b806d5f7ef9357f25a062b11e235 100644 (file)
@@ -6,21 +6,18 @@
 Summary:       Creates an initial ramdisk image for preloading modules
 Summary(pl.UTF-8):     Narzędzie do tworzenia inicjalnego ramdysku używanego przy starcie systemu
 Name:          geninitrd
-Version:       12639
-Release:       1
+Version:       12757
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: bd47ea3ca6dbeea39af6bc5eb1d12e5a
-Patch0:                %{name}-romfs.patch
-Patch1:                %{name}-gzip-compressor.patch
-# svn diff http://svn.pld-linux.org/svn/geninitrd/trunk -r 12585:HEAD > geninitrd-svn.patch
-Patch2:                %{name}-svn.patch
-URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/geninitrd
+# Source0-md5: 3fb153489c3c245e5c1ee4bbc333acb4
+Patch0:                %{name}-git.patch
+URL:           http://git.pld-linux.org/?p=projects/geninitrd.git
 BuildRequires: xmlto >= 0:0.0.18-1
 Requires:      /usr/bin/ldd
 Requires:      awk
-Requires:      busybox-initrd >= 1.1.0
+Requires:      busybox-initrd >= 1.22.1-2
 Requires:      coreutils
 Requires:      cpio
 Requires:      fileutils
@@ -32,23 +29,16 @@ Requires:   pci-database >= 0.4
 Requires:      rc-scripts >= 0.2.7
 Requires:      tar
 Requires:      virtual(module-tools)
-%if "%{pld_release}" == "ti"
-Requires:      lvm2-initrd
-Requires:      mdadm-initrd >= 1.12.0-1
-%else
-# otherwise LVM subsystem is not enabled in geninitrd
-Suggests:      lvm2-initrd
-# without this softraid installations of PLD fail
-Suggests:      mdadm-initrd >= 1.12.0-1
-%endif
+Requires:      xz
 Suggests:      genromfs
 Suggests:      pciutils
-# suggest for blkid
-%if "%{pld_release}" != "ac"
-Suggests:      util-linux-initrd
-%endif
 Obsoletes:     mkinitrd
+# suggest for blkid
 %if "%{pld_release}" == "ac"
+# otherwise LVM subsystem is not enabled in geninitrd
+Suggests:      lvm2-initrd
+# without this softraid installations of PLD fail
+Suggests:      mdadm-initrd >= 1.12.0-1
 Conflicts:     grubby < 5.0.4-3.1
 %else
 Conflicts:     grubby < 6.0.24-3
@@ -93,12 +83,9 @@ startu z initrd. Skrypt geninitrd generuje obraz ramdysku na podstawie
 bieżących informacji zawartych w /etc/modules.conf.
 
 %prep
-%setup -q
-%if "%{pld_release}" == "ti"
+%setup -qc
+mv %{name}-%{version}*/* .
 %patch0 -p1
-%patch1 -p1
-%endif
-#%patch2 -p0
 
 %build
 %{__make}
This page took 0.12124 seconds and 4 git commands to generate.