From: Mauro Carvalho Chehab Date: Mon, 20 May 2013 22:28:34 +0000 (-0300) Subject: Auto-fill the rasdaemon.spec version X-Git-Tag: v0.3.0~13 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5adc4d5f481577d55c7a9bcbdda5d14cb7688c05;p=users%2Fmchehab%2Frasdaemon.git Auto-fill the rasdaemon.spec version Instead of keeping it static, let ./configure to fill the version of the rasdaemon.spec. That makes it a little easier to be used on rpm-based distros. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/configure.ac b/configure.ac index 3ca33c4..da3bc09 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,7 @@ AC_CONFIG_FILES([ man/Makefile man/ras-mc-ctl.8 man/rasdaemon.1 + misc/rasdaemon.spec util/Makefile util/ras-mc-ctl ]) diff --git a/misc/rasdaemon.spec b/misc/rasdaemon.spec.in similarity index 96% rename from misc/rasdaemon.spec rename to misc/rasdaemon.spec.in index 549b8eb..928a022 100644 --- a/misc/rasdaemon.spec +++ b/misc/rasdaemon.spec.in @@ -1,5 +1,5 @@ -Name: rasdaemon -Version: 0.2.0 +Name: @PACKAGE@ +Version: @PACKAGE_VERSION@ Release: 1%{?dist} Summary: Utility to receive RAS error tracings Group: Applications/System @@ -45,6 +45,6 @@ rm %{buildroot}/usr/include/*.h %{_unitdir}/*.service %changelog -* Wed May 8 2013 Mauro Carvalho Chehab 0.2.0.fc19 +* Wed May 8 2013 Mauro Carvalho Chehab 0.2.0-1 - Package created