summaryrefslogtreecommitdiffstats
path: root/misc/packaging/ninja.spec
diff options
context:
space:
mode:
authorPetr Hosek <petrhosek@gmail.com>2013-01-15 23:27:54 (GMT)
committerPetr Hosek <petrhosek@gmail.com>2013-01-15 23:27:54 (GMT)
commita592a50679d9d2837b47cf0871c4a642dc7f79d6 (patch)
tree1b95566249afe9c604e72a8327a4fa91878876b7 /misc/packaging/ninja.spec
parent3c0b8b2874a0291be8db990fc7e32f0b866adf42 (diff)
downloadNinja-a592a50679d9d2837b47cf0871c4a642dc7f79d6.zip
Ninja-a592a50679d9d2837b47cf0871c4a642dc7f79d6.tar.gz
Ninja-a592a50679d9d2837b47cf0871c4a642dc7f79d6.tar.bz2
Use correct Fedora versioning scheme
Diffstat (limited to 'misc/packaging/ninja.spec')
-rw-r--r--misc/packaging/ninja.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/packaging/ninja.spec b/misc/packaging/ninja.spec
index 3f31480..0f7aed6 100644
--- a/misc/packaging/ninja.spec
+++ b/misc/packaging/ninja.spec
@@ -1,12 +1,12 @@
Summary: Ninja is a small build system with a focus on speed.
Name: ninja
Version: %{ver}
-Release: %{rel}
+Release: %{rel}%{?dist}
Group: Development/Tools
License: Apache 2.0
URL: https://github.com/martine/ninja
-Source0: %{name}-%{version}-%{release}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
+Source0: %{name}-%{version}-%{rel}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{rel}
BuildRequires: re2c asciidoc
@@ -19,7 +19,7 @@ which has over 30,000 source files and whose other build systems (including one
seconds to start building after changing one file. Ninja is under a second.
%prep
-%setup -q -n %{name}-%{version}-%{release}
+%setup -q -n %{name}-%{version}-%{rel}
%build
echo Building..