[meson] use git snapshots
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Mon Feb 23 21:13:37 UTC 2015
commit 5d75d99adb13946e5749f55e2be6b9ec28b3b2af
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Tue Feb 24 00:13:21 2015 +0300
use git snapshots
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
.gitignore | 1 +
meson.spec | 12 +++++++++---
sources | 2 +-
3 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b22c39f..121bc05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/meson-0.22.0.tar.gz
+/meson-0.22.0-c6dbf98.tar.gz
diff --git a/meson.spec b/meson.spec
index 89f5df0..8b0eb24 100644
--- a/meson.spec
+++ b/meson.spec
@@ -1,13 +1,16 @@
%global __python %{__python3}
+%global commit c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: meson
Version: 0.22.0
-Release: 3%{?dist}
+Release: 4.git.%{shortcommit}%{?dist}
Summary: High productivity build system
License: ASL 2.0
URL: https://jpakkane.github.io/meson/
-Source0: https://github.com/jpakkane/meson/archive/%{version}/%{name}-%{version}.tar.gz
+#Source0: https://github.com/jpakkane/meson/archive/%{version}/%{name}-%{version}.tar.gz
+Source0: https://github.com/jpakkane/meson/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
BuildRequires: python3-devel ninja-build
# Test deps
@@ -23,7 +26,7 @@ support for modern software development tools and practices, such as
unit tests, coverage reports, Valgrind, CCache and the like.
%prep
-%setup -q
+%setup -qn %{name}-%{commit}
%build
# Nothing to build
@@ -45,6 +48,9 @@ chmod +x %{buildroot}%{_bindir}/meson*
%{_mandir}/man1/%{name}*.1.*
%changelog
+* Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.22.0-4.git.c6dbf98
+- Use development version
+
* Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.22.0-3
- Add ninja-build to requires
diff --git a/sources b/sources
index afbbeaa..5911b65 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc5b87fab1c921a50ead69b0951f172e meson-0.22.0.tar.gz
+a933d75438a6597acf100781841e7709 meson-0.22.0-c6dbf98.tar.gz
More information about the scm-commits
mailing list