[Fwd: rpms/fedora-release-notes/F-11 fedora-release-notes.spec,1.36,1.37]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Spot,

Is this a kosher change?  A contributor brought it to Fedora Docs but
I can't tell to what extent anyone checked packaging guidelines.  No
bug was filed and there's no ML traffic about it.

Upshot is, using hardlink to save very significant space.  I only
found this draft, and no sign that it's approved or that the usage
below is explicitly forbidden, so I'm assuming it's peachy keen.

https://fedoraproject.org/wiki/PackagingDrafts/HardLinks

Paul


----- Forwarded message from Lubomir Rintel <lkundrak@xxxxxxxxxxxxxxxxx> -----

Date: Wed, 29 Apr 2009 19:12:19 +0000 (UTC)
From: Lubomir Rintel <lkundrak@xxxxxxxxxxxxxxxxx>
To: cvsextras@xxxxxxxxxxxxxxxxx,
	fedora-release-notes-owner@xxxxxxxxxxxxxxxxx
Subject: rpms/fedora-release-notes/F-11 fedora-release-notes.spec,1.36,1.37

Author: lkundrak

Update of /cvs/pkgs/rpms/fedora-release-notes/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5352

Modified Files:
	fedora-release-notes.spec 
Log Message:
* Wed Apr 29 2009 Lubomir Rintel <lkundrak@xxxxx> - 10.93.0-2
- Hardlink duplicate files to save space



Index: fedora-release-notes.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fedora-release-notes/F-11/fedora-release-notes.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- fedora-release-notes.spec	21 Apr 2009 20:40:12 -0000	1.36
+++ fedora-release-notes.spec	29 Apr 2009 19:11:49 -0000	1.37
@@ -11,7 +11,7 @@
 
 Name:		fedora-release-notes
 Version:	10.93.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Release Notes for Fedora 11
 URL:		http://fedoraproject.org/wiki/Docs/Beats
 
@@ -29,6 +29,7 @@ BuildArch:	noarch
 BuildRequires:	desktop-file-utils
 BuildRequires:	publican
 BuildRequires:	publican-fedora
+BuildRequires:	hardlink
 
 %if %{HTMLVIEW}
 Requires:	htmlview
@@ -148,6 +149,10 @@ install -m 644 about-*omf $RPM_BUILD_ROO
 install -m 644 -D about-gnome.desktop $RPM_BUILD_ROOT%{_datadir}/applications/about-fedora.desktop
 popd
 
+# There are lot of duplicate files, save space by hardlinking them
+hardlink -cv $RPM_BUILD_ROOT%{_datadir}/doc
+hardlink -cv $RPM_BUILD_ROOT%{_datadir}/gnome
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -174,6 +179,9 @@ if [ -x /usr/bin/update-desktop-database
 
 
 %changelog
+* Wed Apr 29 2009 Lubomir Rintel <lkundrak@xxxxx> - 10.93.0-2
+- Hardlink duplicate files to save space
+
 * Tue Apr 14 2009 John J. McDonough <jjmcd@xxxxxxxxxxxxxxxxx> - 10.93.0-1
 - Use publican for F11 Preview release
 


----- End forwarded message -----

-- 
fedora-docs-list mailing list
fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux