fedora-rpmdevtools rpmls, NONE, 1.1 Makefile.am, 1.10, 1.11 rpmdevtools.spec, 1.26, 1.27

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Jun 16 21:21:28 UTC 2007


Author: scop

Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11119

Modified Files:
	Makefile.am rpmdevtools.spec 
Added Files:
	rpmls 
Log Message:
Add rpmls (#213778).


--- NEW FILE rpmls ---
#!/bin/sh

# rpmls -- List contents of rpm packages
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

owner=
if [ "$1" = "-l" ] ; then
    owner='%-8{fileusername} %-8{filegroupname} '
    shift
fi
qf="[%-11{filemodes:perms} $owner%{filenames}\\n]"

for file in "$@" ; do
    p=
    case "$file" in *.[rs]pm) p=p ;; esac
    rpm -q$p --qf="$qf" "$file"
done


Index: Makefile.am
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile.am	16 Jun 2007 19:12:30 -0000	1.10
+++ Makefile.am	16 Jun 2007 21:21:26 -0000	1.11
@@ -8,7 +8,7 @@
 
 dist_bin_SCRIPTS = rpmdev-checksig rpmdev-diff rpmdev-extract rpmdev-md5 \
 	rpmdev-newspec rpmdev-rmdevelrpms rpmdev-setuptree rpmdev-vercmp \
-	rpmdev-wipetree rpminfo
+	rpmdev-wipetree rpminfo rpmls
 
 dist_man1_MANS = rpmdev-diff.1 rpmdev-extract.1
 dist_man8_MANS = rpmdev-rmdevelrpms.8


Index: rpmdevtools.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/rpmdevtools.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- rpmdevtools.spec	16 Jun 2007 19:12:30 -0000	1.26
+++ rpmdevtools.spec	16 Jun 2007 21:21:26 -0000	1.27
@@ -37,6 +37,7 @@
 spectool            Expand and download sources and patches in specfiles
 rpmdev-wipetree     Erase all files within dirs created by rpmdev-setuptree
 rpmdev-extract      Extract various archives, "tar xvf" style
+...and many more.
 
 
 %prep
@@ -102,6 +103,7 @@
 * Sat Jun 16 2007 Ville Skyttä <ville.skytta at iki.fi>
 - Include rpmsodiff and dependencies (rpmargs, rpmelfsym, rpmfile, rpmpeek,
   rpmsoname) from ALT Linux's qa-robot package.
+- Include rpmls (#213778).
 
 * Fri Jun 15 2007 Ville Skyttä <ville.skytta at iki.fi>
 - Update spectool to 1.0.9 (#243731).




More information about the fedora-extras-commits mailing list