Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
0a69d3c465
!4 Fix test failure
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-07-23 07:56:18 +00:00
starlet-dx
e27fced432 Fix test failure 2023-07-23 15:28:51 +08:00
openeuler-ci-bot
a2da39175c
!3 Enable test
From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-21 01:15:40 +00:00
wk333
7d4db5d577 Enable test 2023-06-21 09:01:42 +08:00
openeuler-ci-bot
e072fa2fc7
!2 Update to 1.0.2
From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-20 12:00:56 +00:00
wk333
89abdde421 Update to 1.0.2 2023-06-20 19:40:32 +08:00
openeuler-ci-bot
d2217f04d1 !1 package init
From: @wang_yue111
Reviewed-by: 
Signed-off-by:
2020-09-18 18:34:18 +08:00
wang_yue111
c5febbc028 package init 2020-08-31 11:01:19 +08:00
wang_yue111
f619167638 package init 2020-08-29 18:09:51 +08:00
wang_yue111
59811d676f package init 2020-08-29 17:51:16 +08:00
4 changed files with 45 additions and 3 deletions

Binary file not shown.

View File

@ -1,4 +1,46 @@
%global realname getopt
%global upstream jcomellas
%global debug_package %{nil}
Name: erlang-%{realname}
Version: 1.0.2
Release: 3
Summary: Erlang module to parse command line arguments using the GNU getopt syntax
License: BSD
URL: https://github.com/%{upstream}/%{realname}
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
Source0: https://github.com/%{upstream}/%{realname}/archive/v%{version}/%{realname}-%{version}.tar.gz
BuildRequires: erlang-rebar
BuildRequires: erlang-eunit
%description
Command-line parsing module that uses a syntax similar to that of GNU getopt.
%prep
%autosetup -p 1 -n %{realname}-%{version}
chmod 0644 examples/*.escript
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test}
%files
%license LICENSE.txt
%doc README.md examples/
%{erlang_appdir}/
%changelog %changelog
* Sat Aug 29 2020 wangyue <wangyue92@huawei.com> - -1 * Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.2-3
- Fix test failure
* Tue Jun 20 2023 wangkai <13474090681@163.com> - 1.0.2-2
- Enable test
* Tue Jun 20 2023 wangkai <13474090681@163.com> - 1.0.2-1
- Update to 1.0.2
* Mon Aug 31 2020 wangyue <wangyue92@huawei.com> - 1.0.1-1
- package init - package init

View File

@ -1,5 +1,5 @@
git_url: https://github.com/ git_url: https://github.com/jcomellas/getopt
version_control: github version_control: github
src_repo: src_repo: jcomellas/getopt
tag_prefix: "^v" tag_prefix: "^v"
seperator: "." seperator: "."

BIN
getopt-1.0.2.tar.gz Normal file

Binary file not shown.