summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-04 11:08:41 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-04 11:21:13 +0100
commit80b691316c4b15e69c63c285b8ed6cc72fb95e93 (patch)
tree9013536ebdd8942d7de06276f47ac062a58d77b5
parent4ee6001f95908578a1693c0fbf7b7fdc309b86c5 (diff)
downloadguix-80b691316c4b15e69c63c285b8ed6cc72fb95e93.tar.gz
Fix version in nix.spec
http://hydra.nixos.org/build/8715502
-rw-r--r--nix.spec.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 66e55ba158..8f5df9241a 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 \