From 80b691316c4b15e69c63c285b8ed6cc72fb95e93 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Tue, 4 Feb 2014 11:08:41 +0100
Subject: [PATCH] Fix version in nix.spec

http://hydra.nixos.org/build/8715502
---
 nix.spec.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nix.spec.in b/nix.spec.in
index 66e55ba15..8f5df9241 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -3,14 +3,14 @@
 
 Summary: The Nix software deployment system
 Name: nix
-Version: @version@
+Version: @PACKAGE_VERSION@
 Release: 2%{?dist}
 License: LGPLv2+
 %if 0%{?rhel}
 Group: Applications/System
 %endif
 URL: http://nixos.org/
-Source0: %{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.bz2
 %if 0%{?el5}
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 %endif
@@ -29,7 +29,7 @@ BuildRequires: sqlite-devel
 
 # Hack to make that shitty RPM scanning hack shut up.
 Provides: perl(Nix::SSH)
-                                                               
+
 %description
 Nix is a purely functional package manager. It allows multiple
 versions of a package to be installed side-by-side, ensures that
@@ -138,7 +138,7 @@ done
 chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/nix.sh
 
 # systemd not available on RHEL yet
-%if ! 0%{?rhel} 
+%if ! 0%{?rhel}
 # install systemd service descriptor
 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system
 cp -p misc/systemd/nix-daemon.service \
-- 
GitLab