]> git.pld-linux.org Git - packages/rpmlint.git/commitdiff
up to 1.7 auto/th/rpmlint-1.7-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 15 Jul 2015 12:18:25 +0000 (15:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 15 Jul 2015 12:20:10 +0000 (15:20 +0300)
bash-completion.patch
rpmlint-groups.patch
rpmlint.spec

index 90450ff3e3c1f5980ccfd57fdc312aa164a73adb..07395cae68c9aa22c479cdcf5255bc8b424f6417 100644 (file)
@@ -1,5 +1,5 @@
---- rpmlint-1.6/Makefile~      2014-07-19 16:05:09.000000000 +0300
-+++ rpmlint-1.6/Makefile       2014-09-18 15:36:35.380436188 +0300
+--- rpmlint-1.7/Makefile~      2015-07-15 15:10:27.000000000 +0300
++++ rpmlint-1.7/Makefile       2015-07-15 15:12:32.665044829 +0300
 @@ -10,6 +10,7 @@
  LIBDIR=/usr/share/rpmlint
  ETCDIR=/etc
@@ -8,9 +8,9 @@
  
  FILES = rpmlint *.py INSTALL README README.devel COPYING tools/*.py \
        Makefile config rpmdiff rpmdiff.1 rpmlint.bash-completion rpmlint.1 \
-@@ -41,14 +42,13 @@
-       cp -p *.py *.pyo $(DESTDIR)$(LIBDIR)
-       cp -p rpmlint rpmdiff $(DESTDIR)$(BINDIR)
+@@ -48,14 +48,13 @@
+               chmod +x $(DESTDIR)$(BINDIR)/$$file ; \
+       done
        cp -p config $(DESTDIR)$(ETCDIR)/$(PACKAGE)
 -      compdir=`pkg-config --variable=completionsdir bash-completion 2>/dev/null` ; \
 -      if [ "x$$compdir" = "x" ] ; then \
        else \
 -              mkdir -p $(DESTDIR)$$compdir ; \
 -              cp -p rpmlint.bash-completion $(DESTDIR)$$compdir/rpmlint ; \
--              ln -s rpmlint $(DESTDIR)$$compdir/rpmdiff ; \
-+              mkdir -p $(DESTDIR)$(bash_compdir); \
+-              ln -sf rpmlint $(DESTDIR)$$compdir/rpmdiff ; \
++              mkdir -p $(DESTDIR)$(bash_compdir) ; \
 +              cp -p rpmlint.bash-completion $(DESTDIR)$(bash_compdir)/rpmlint ; \
-+              ln -s rpmlint $(DESTDIR)$(bash_compdir)/rpmdiff ; \
++              ln -sf rpmlint $(DESTDIR)$(bash_compdir)/rpmdiff ; \
        fi
        cp -p rpmdiff.1 rpmlint.1 $(DESTDIR)$(MANDIR)/man1
  
index a410e2916723ce62793fb78e47df08dc5f6ff91c..9a2cf793082cd556d74aa6db669ff543dc2dee39 100644 (file)
@@ -1,11 +1,11 @@
---- rpmlint-1.0/Pkg.py~        2010-06-05 22:55:53.000000000 +0300
-+++ rpmlint-1.0/Pkg.py 2011-01-09 18:37:55.913942986 +0200
-@@ -176,7 +176,7 @@
+--- rpmlint-1.7/Pkg.py~        2015-07-08 16:38:24.000000000 +0300
++++ rpmlint-1.7/Pkg.py 2015-07-15 15:10:07.954186622 +0300
+@@ -197,7 +197,7 @@
+     the rpm package (if installed) if no filename is given"""
      groups = []
      if not filename:
-         try:
--            p = InstalledPkg('rpm')
-+            p = InstalledPkg('rpmlint')
-         except:
-             pass
-         else:
+-        with InstalledPkg("rpm") as p:
++        with InstalledPkg("rpmlint") as p:
+             groupsfiles = [x for x in p.files() if x.endswith('/GROUPS')]
+             if groupsfiles:
+                 filename = groupsfiles[0]
index 24c7978c477ab14557ad9ae09d16a9338867be1c..376e2d4b10fbf8e26dd270e288ba6096fa4a79f5 100644 (file)
@@ -4,12 +4,12 @@
 
 Summary:       Tool for checking common errors in RPM packages
 Name:          rpmlint
-Version:       1.6
+Version:       1.7
 Release:       1
 License:       GPL v2
 Group:         Development/Building
 Source0:       http://downloads.sourceforge.net/rpmlint/%{name}-%{version}.tar.xz
-# Source0-md5: ad09ff960c7f3561af59f7886f3619ef
+# Source0-md5: 0b78c2fa4a98c6f660003a679ad6ea90
 Source1:       %{name}.config
 Source3:       %{name}-etc.config
 Patch0:                %{name}-groups.patch
This page took 0.125479 seconds and 4 git commands to generate.