10
0

- Rename to lua-messagepack to be used by all namespaced variants

- Add documentation to the package.

- Fix source URL.

- Initial version based on devel:languages:lua/lua-messagepack

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-messagepack?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2017-07-13 18:46:42 +00:00
committed by Git OBS Bridge
parent 4fe5f4930e
commit 04509b8602
2 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 13 18:43:33 UTC 2017 - tchvatal@suse.com
- Rename to lua-messagepack to be used by all namespaced variants
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 8 12:24:19 UTC 2015 - ronisbr@gmail.com Tue Dec 8 12:24:19 UTC 2015 - ronisbr@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package lua-MessagePack # spec file for package lua-messagepack
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,7 @@
%define mod_name MessagePack %define mod_name MessagePack
%define lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2) Name: lua-%{mod_name}
Name: lua51-%{mod_name}
Version: 0.3.3 Version: 0.3.3
Release: 0 Release: 0
Summary: MessagePack is an efficient binary serialization format Summary: MessagePack is an efficient binary serialization format
@@ -26,8 +25,8 @@ License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
Url: http://fperrad.github.io/lua-MessagePack/ Url: http://fperrad.github.io/lua-MessagePack/
Source: https://github.com/fperrad/lua-MessagePack/archive/%{version}.tar.gz Source: https://github.com/fperrad/lua-MessagePack/archive/%{version}.tar.gz
BuildRequires: lua51 BuildRequires: lua-devel
Requires: lua51 Requires: lua
BuildArch: noarch BuildArch: noarch
%description %description
@@ -50,8 +49,7 @@ And it's really fast with LuaJIT.
make PREFIX=%{_prefix} DESTDIR=%{buildroot} LUAVER=%{lua_version} install make PREFIX=%{_prefix} DESTDIR=%{buildroot} LUAVER=%{lua_version} install
%files %files
%defattr(-,root,root)
%doc CHANGES COPYRIGHT README.md %doc CHANGES COPYRIGHT README.md
%{_datadir}/lua/%{lua_version}/ %{lua_noarchdir}
%changelog %changelog