rpms/pianobooster/devel pianobooster.spec,1.1,1.2

Christian Krause chkr at fedoraproject.org
Fri Apr 17 18:37:39 UTC 2009


Author: chkr

Update of /cvs/pkgs/rpms/pianobooster/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1531

Modified Files:
	pianobooster.spec 
Log Message:
- preserve timestamps of README.txt and license.txt



Index: pianobooster.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pianobooster/devel/pianobooster.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pianobooster.spec	17 Apr 2009 18:29:48 -0000	1.1
+++ pianobooster.spec	17 Apr 2009 18:37:08 -0000	1.2
@@ -1,7 +1,7 @@
 Name:            pianobooster
 Summary:         A MIDI file player that teaches you how to play the piano
 Version:         0.6.2
-Release:         3%{?dist}
+Release:         4%{?dist}
 License:         GPLv3+
 Group:           Applications/Multimedia
 URL:             http://pianobooster.sourceforge.net/
@@ -26,8 +26,15 @@
 
 %prep
 %setup -q -n %{name}-src-%{version}
-sed -i -e 's|\r||g' README.txt
-sed -i -e 's|\r||g' license.txt
+
+sed -e 's|\r||g' README.txt > README.txt.tmp
+touch -r README.txt README.txt.tmp
+mv README.txt.tmp README.txt
+
+sed -e 's|\r||g' license.txt > license.txt.tmp
+touch -r license.txt license.txt.tmp
+mv license.txt.tmp license.txt
+
 
 %build
 pushd build
@@ -76,9 +83,12 @@
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Fri Apr 17 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.2-4
+- preserve timestamps of README.txt and license.txt
+
 * Sun Apr 12 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.2-3
 - use %%{name} macro
-- provide .desktop file as separate sourc1
+- provide .desktop file as separate source1
 - use sed instead of dos2unix
 - use install -p to preserve the timestamps 
 - add GenericName to desktop file




More information about the fedora-extras-commits mailing list