[packages/pixz] update BR; adapter; cosmetics
glen
glen at pld-linux.org
Wed Mar 13 12:39:20 CET 2013
commit 98d961e40ba1e3b76bd39ffeefd8d35491a64e96
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 13 13:37:34 2013 +0200
update BR; adapter; cosmetics
libarchive-devel: -- read.c:3:21: fatal error: archive.h: No such file or directory
openssl-devel: -- /usr/bin/ld: cannot find -lcrypto
pixz.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/pixz.spec b/pixz.spec
index 21761c8..bbb0c5f 100644
--- a/pixz.spec
+++ b/pixz.spec
@@ -1,12 +1,16 @@
+# TODO
+# - fill proper gcc BR for -pie
Summary: A parallel, indexing version of XZ
Name: pixz
Version: 1.0.2
Release: 1
License: BSD-2-Clause
Group: Applications/Archiving
-Source0: http://sourceforge.net/projects/pixz/files/%{name}-%{version}.tgz
+Source0: http://downloads.sourceforge.net/pixz/%{name}-%{version}.tgz
# Source0-md5: 90034c862d7c9340b76611f3fb909855
URL: https://github.com/vasi/pixz
+BuildRequires: libarchive-devel
+BuildRequires: openssl-devel
BuildRequires: rpmbuild(macros)
BuildRequires: xz-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,11 +27,9 @@ export LDFLAGS="$LDFLAGS -lm -lcrypto -pie"
%install
rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT/%{_bindir}
-install -d $RPM_BUILD_ROOT/%{_mandir}/man1
-install pixz $RPM_BUILD_ROOT/%{_bindir}
-install pixz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p pixz $RPM_BUILD_ROOT/%{_bindir}
+cp -p pixz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pixz.git/commitdiff/98d961e40ba1e3b76bd39ffeefd8d35491a64e96
More information about the pld-cvs-commit
mailing list