commit 0a830826e1d893617549c5ccbc18c7a3865a9d6a Author: Peter Lemenkov lemenkov@gmail.com Date: Sun Nov 16 19:23:03 2014 +0300
Bootstrap ver. 0.8.2 with disabled tests
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
.gitignore | 1 + erlang-getopt.spec | 23 +++++++++++++---------- sources | 2 +- 3 files changed, 15 insertions(+), 11 deletions(-) --- diff --git a/.gitignore b/.gitignore index 44582ab..c800494 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /jcomellas-getopt-v0.5.2-0-g266caf4.tar.gz /getopt-0.6.0.tar.gz /jcomellas-getopt-v0.7.0-0-g346c766.tar.gz +/getopt-0.8.2.tar.gz diff --git a/erlang-getopt.spec b/erlang-getopt.spec index f69f5a5..7e1cfa5 100644 --- a/erlang-getopt.spec +++ b/erlang-getopt.spec @@ -1,19 +1,19 @@ %global realname getopt %global upstream jcomellas %global debug_package %{nil} -%global git_tag 346c766 -%global patchnumber 0
Name: erlang-%{realname} -Version: 0.7.0 -Release: 4%{?dist} +Version: 0.8.2 +Release: 0%{?dist} Summary: Erlang module to parse command line arguments using the GNU getopt syntax Group: Development/Libraries License: BSD -URL: http://github.com/jcomellas/getopt -# wget --content-disposition https://github.com/jcomellas/getopt/tarball/v0.7.0 -Source0: %{upstream}-%{realname}-v%{version}-%{patchnumber}-g%{git_tag}.tar.gz +URL: http://github.com/%%7Bupstream%7D/%%7Brealname%7D +%if 0%{?el7}%{?fedora} +VCS: scm:git:https://github.com/%%7Bupstream%7D/%%7Brealname%7D.git +%endif +Source0: https://github.com/%%7Bupstream%7D/%%7Brealname%7D/archive/v%%7Bversion%7D/%... BuildRequires: erlang-rebar Requires: erlang-erts%{?_isa} >= R13B Requires: erlang-stdlib%{?_isa} >= R13B @@ -24,18 +24,18 @@ Command-line parsing module that uses a syntax similar to that of GNU getopt.
%prep -%setup -q -n %{upstream}-%{realname}-%{git_tag} +%setup -q -n %{realname}-%{version} chmod 0644 examples/*.escript
%build rebar compile -v -rebar doc -v +#rebar doc -v
%check # BEWARE rebar needs bootstrapped getopt in case of an API change -rebar eunit -v +# rebar eunit -v
%install @@ -52,6 +52,9 @@ install -D -m 644 ebin/%{realname}.beam %{buildroot}%{_libdir}/erlang/lib/%{real
%changelog +* Sun Nov 16 2014 Peter Lemenkov lemenkov@gmail.com - 0.8.2-0 +- Bootstrap ver. 0.8.2 with disabled tests + * Sat Aug 16 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources index bbb32b0..b917649 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f58819f4af5e828861d6d3d3e2500fb2 jcomellas-getopt-v0.7.0-0-g346c766.tar.gz +6a4ecb86aa65e8994947317261f54b74 getopt-0.8.2.tar.gz
erlang@lists.fedoraproject.org