rpms/xscreensaver/F-7 update-xscreensaver-hacks, 1.1, 1.2 xscreensaver.spec, 1.43, 1.44
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Sat Sep 15 14:48:30 UTC 2007
Author: mtasaka
Update of /cvs/extras/rpms/xscreensaver/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24331
Modified Files:
update-xscreensaver-hacks xscreensaver.spec
Log Message:
* Sat Sep 15 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.03-6
- Fix update script to treat the ending character of conf file
correctly.
Index: update-xscreensaver-hacks
===================================================================
RCS file: /cvs/extras/rpms/xscreensaver/F-7/update-xscreensaver-hacks,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- update-xscreensaver-hacks 15 Sep 2007 02:08:00 -0000 1.1
+++ update-xscreensaver-hacks 15 Sep 2007 14:47:58 -0000 1.2
@@ -30,8 +30,8 @@
return 1
fi
done
- if ! grep -q '\\n[^\\]*$' $tmpconf_1 ; then
- sed -i -e 's|\(^.*$\)|\1\\n\\|' $tmpconf_1
+ if ! grep -q '\\n[\\]*$' $tmpconf_1 ; then
+ sed -i -e 's|\(^.*$\)|\1 \\n\\|' $tmpconf_1
fi
sed -i -e 's|\\n$|\\n\\|' $tmpconf_1
while [ -s $tmpconf_2 ] ; do
@@ -74,7 +74,7 @@
for hackconf in $CONFDIR/*.conf ; do
hackconf_fixed=`fix_hackconf $hackconf`
if [ -n "$hackconf_fixed" ] ; then
- cat $hackconf >> $tmpfile
+ cat $hackconf_fixed >> $tmpfile
rm -f $hackconf_fixed
fi
done
Index: xscreensaver.spec
===================================================================
RCS file: /cvs/extras/rpms/xscreensaver/F-7/xscreensaver.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- xscreensaver.spec 15 Sep 2007 02:08:00 -0000 1.43
+++ xscreensaver.spec 15 Sep 2007 14:47:58 -0000 1.44
@@ -7,7 +7,7 @@
%define fedora_rel 1.1
%else
%define modular_conf 1
-%define fedora_rel 5
+%define fedora_rel 6
%endif
%define extrarel %{nil}
@@ -28,7 +28,7 @@
Summary: X screen saver and locker
Name: %{name}
Version: %{version}
-Release: %{fedora_rel}%{?dist}%{?extrarel}.1
+Release: %{fedora_rel}%{?dist}%{?extrarel}
Epoch: 1
License: BSD
Group: Amusements/Graphics
@@ -510,6 +510,10 @@
%defattr(-,root,root,-)
%changelog
+* Sat Sep 15 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.03-6
+- Fix update script to treat the ending character of conf file
+ correctly.
+
* Sat Sep 15 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.03-5
- Add some comments on update script.
More information about the fedora-extras-commits
mailing list