libabigail/tools
Sinny Kumari b55e516d49 Guess RPM file type
To run abipkgdiff between two pacakges, it should know whether
input files are valid pacakge file or not. This patch detects RPM and SRPM
pacakge file type. abipkgdiff uses it to know whether input files are
valid RPM pacakge file or not.

	* include/abg-tools-utils.h (file_type): Added member
	FILE_TYPE_RPM and FILE_TYPE_SRPM
	(operator<<): New function declaration.
	* src/abg-tools-utils.cc (file_type): Detect RPM and
	SRPM file type
	(operator<<): New function definition
	* tools/abidiff.cc (main): Check for RPM and SRPM
	file type as well.
	* tools/abilint.cci (main): Check for RPM and SRPM file
	type as well.
	* tools/abipkgdiff.cc (main): Check whether input files
	to abipkgdiff are valid RPM files or not.

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2015-07-17 10:07:37 +02:00
..
.gitignore Add .gitignore files. 2014-09-12 11:05:01 +02:00
abiar.cc Adjust archive-related code for the recent addition of tools_utils::* 2015-01-13 11:02:10 +01:00
abicompat.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
abidiff.cc Guess RPM file type 2015-07-17 10:07:37 +02:00
abidw.cc Handle the life time of the map of canonical types 2015-07-09 11:12:40 +02:00
abilint.cc Guess RPM file type 2015-07-17 10:07:37 +02:00
abipkgdiff.cc Guess RPM file type 2015-07-17 10:07:37 +02:00
abisym.cc Fix symbols comparison 2015-06-02 00:07:02 +02:00
binilint.cc Update copyright years 2015-01-07 17:52:10 +01:00
Makefile.am Initial skeleton of abipkgdiff tool 2015-07-17 10:07:37 +02:00