[packages/dracut] - rel 3 - set version as upstream does

baggins baggins at pld-linux.org
Thu Mar 21 20:44:54 CET 2013


commit a7290eb0dd8305d9d9ddc229468f6baa6945466b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 21 20:44:37 2013 +0100

    - rel 3
    - set version as upstream does

 dracut.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/dracut.spec b/dracut.spec
index fe7b58f..6c50ec0 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -2,7 +2,7 @@ Summary:	Initramfs generator using udev
 Summary(pl.UTF-8):	Generator initramfs wykorzystujący udev
 Name:		dracut
 Version:	026
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Base
 Source0:	http://ftp.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
@@ -210,6 +210,8 @@ install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d/01-dist.conf
 install -p dracut.conf.d/fips.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dracut.conf.d/40-fips.conf
 install -p dracut.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/dracut_log
 
+echo "DRACUT_VERSION=%{version}-%{release}" >$RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh
+
 # create compat symlink
 ln -s %{_bindir}/dracut $RPM_BUILD_ROOT/sbin/dracut
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dracut.git/commitdiff/a7290eb0dd8305d9d9ddc229468f6baa6945466b



More information about the pld-cvs-commit mailing list