[packages/reviewboard] hardlink static content. frees 3.0MB

glen glen at pld-linux.org
Wed Jan 30 10:18:29 CET 2013


commit 4e5881a4cb2177bce904df3fbe2ad29ddef2ff93
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 30 11:18:07 2013 +0200

    hardlink static content. frees 3.0MB

 reviewboard.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/reviewboard.spec b/reviewboard.spec
index 5bbd0bd..ce513d9 100644
--- a/reviewboard.spec
+++ b/reviewboard.spec
@@ -7,7 +7,7 @@
 Summary:	Web-based code review tool
 Name:		reviewboard
 Version:	1.7.3
-Release:	0.12
+Release:	0.13
 License:	MIT
 Group:		Applications/Networking
 URL:		http://www.review-board.org/
@@ -15,6 +15,7 @@ Source0:	http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-%
 # Source0-md5:	a1e7201c57aad5c8057df4e8d97e220d
 Source1:	apache.conf
 Patch0:		default-cache-file-path.patch
+BuildRequires:	fslint
 BuildRequires:	python-django >= 1.4.3
 BuildRequires:	python-django-evolution >= 0.6.7
 BuildRequires:	python-djblets >= 0.7.8
@@ -114,6 +115,9 @@ ln -s %{py_sitescriptdir}/%{name}/htdocs/static/rb $S/rb
 
 %py_postclean
 
+# hardlink files with fingerprinted variants
+findup -m $RPM_BUILD_ROOT
+
 # scripts that have a shebang and are meaningful to run; make executable:
 # need to reinstall as py_postclean has removed .py
 install -p reviewboard/manage.py $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/manage.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/reviewboard.git/commitdiff/4e5881a4cb2177bce904df3fbe2ad29ddef2ff93



More information about the pld-cvs-commit mailing list