SHA256
10
0
forked from pool/lua-vstruct

Accepting request 1163830 from devel:languages:lua

- Update to version 2.2.0
  * Backreference support added
- Switch from xz compression to zstd

OBS-URL: https://build.opensuse.org/request/show/1163830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-vstruct?expand=0&rev=3
This commit is contained in:
2024-04-02 14:41:01 +00:00
committed by Git OBS Bridge
5 changed files with 22 additions and 12 deletions

View File

@@ -1,16 +1,16 @@
<services> <services>
<service mode="manual" name="obs_scm"> <service mode="manual" name="obs_scm">
<param name="url">https://github.com/ToxicFrog/vstruct</param> <param name="url">https://github.com/ToxicFrog/vstruct</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">b6889e3b275e9f9532b5dff4917e903b17e22730</param> <param name="revision">227433d5d0ea69760c8ada1954e22d318aaafc30</param>
<param name="versionrewrite-pattern">v(\d+.\d+.\d+)</param> <param name="versionrewrite-pattern">v(\d+.\d+.\d+)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
</service> </service>
<service mode="manual" name="tar" /> <service mode="manual" name="tar" />
<service mode="manual" name="recompress"> <service mode="manual" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">zst</param>
</service> </service>
<service mode="manual" name="set_version"/> <service mode="manual" name="set_version"/>
</services> </services>

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 1 02:15:50 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Update to version 2.2.0
* Backreference support added
- Switch from xz compression to zstd
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de> Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package lua-vstruct
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@@ -20,16 +20,17 @@
%define mod_name vstruct %define mod_name vstruct
%define rock_version 2.1.1-1 %define rock_version 2.1.1-1
Version: 2.1.1+git2 Version: 2.2.0
Release: 0 Release: 0
Summary: Lua library to manipulate binary data Summary: Lua library to manipulate binary data
License: MIT License: MIT
Group: Development/Languages/Other Group: Development/Languages/Other
URL: https://github.com/ToxicFrog/vstruct URL: https://github.com/ToxicFrog/vstruct
Source: %{mod_name}-%{version}.tar.xz Source: %{mod_name}-%{version}.tar.zst
BuildRequires: lua-macros
BuildRequires: %{flavor}-luarocks
BuildRequires: %{flavor}-devel BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luarocks
BuildRequires: lua-macros
BuildRequires: zstd
Requires: %{flavor} Requires: %{flavor}
%lua_provides %lua_provides
%if "%{flavor}" == "" %if "%{flavor}" == ""
@@ -53,6 +54,8 @@ A Lua library for packing and unpacking binary data, supporting arbitrary
%install %install
%luarocks_install *.rock %luarocks_install *.rock
%check
%files %files
%{lua_noarchdir}/%{mod_name} %{lua_noarchdir}/%{mod_name}
%{luarocks_treedir}/%{mod_name} %{luarocks_treedir}/%{mod_name}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c08828e6faf16b75a41227890e818a153f51ca6bcf343ef6b2a6acac2492eb79
size 35216

3
vstruct-2.2.0.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bddbb9c355d36266bb7539f8b22c52d113c0e1e98731bf110f83c4cc03c9bf8
size 38968