[packages/lz4] - package -libs docs, noted download URL; pkgconfig doesn't seem to be used at build time
qboosh
qboosh at pld-linux.org
Sun Dec 18 11:04:26 CET 2016
commit bfc18eb56f953cf7fd5bc3d4c0bd54fe18cfec4a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 18 11:05:09 2016 +0100
- package -libs docs, noted download URL; pkgconfig doesn't seem to be used at build time
lz4.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/lz4.spec b/lz4.spec
index 1d8fa88..6777862 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -6,10 +6,10 @@ Release: 1
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: c8a1e198555fb0650448e498b7614ae5
URL: http://www.lz4.org/
-BuildRequires: pkgconfig
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -90,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT \
install -d $RPM_BUILD_ROOT/%{_lib}
-mv $RPM_BUILD_ROOT%{_libdir}/liblz4.so.* $RPM_BUILD_ROOT/%{_lib}
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/liblz4.so.* $RPM_BUILD_ROOT/%{_lib}
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/liblz4.so.*.*.*) \
$RPM_BUILD_ROOT%{_libdir}/liblz4.so
@@ -102,7 +102,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md NEWS
+%doc LICENSE NEWS README.md
%attr(755,root,root) %{_bindir}/lz4
%attr(755,root,root) %{_bindir}/lz4c
%attr(755,root,root) %{_bindir}/lz4cat
@@ -114,6 +114,7 @@ rm -rf $RPM_BUILD_ROOT
%files libs
%defattr(644,root,root,755)
+%doc lib/{LICENSE,README.md}
%attr(755,root,root) /%{_lib}/liblz4.so.*.*.*
%attr(755,root,root) %ghost /%{_lib}/liblz4.so.1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lz4.git/commitdiff/bfc18eb56f953cf7fd5bc3d4c0bd54fe18cfec4a
More information about the pld-cvs-commit
mailing list