[make-initrd] [PATCH 1/2] spec: minor cleanup

Alexey Gladkov legion at altlinux.ru
Wed Aug 18 20:05:49 MSK 2021


On Wed, Aug 18, 2021 at 07:21:14PM +0300, Michael Shigorin wrote:
> ---
>  make-initrd.spec | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/make-initrd.spec b/make-initrd.spec
> index daf61fd..bc48e97 100644
> --- a/make-initrd.spec
> +++ b/make-initrd.spec
> @@ -6,6 +6,7 @@ Summary: Creates an initramfs image
>  License: GPL-3.0
>  Group: System/Base
>  
> +Url: http://altlinux.org/make-initrd

Нет. Не http точно. Кроме того, это не страница проекта. Это довольно
устаревшая страница на wiki. Если ты считаешь, что стоит добавить урл, то:

https://github.com/osboot/make-initrd

>  Packager: Alexey Gladkov <legion at altlinux.ru>
>  
>  BuildRequires: autoconf
> @@ -58,7 +59,7 @@ AutoReq: noshell, noshebang
>  Source0: %name-%version.tar
>  
>  %description
> -make-initrd is a new, uevent-driven initramfs infrastructure based around udev.
> +make-initrd is an uevent-driven initramfs infrastructure based around udev.
>  
>  %package devmapper
>  Summary: device-mapper module for %name
> @@ -139,7 +140,7 @@ Requires: mdadm
>  AutoReq: noshell, noshebang
>  
>  %description mdadm
> -Mdadm module for %name
> +mdadm module for %name
>  
>  %package ucode
>  Summary: CPU microcode module for %name
> @@ -202,7 +203,7 @@ Feature adds smart card daemon and smart card utilities.
>  %define _libexecdir %_prefix/libexec
>  
>  %prep
> -%setup -q
> +%setup
>  
>  %build
>  ./autogen.sh
> @@ -221,7 +222,7 @@ Feature adds smart card daemon and smart card utilities.
>  make
>  
>  %install
> -%make_install DESTDIR=%buildroot install
> +%makeinstall_std
>  
>  sed -i \
>  	-e 's@\.\./features/@%_datadir/%name/features/@g' \
> -- 
> 2.25.4
> 

-- 
Rgrds, legion



More information about the Make-initrd mailing list