rpms/rpmlint/F-9 rpmlint-0.85-compile.patch, NONE, 1.1 rpmlint.spec, 1.46, 1.47 rpmlint-0.77-compile.patch, 1.1, NONE

Ville Skyttä scop at fedoraproject.org
Thu Oct 23 20:37:50 UTC 2008


Author: scop

Update of /cvs/pkgs/rpms/rpmlint/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24984/F-9

Modified Files:
	rpmlint.spec 
Added Files:
	rpmlint-0.85-compile.patch 
Removed Files:
	rpmlint-0.77-compile.patch 
Log Message:
Unfuzz compile patch.

rpmlint-0.85-compile.patch:

--- NEW FILE rpmlint-0.85-compile.patch ---
diff -up rpmlint-0.85/compile.py.orig rpmlint-0.85/compile.py
--- rpmlint-0.85/compile.py.orig	2006-04-01 11:09:19.000000000 +0300
+++ rpmlint-0.85/compile.py	2008-10-23 23:33:03.000000000 +0300
@@ -12,6 +12,7 @@ import py_compile
 import sys
 
 for f in sys.argv[2:]:
+    py_compile.compile(f, f + 'c', sys.argv[1] + f)
     py_compile.compile(f, f + 'o', sys.argv[1] + f)
 
 # compile.py ends here
diff -up rpmlint-0.85/Makefile.orig rpmlint-0.85/Makefile
--- rpmlint-0.85/Makefile.orig	2008-10-23 22:47:48.000000000 +0300
+++ rpmlint-0.85/Makefile	2008-10-23 23:33:03.000000000 +0300
@@ -36,7 +36,7 @@ clean:
 
 install:
 	-mkdir -p $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(ETCDIR)/$(PACKAGE) $(DESTDIR)$(ETCDIR)/bash_completion.d $(DESTDIR)$(MANDIR)/man1
-	cp -p *.py *.pyo $(DESTDIR)$(LIBDIR)
+	cp -p *.py *.pyc *.pyo $(DESTDIR)$(LIBDIR)
 	rm -f $(DESTDIR)$(LIBDIR)/compile.py*
 	sed -e 's/@VERSION@/$(VERSION)/' < rpmlint.py > $(DESTDIR)$(LIBDIR)/rpmlint.py
 	cp -p rpmlint rpmdiff $(DESTDIR)$(BINDIR)


Index: rpmlint.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpmlint/F-9/rpmlint.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- rpmlint.spec	23 Oct 2008 20:28:54 -0000	1.46
+++ rpmlint.spec	23 Oct 2008 20:37:19 -0000	1.47
@@ -9,7 +9,7 @@
 Source0:        http://rpmlint.zarb.org/download/%{name}-%{version}.tar.bz2
 Source1:        %{name}.config
 Source2:        %{name}-CHANGES.package.old
-Patch0:         %{name}-0.77-compile.patch
+Patch0:         %{name}-0.85-compile.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -30,7 +30,7 @@
 
 %prep
 %setup -q
-%patch0
+%patch0 -p1
 sed -i -e /MenuCheck/d Config.py
 install -pm 644 %{SOURCE2} CHANGES.package.old
 


--- rpmlint-0.77-compile.patch DELETED ---




More information about the scm-commits mailing list