commit 08e703394b73bd0ba28a8947c0d71474300f15d6
Author: Jakub Bogusz <[email protected]>
Date:   Thu Sep 5 20:14:31 2024 +0200

    - fix paths in .pc file; release 2

 lz4.spec | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/lz4.spec b/lz4.spec
index 1f211da..e12b569 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -2,14 +2,14 @@ Summary:      Hash-based Predictive Lempel-Ziv compressor
 Summary(pl.UTF-8):     Kompresor wykorzystujący metodę Lempel-Ziv z predykcją 
opartą na haszach
 Name:          lz4
 Version:       1.10.0
-Release:       1
+Release:       2
 Epoch:         1
 License:       BSD (library), GPL v2+ (CLI utility)
 Group:         Applications
 #Source0Download: https://github.com/lz4/lz4/releases
 Source0:       
https://github.com/lz4/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: dead9f5f1966d9ae56e1e32761e4e675
-URL:           http://www.lz4.org/
+URL:           https://lz4.org/
 BuildRequires: pkgconfig
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -78,18 +78,22 @@ Statyczna biblioteka kompresora LZ4.
 
 %build
 %{__make} -j1 \
+       CC="%{__cc}" \
        CFLAGS="%{rpmcflags} %{rpmcppflags}" \
        LDFLAGS="%{rpmldflags}" \
-       CC="%{__cc}" \
+       prefix=%{_prefix} \
+       libdir=%{_libdir} \
+       includedir=%{_includedir} \
        V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-       PREFIX=%{_prefix} \
-       LIBDIR=%{_libdir} \
-       INCLUDEDIR=%{_includedir} \
-       MANDIR=%{_mandir} \
+       prefix=%{_prefix} \
+       libdir=%{_libdir} \
+       includedir=%{_includedir} \
+       mandir=%{_mandir} \
        INSTALL="install -p" \
        DESTDIR=$RPM_BUILD_ROOT \
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lz4.git/commitdiff/08e703394b73bd0ba28a8947c0d71474300f15d6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to