Accepting request 947238 from home:wagi

- Use osc_scm to manage upstream input source.

OBS-URL: https://build.opensuse.org/request/show/947238
OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=3
This commit is contained in:
Daniel Wagner 2022-01-18 14:34:33 +00:00 committed by Git OBS Bridge
parent a5accb9e29
commit 4b5a71b0d0
7 changed files with 41 additions and 6 deletions

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/linux-nvme/libnvme.git</param>
<param name="filename">libnvme</param>
<!-- <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> -->
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v1.0-rc0</param>
<param name="match-tag">v[01].[0-9]*</param>
<param name="versionrewrite-pattern">v([^+]*)-rc([0-9]+)</param>
<param name="versionrewrite-replacement">\1~\2</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/linux-nvme/libnvme.git</param>
<param name="changesrevision">f6cc9487ef8e272ac1dbb61a1df87585df2d2eb3</param>
</service>
</servicedata>

View File

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

3
libnvme-1.0~0.obscpio Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 18 14:26:47 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>
- Use osc_scm to manage upstream input source.
-------------------------------------------------------------------
Tue Jan 18 12:53:02 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>

4
libnvme.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: libnvme
version: 1.0~0
mtime: 1642181328
commit: c66a5a75973405090fd5f393f492c1cd5c6e4b56

View File

@ -16,7 +16,6 @@
#
%define sover 1
%define version_rc %(echo %{version} | sed 's/~/-rc/')
Name: libnvme
Version: 1.0~0
@ -24,7 +23,7 @@ Release: 0
Summary: Linux-native nvme device management library
License: LGPL-2.1
URL: https://github.com/linux-nvme/libnvme/
Source0: https://github.com/linux-nvme/libnvme/archive/v%{version_rc}.tar.gz#/%{name}-%{version_rc}.tar.gz
Source0: libnvme-%{version}.tar.gz
BuildRequires: meson >= 0.47.0
BuildRequires: gcc gcc-c++ make
BuildRequires: libuuid-devel
@ -64,7 +63,7 @@ system.
Python binding part.
%prep
%autosetup -p1 -n %{name}-%{version_rc}
%autosetup -p1 -n %{name}-%{version}
%build
%meson \