[packages/travis-lint] new, version 1.7.0

glen glen at pld-linux.org
Wed Jan 1 19:40:55 CET 2014


commit b2173a9ab01105961081f79d046f3c5e1fda4dbd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 1 20:40:42 2014 +0200

    new, version 1.7.0

 travis-lint.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/travis-lint.spec b/travis-lint.spec
new file mode 100644
index 0000000..5d9fb56
--- /dev/null
+++ b/travis-lint.spec
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+Summary:	Checks your .travis.yml for possible issues, deprecations and so on
+Name:		travis-lint
+Version:	1.7.0
+Release:	1
+License:	GPL v2+ or Ruby
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{name}-%{version}.gem
+# Source0-md5:	5b6d3e49c95c7f62955ee1e2d5d076be
+URL:		http://github.com/travis-ci
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	sed >= 4.0
+%if %{with tests}
+BuildRequires:	ruby-rspec < 3
+BuildRequires:	ruby-rspec >= 2.8
+%endif
+Requires:	ruby-hashr < 0.1
+Requires:	ruby-hashr >= 0.0.22
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+travis-lint is a tool that check your .travis.yml for possible issues,
+deprecations and so on. Recommended for all travis-ci.org users.
+
+%prep
+%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/travis-lint
+%dir %{ruby_vendorlibdir}/travis
+%{ruby_vendorlibdir}/travis/lint.rb
+%{ruby_vendorlibdir}/travis/lint
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/travis-lint.git/commitdiff/b2173a9ab01105961081f79d046f3c5e1fda4dbd



More information about the pld-cvs-commit mailing list