use git snapshots

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-02-24 00:13:21 +03:00
parent 452dca8da2
commit 5d75d99adb
3 changed files with 11 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/meson-0.22.0.tar.gz
/meson-0.22.0-c6dbf98.tar.gz

View File

@ -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@gmail.com> - 0.22.0-4.git.c6dbf98
- Use development version
* Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
- Add ninja-build to requires

View File

@ -1 +1 @@
bc5b87fab1c921a50ead69b0951f172e meson-0.22.0.tar.gz
a933d75438a6597acf100781841e7709 meson-0.22.0-c6dbf98.tar.gz