SHA256
1
0
forked from pool/inxi

Accepting request 1164975 from home:malcolmlewis:branches:utilities

- Updated to version 3.3.33-1+3:
  + A quick point release, one critical bug fix, and a few new
    features and enhancements.
  + Code cleanup.
- Add service to pull from git and avoid tarball release.
- Adjust spec file for service use.

OBS-URL: https://build.opensuse.org/request/show/1164975
OBS-URL: https://build.opensuse.org/package/show/utilities/inxi?expand=0&rev=74
This commit is contained in:
Alexei Sorokin 2024-04-05 15:02:07 +00:00 committed by Git OBS Bridge
parent 5087df6651
commit e2377994b7
7 changed files with 47 additions and 8 deletions

View File

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

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://codeberg.org/smxi/inxi.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
<param name="filename">inxi</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="buildtime" name="tar"/>
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://codeberg.org/smxi/inxi.git</param>
<param name="changesrevision">fe67add5ff6f4d5e996eb87bfeeca8d4ffc80a1c</param></service></servicedata>

3
inxi-3.3.33-1+3.obscpio Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Apr 04 14:17:02 UTC 2024 - malcolmlewis@opensuse.org
- Updated to version 3.3.33-1+3:
+ A quick point release, one critical bug fix, and a few new
features and enhancements.
+ Code cleanup.
- Add service to pull from git and avoid tarball release.
- Adjust spec file for service use.
-------------------------------------------------------------------
Wed Feb 7 12:32:44 UTC 2024 - malcolmlewis@opensuse.org

4
inxi.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: inxi
version: 3.3.33-1+3
mtime: 1711679904
commit: fe67add5ff6f4d5e996eb87bfeeca8d4ffc80a1c

View File

@ -17,14 +17,14 @@
#
%define _version 3.3.33-1
%define _version 3.3.33-1+3
Name: inxi
Version: 3.3.33
Version: 3.3.33+3
Release: 0
Summary: A system information script
License: GPL-3.0-or-later
URL: https://codeberg.org/smxi/inxi
Source: https://codeberg.org/smxi/inxi/archive/%{_version}.tar.gz#/%{_version}.tar.gz
Source: %{name}-%{_version}.tar.xz
Requires: pciutils
Requires: procps
Requires: util-linux
@ -55,17 +55,20 @@ infobash. The primary purpose of inxi is for support, and sys admin
use. inxi is used widely for forum and IRC support.
%prep
%autosetup -n %{name}
%autosetup -n %{name}-%{_version}
sed -i '/^#!/s/env \(.*\)$/\1/' %{name}
%build
# Nothing to build.
## Nothing to build.
%install
install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
install -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%check
## Empty section added as per rpmlint report
%files
%license LICENSE.txt
%doc inxi.changelog README.txt