]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Auto-fill the rasdaemon.spec version
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 20 May 2013 22:28:34 +0000 (19:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 20 May 2013 22:33:32 +0000 (19:33 -0300)
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 <mchehab@redhat.com>
configure.ac
misc/rasdaemon.spec.in [moved from misc/rasdaemon.spec with 96% similarity]

index 3ca33c45d66af33e9dd7a2d34551d23a78fcdc84..da3bc09f91937aea354e19f04ddf3f58d70f5e67 100644 (file)
@@ -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
 ])
similarity index 96%
rename from misc/rasdaemon.spec
rename to misc/rasdaemon.spec.in
index 549b8ebf6785e6cfcf1181fc72be96a4417306ac..928a022b4e7d7e30f6b42d4d099c250441949f47 100644 (file)
@@ -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 <mchehab@redhat.com> 0.2.0.fc19
+* Wed May  8 2013 Mauro Carvalho Chehab <mchehab@redhat.com> 0.2.0-1
 - Package created