packages: crossnacl-newlib/crossnacl-newlib.spec - use hardlinks for duplic...

glen glen at pld-linux.org
Fri Jul 6 16:19:39 CEST 2012


Author: glen                         Date: Fri Jul  6 14:19:39 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use hardlinks for duplicate content

---- Files affected:
packages/crossnacl-newlib:
   crossnacl-newlib.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/crossnacl-newlib/crossnacl-newlib.spec
diff -u packages/crossnacl-newlib/crossnacl-newlib.spec:1.1 packages/crossnacl-newlib/crossnacl-newlib.spec:1.2
--- packages/crossnacl-newlib/crossnacl-newlib.spec:1.1	Fri Jul  6 16:12:39 2012
+++ packages/crossnacl-newlib/crossnacl-newlib.spec	Fri Jul  6 16:19:34 2012
@@ -32,6 +32,7 @@
 URL:		http://sourceware.org/newlib/
 BuildRequires:	crossnacl-binutils
 BuildRequires:	crossnacl-gcc
+BuildRequires:	fslint
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -89,6 +90,9 @@
 mv $RPM_BUILD_ROOT%{_prefix}/%{target}/lib/libc.a $RPM_BUILD_ROOT%{_prefix}/%{target}/lib/libcrt_common.a
 sed "s/@OBJFORMAT@/elf64-nacl/" newlib-libc-script > $RPM_BUILD_ROOT%{_prefix}/%{target}/lib/libc.a
 
+# fix copies to be hardlinks (maybe should symlink in the future)
+findup -m $RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -104,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/07/06 14:19:34  glen
+- use hardlinks for duplicate content
+
 Revision 1.1  2012/07/06 14:12:39  glen
 - new, based on spot's src.rpm:
   http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-16/SRPMS/nacl-newlib-1.18.0-1.gitf5185a57.fc16.src.rpm
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/crossnacl-newlib/crossnacl-newlib.spec?r1=1.1&r2=1.2



More information about the pld-cvs-commit mailing list