rpms/kcc/devel kcc-2.3-timestamp.patch,NONE,1.1 kcc.spec,1.18,1.19

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Fri Sep 21 06:44:29 UTC 2007


Author: tagoh

Update of /cvs/pkgs/rpms/kcc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29260

Modified Files:
	kcc.spec 
Added Files:
	kcc-2.3-timestamp.patch 
Log Message:
* Fri Sep 21 2007 Akira TAGOH <tagoh at redhat.com> - 2.3-27
- clean up the spec file.

kcc-2.3-timestamp.patch:

--- NEW FILE kcc-2.3-timestamp.patch ---
diff -pruN kcc.orig/Makefile kcc/Makefile
--- kcc.orig/Makefile	2007-09-21 14:08:02.000000000 +0900
+++ kcc/Makefile	2007-09-21 14:08:53.000000000 +0900
@@ -34,10 +34,10 @@ install.man: $(MANPATH)/$(JMANDIR)/man1/
 
 $(BINPATH)/kcc: kcc.c
 	$(MAKE) kcc
-	$(INSTALL) kcc $(BINPATH)
+	$(INSTALL) -p kcc $(BINPATH)
 
 $(MANPATH)/$(JMANDIR)/man1/kcc.1: kcc.jman
-	$(INSTALL) -m 644 kcc.jman $@
+	$(INSTALL) -m 644 -p kcc.jman $@
 
 clean:
 	rm -f $(CMDS) $(OBJS) mon.out gmon.out make.log


Index: kcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kcc/devel/kcc.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- kcc.spec	23 Aug 2007 12:09:22 -0000	1.18
+++ kcc.spec	21 Sep 2007 06:43:56 -0000	1.19
@@ -1,14 +1,16 @@
 Name:		kcc
 Version:	2.3
-Release:	26
+Release:	27
 License:	GPLv2+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+## missed upstream.
 Source:		ftp://ftp.sra.co.jp/pub/os/linux/JE/sources/base/%{name}.tar.gz
 Source1:	kcc.1
 Patch0:		kcc-2.3-dontstrip.patch
 Patch1:		kcc-2.3-varargs.patch
 Patch2:		kcc-2.3-fix-segv.patch
+Patch3:		kcc-2.3-timestamp.patch
 
 Summary:	Kanji Code Converter
 Group:		Applications/Text
@@ -20,6 +22,7 @@
 %patch0 -p1 -b .dontstrip
 %patch1 -p1 -b .varargs
 %patch2 -p1 -b .segv
+%patch3 -p1 -b .timestamp
 
 %build
 make "CFLAGS=$RPM_OPT_FLAGS"
@@ -35,7 +38,7 @@
 for i in `find $RPM_BUILD_ROOT%{_mandir}/ja -type f`; do
 	iconv -f euc-jp -t utf-8 $i > $i.new && mv -f $i.new $i && chmod 444 $i
 done
-install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
+install -m0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
 gzip -9 $RPM_BUILD_ROOT%{_mandir}/man1/kcc.1
 
 %clean
@@ -49,6 +52,9 @@
 %{_mandir}/man1/kcc.1*
 
 %changelog
+* Fri Sep 21 2007 Akira TAGOH <tagoh at redhat.com> - 2.3-27
+- clean up the spec file.
+
 * Thu Aug 23 2007 Akira TAGOH <tagoh at redhat.com> - 2.3-26
 - Rebuild
 




More information about the fedora-extras-commits mailing list