Fix build with gcc15 #1
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -21,3 +21,5 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.?z filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
16
_service
Normal file
16
_service
Normal file
@@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/libnxz/power-gzip</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">libnxz</param>
|
||||
</service>
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/libnxz/power-gzip</param>
|
||||
<param name="changesrevision">2f1ae5450cac8cc5f93941fd099fbe319e55a319</param></service></servicedata>
|
||||
3
libnxz-0.64+git4.2f1ae54.tar.xz
Normal file
3
libnxz-0.64+git4.2f1ae54.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5015741a98e63352eba7277e71cb49c393b296bea743a740fa9234d1a979aacc
|
||||
size 1166068
|
||||
BIN
libnxz-0.64.tar.gz
LFS
BIN
libnxz-0.64.tar.gz
LFS
Binary file not shown.
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 22 08:45:03 UTC 2025 - Michal Suchanek <msuchanek@suse.de>
|
||||
|
||||
- Fix URL in spec file
|
||||
- Update to version 0.64+git4.2f1ae54:
|
||||
* lib/nx_crc : Fix compile error with gcc15
|
||||
* Changed README.md instructions to substitute zlib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 15 09:35:03 UTC 2023 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
|
||||
12
libnxz.spec
12
libnxz.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnxz
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,13 +19,13 @@
|
||||
%global soversion 0
|
||||
%define libname %{name}%{soversion}
|
||||
Name: libnxz
|
||||
Version: 0.64
|
||||
Version: 0.64+git4.2f1ae54
|
||||
Release: 0
|
||||
Summary: Zlib implementation for POWER processors
|
||||
License: Apache-2.0 OR GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/%{name}/power-gzip
|
||||
Source: %{url}/archive/v%{version}.tar.gz#:/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/libnxz/power-gzip
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
@@ -52,11 +52,11 @@ libnxz implements a zlib-compatible API for Linux userspace programs that exploi
|
||||
This package contains the development files for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n power-gzip-%{version}
|
||||
%autosetup -p1
|
||||
dos2unix doc/Addendum-NX-GZIP-for-PowerVM.txt
|
||||
|
||||
%build
|
||||
export CFLAGS="-ffat-lto-objects %optflags"
|
||||
export CFLAGS="-ffat-lto-objects %{optflags}"
|
||||
%configure --enable-zlib-api
|
||||
%make_build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user