1
0

Accepting request 96385 from home:gregfreemyer:Tools-for-forensic-boot-cd

Clean up requires logic in specfile

OBS-URL: https://build.opensuse.org/request/show/96385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=8
This commit is contained in:
Greg Freemyer 2011-12-12 17:22:07 +00:00 committed by Git OBS Bridge
parent bcd8919a30
commit bd9b8af4d5
2 changed files with 20 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 12 16:11:19 UTC 2011 - Greg.Freemyer@gmail.com
- clean up requires around perl(IO::Compress). It was previously wrong.
-------------------------------------------------------------------
Mon Sep 26 18:32:34 UTC 2011 - Greg.Freemyer@gmail.com

View File

@ -20,7 +20,7 @@
Name: perl-Image-ExifTool
Version: 8.65
Release: 1
License: GPL+ or Artistic
License: GPL-1.0+ or Artistic-1.0
%define cpan_name Image-ExifTool
Summary: Perl module to read and write meta information
Url: http://search.cpan.org/dist/Image-ExifTool/
@ -31,9 +31,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
Obsoletes: exiftool < 8.65
# This is handled by the subpackage exiftool below
# Provides: exiftool
%description
ExifTool by Phil Harvey (phil at owl.phy.queensu.ca)
@ -103,14 +100,21 @@ See html/index.html for more details about ExifTool features.
%package -n exiftool
Summary: Highly Customizable Perl App for Reading and Writing Meta Information in Files
Group: Productivity/Graphics/Other
# allow autodepend logic to find this
BuildArch: noarch
# Per http://perldoc.perl.org/index-modules-I.html, these are the part of perl-base.
#Requires: perl(IO::Compress::Base)
#Requires: perl(IO::Compress::Bzip2) perl(IO::Compress::Deflate)
#Requires: perl(IO::Compress::Gzip) perl(IO::Compress::RawDeflate) perl(IO::Compress::Zip)
#Requires: perl(Compress::Zlib)
#Requires: perl(Digest::MD5)
#Requires: perl(Digest::SHA)
Requires: perl(Archive::Zip)
Requires: perl(Digest::MD5)
Requires: perl(Digest::SHA)
Requires: perl(IO::Compress)
Requires: perl(Image::ExifTool) = %{version}
# Provides: exiftool
Obsoletes: exiftool < 8.65
Provides: exiftool = %{version}
%description -n exiftool
ExifTool by Phil Harvey (phil at owl.phy.queensu.ca)
@ -153,9 +157,9 @@ See html/index.html for more details about ExifTool features overall.
%doc %{_mandir}/man1/exiftool.1.gz
%files -f %{name}.files
%defattr(644,root,root,755)
%exclude %{_bindir}/exiftool
%exclude %{_mandir}/man1/exiftool.1.gz
%defattr(644,root,root,755)
# No idea why this had such a long % doc list
# % doc Changes exif2xmp.args ExifTool_config gps2xmp.args gpx.fmt gpx_wpt.fmt iptc2xmp.args kml.fmt perl-Image-ExifTool.spec README xmp2exif.args xmp2gps.args xmp2iptc.args
%doc Changes ExifTool_config README html