OBS User unknown 2007-03-26 23:46:52 +00:00 committed by Git OBS Bridge
parent 456051a644
commit b7827caee3
3 changed files with 24 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 26 15:24:05 CEST 2007 - agruen@suse.de
- Quilt refresh: fix existing patch check.
-------------------------------------------------------------------
Thu Feb 15 20:43:22 CET 2007 - olh@suse.de

View File

@ -16,7 +16,7 @@ Summary: A Tool for Working with Many Patches
License: GNU General Public License (GPL)
Group: Productivity/Text/Utilities
Version: 0.46
Release: 20
Release: 24
Requires: coreutils diffutils patch gzip bzip2 perl mktemp
Autoreqprov: off
Source: %{name}-%{version}.tar.bz2
@ -98,7 +98,9 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/README.MAIL
%doc doc/quilt.pdf
%changelog -n quilt
%changelog
* Mon Mar 26 2007 - agruen@suse.de
- Quilt refresh: fix existing patch check.
* Thu Feb 15 2007 - olh@suse.de
- force mandir to fix build in sles10
* Thu Oct 19 2006 - agruen@suse.de

View File

@ -1,7 +1,7 @@
Index: quilt/quilt/diff.in
Index: quilt-0.46/quilt/diff.in
===================================================================
--- quilt.orig/quilt/diff.in
+++ quilt/quilt/diff.in
--- quilt-0.46.orig/quilt/diff.in
+++ quilt-0.46/quilt/diff.in
@@ -80,7 +80,8 @@ included.
}
@ -57,10 +57,10 @@ Index: quilt/quilt/diff.in
fi
for file in "${files[@]}"
Index: quilt/quilt/fork.in
Index: quilt-0.46/quilt/fork.in
===================================================================
--- quilt.orig/quilt/fork.in
+++ quilt/quilt/fork.in
--- quilt-0.46.orig/quilt/fork.in
+++ quilt-0.46/quilt/fork.in
@@ -72,11 +72,7 @@ if [ $# -eq 1 ]
then
new_patch="$1"
@ -74,10 +74,10 @@ Index: quilt/quilt/fork.in
fi
new_patch=${new_patch#$QUILT_PATCHES/}
Index: quilt/quilt/refresh.in
Index: quilt-0.46/quilt/refresh.in
===================================================================
--- quilt.orig/quilt/refresh.in
+++ quilt/quilt/refresh.in
--- quilt-0.46.orig/quilt/refresh.in
+++ quilt-0.46/quilt/refresh.in
@@ -19,7 +19,7 @@ fi
usage()
@ -155,7 +155,7 @@ Index: quilt/quilt/refresh.in
+ else
+ patch=$(next_filename "$patch")
+ fi
+ if [ -e "$(patch_file_name "patch")" ]; then
+ if [ -e "$(patch_file_name "$patch")" ]; then
+ printf $"Patch %s exists already\n" "$(print_patch $patch)" >&2
+ exit 1
+ fi
@ -300,10 +300,10 @@ Index: quilt/quilt/refresh.in
else
die 1
fi
Index: quilt/quilt/scripts/patchfns.in
Index: quilt-0.46/quilt/scripts/patchfns.in
===================================================================
--- quilt.orig/quilt/scripts/patchfns.in
+++ quilt/quilt/scripts/patchfns.in
--- quilt-0.46.orig/quilt/scripts/patchfns.in
+++ quilt-0.46/quilt/scripts/patchfns.in
@@ -838,6 +838,65 @@ first_modified_by()
return 1
}
@ -370,10 +370,10 @@ Index: quilt/quilt/scripts/patchfns.in
create_db() {
if ! [ -e $QUILT_PC ]
then
Index: quilt/test/refresh-z.test
Index: quilt-0.46/test/refresh-z.test
===================================================================
--- /dev/null
+++ quilt/test/refresh-z.test
+++ quilt-0.46/test/refresh-z.test
@@ -0,0 +1,29 @@
+ $ rm -rf d
+ $ mkdir -p d/patches