Compare commits

..

No commits in common. "0a69d3c4653ac1065274b581062d85927a8c6fd5" and "cbf53bcc88ef44c8669b6a180167a0964cd7f5be" have entirely different histories.

4 changed files with 3 additions and 45 deletions

BIN
.erlang-getopt.yaml.swp Normal file

Binary file not shown.

View File

@ -1,46 +1,4 @@
%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
* Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.2-3 * Sat Aug 29 2020 wangyue <wangyue92@huawei.com> - -1
- 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/jcomellas/getopt git_url: https://github.com/
version_control: github version_control: github
src_repo: jcomellas/getopt src_repo:
tag_prefix: "^v" tag_prefix: "^v"
seperator: "." seperator: "."

Binary file not shown.