Compare commits
10 Commits
cbf53bcc88
...
0a69d3c465
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a69d3c465 | ||
|
|
e27fced432 | ||
|
|
a2da39175c | ||
|
|
7d4db5d577 | ||
|
|
e072fa2fc7 | ||
|
|
89abdde421 | ||
|
|
d2217f04d1 | ||
|
|
c5febbc028 | ||
|
|
f619167638 | ||
|
|
59811d676f |
Binary file not shown.
@ -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
|
||||||
|
|||||||
@ -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
BIN
getopt-1.0.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user