public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pigz] rawhide: honer build flags + spec cleanup and modernization
@ 2026-06-10 6:01 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-10 6:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pigz
Branch : rawhide
Commit : 2924a4aa7c129bd5366be63de96fa99d27686784
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-10T03:00:12-03:00
Stats : +11/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pigz/c/2924a4aa7c129bd5366be63de96fa99d27686784?branch=rawhide
Log:
honer build flags + spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/pigz.spec b/pigz.spec
index 3a39de6..38289f7 100644
--- a/pigz.spec
+++ b/pigz.spec
@@ -2,14 +2,16 @@ Name: pigz
Version: 2.8
Release: %autorelease
Summary: Parallel implementation of gzip
-License: Zlib
+License: Zlib AND Apache-2.0
URL: https://www.zlib.net/pigz/
-Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
+Source: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: ncompress
BuildRequires: zlib-devel
+Provides: bundled(zopfli)
+
%description
pigz, which stands for parallel implementation of gzip,
is a fully functional replacement for gzip that exploits
@@ -20,21 +22,22 @@ compressing data.
%autosetup -p1
%build
-%make_build CFLAGS="$RPM_OPT_FLAGS"
+%make_build CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%install
-install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
-pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
-install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
+install -D -p -m 0755 pigz %{buildroot}%{_bindir}/pigz
+ln -f %{buildroot}%{_bindir}/pigz %{buildroot}%{_bindir}/unpigz
+install -D -p -m 0644 pigz.1 %{buildroot}%{_mandir}/man1/pigz.1
%check
-make tests CFLAGS="$RPM_OPT_FLAGS"
+%make_build tests CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%files
+%license zopfli/COPYING
%doc pigz.pdf README
%{_bindir}/pigz
%{_bindir}/unpigz
-%{_datadir}/man/man1/pigz.*
+%{_mandir}/man1/pigz.1*
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 6:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 6:01 [rpms/pigz] rawhide: honer build flags + spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox