]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd.spec
up to 12749 (x32 fixes)
[packages/geninitrd.git] / geninitrd.spec
index f615527ed6abb76a8203f6552326a4e8a314af13..8e868e9ba60cc318e4a1b8ade2aa6cc0a65a7bb3 100644 (file)
@@ -6,20 +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:       12582
+Version:       12749
 Release:       1
 License:       GPL
 Group:         Applications/System
 Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: 1b4ed4548936a52f297178a91450aaef
-Patch0:                %{name}-romfs.patch
-Patch1:                %{name}-gzip-compressor.patch
-#Patch2:               %{name}-svn.patch
-URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/geninitrd
+# Source0-md5: f26733e51d545d71feff72c16abf1f6b
+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
@@ -31,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
@@ -92,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"
-%patch0 -p1
-%patch1 -p1
-%endif
-#%patch2 -p0
+%setup -qc
+mv %{name}-%{version}*/* .
+#%patch0 -p1
 
 %build
 %{__make}
This page took 0.128899 seconds and 4 git commands to generate.