rpms/lsdvd/F-12 lsdvd-0.16-strip-trailing-spaces.patch, NONE, 1.1 lsdvd.spec, 1.8, 1.9
Matthias Saou
thias at fedoraproject.org
Wed Apr 28 13:54:42 UTC 2010
Author: thias
Update of /cvs/extras/rpms/lsdvd/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3037/F-12
Modified Files:
lsdvd.spec
Added Files:
lsdvd-0.16-strip-trailing-spaces.patch
Log Message:
Include patch to fix trailing spaces stripping (#556416).
lsdvd-0.16-strip-trailing-spaces.patch:
lsdvd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE lsdvd-0.16-strip-trailing-spaces.patch ---
--- lsdvd-0.10/lsdvd.c.jdw 2003-09-30 07:01:00.000000000 +1000
+++ lsdvd-0.10/lsdvd.c 2007-11-10 17:16:17.000000000 +1100
@@ -153,9 +153,9 @@
fclose (filehandle);
- title[32] = '\0';
- while(i-- > 2)
- if(title[i] == ' ') title[i] = '\0';
+ while (i > 0 && title[i-1] == ' ')
+ i--;
+ title[i] = '\0';
return 0;
}
Index: lsdvd.spec
===================================================================
RCS file: /cvs/extras/rpms/lsdvd/F-12/lsdvd.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- lsdvd.spec 25 Jul 2009 11:20:51 -0000 1.8
+++ lsdvd.spec 28 Apr 2010 13:54:41 -0000 1.9
@@ -1,11 +1,12 @@
Summary: Small application for listing the contents of DVDs
Name: lsdvd
Version: 0.16
-Release: 12%{?dist}
+Release: 13%{?dist}
License: GPLv2
Group: Applications/Multimedia
URL: http://untrepid.com/lsdvd/
Source: http://downloads.sf.net/lsdvd/lsdvd-%{version}.tar.gz
+Patch0: lsdvd-0.16-strip-trailing-spaces.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: autoconf, automake
BuildRequires: libdvdread-devel
@@ -16,6 +17,7 @@ lsdvd is a small application which lists
%prep
%setup -q
+%patch0 -p1 -b .strip-trailing-spaces
%build
@@ -40,6 +42,9 @@ lsdvd is a small application which lists
%changelog
+* Wed Apr 28 2010 Matthias Saou <http://freshrpms.net/> 0.16-13
+- Include patch to fix trailing spaces stripping (#556416).
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list