nix.spec.in: Build from the .tar.xz file.

The Nix download page only mentions the .xz source tarball, so that's what
people are likely to have available. This means that somebody who downloads a
Nix source tarball can turn it directly into an RPM with `rpmbuild -ta
nix-*.tar.xz`.
This commit is contained in:
Timothy Allen 2016-07-01 13:20:41 +10:00
parent 85ec6a6a44
commit f32c6ed873

View file

@ -10,7 +10,7 @@ License: LGPLv2+
Group: Applications/System Group: Applications/System
%endif %endif
URL: http://nixos.org/ URL: http://nixos.org/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.xz
%if 0%{?el5} %if 0%{?el5}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%endif %endif