Bug 636946 - Review Request: perl-Astro-FITS-Header - Object Orientated interface to FITS HDUs
Summary: Review Request: perl-Astro-FITS-Header - Object Orientated interface to FITS ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 633743
TreeView+ depends on / blocked
 
Reported: 2010-09-23 18:24 UTC by Marcela Mašláňová
Modified: 2010-10-14 13:24 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-14 13:24:48 UTC
Type: ---
Embargoed:
ppisar: fedora-review?


Attachments (Terms of Use)

Description Marcela Mašláňová 2010-09-23 18:24:54 UTC
SPEC url: http://mmaslano.fedorapeople.org/review/perl-Astro-FITS-Header.spec
SRPM url: http://mmaslano.fedorapeople.org/review/perl-Astro-FITS-Header-3.01-1.fc15.src.rpm
Description: Stores information about a FITS header block in an object. Takes an hash with an array reference as an arguement. The array should contain a list of
FITS header cards as input.

# rpmlint ../SRPMS/perl-Astro-FITS-Header-3.01-1.fc15.src.rpm 
perl-Astro-FITS-Header.src: W: spelling-error %description -l en_US arguement -> argument, arrangement, enlargement
perl-Astro-FITS-Header.src: W: no-cleaning-of-buildroot %clean
perl-Astro-FITS-Header.src: W: no-%clean-section
1 packages and 0 specfiles checked; 0 errors, 3 warnings.
# rpmlint ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc15.noarch.rpm 
perl-Astro-FITS-Header.noarch: W: spelling-error %description -l en_US arguement -> argument, arrangement, enlargement
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Comment 1 Petr Pisar 2010-09-24 12:52:48 UTC
Source file original.
License verified from lib/Astro/FITS/Header.pm.
TODO: %doc GPL file contains GPL-2 version but source files states perl license (GPL-1). Report bug to upstream.
All test pass.
FIX: Missing BuildRequires for %check phase: perl(Starlink::AST), perl(Astro::FITS::CFITSIO), perl(GSD), perl(NDF)
TODO: Remove unneeded BuildRoot because this post-F12 spec.

$ rpmlint perl-Astro-FITS-Header.spec ../SRPMS/perl-Astro-FITS-Header-3.01-1.fc13.src.rpm ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc13.noarch.rpm 
perl-Astro-FITS-Header.spec: W: no-cleaning-of-buildroot %clean
perl-Astro-FITS-Header.spec: W: no-%clean-section
perl-Astro-FITS-Header.src: W: spelling-error %description -l en_US arguement -> argument, arrangement, enlargement
perl-Astro-FITS-Header.src: W: no-cleaning-of-buildroot %clean
perl-Astro-FITS-Header.src: W: no-%clean-section
perl-Astro-FITS-Header.noarch: W: spelling-error %description -l en_US arguement -> argument, arrangement, enlargement
2 packages and 1 specfiles checked; 0 errors, 6 warnings.

FIX: Description spelling is incorrect.

$ rpm -pq --requires ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc13.noarch.rpm | sort |uniq -c  
      1 perl(Astro::FITS::CFITSIO)  
      1 perl(Astro::FITS::Header::Item)  
      1 perl(base)  
      1 perl(Carp)  
      1 perl(File::Spec)  
      1 perl(GSD)  
      1 perl(:MODULE_COMPAT_5.10.1)  
      1 perl(NDF)  
      1 perl(overload)  
      1 perl(Starlink::AST)  
      1 perl(strict)  
      1 perl(vars)  
      1 perl(warnings)  
      1 perl >= 0:5.006
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsXz) <= 5.2-1
      1 rpmlib(VersionedDependencies) <= 3.0.3-1

Binary dependencies Ok.
FIX: Missing perl(File::Spec) BuildRequires for %check phase (dual-life package possible).

$ rpm -pq --provides  ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc13.noarch.rpm | sort |uniq -c  
      1 perl(Astro::FITS::Header::AST) = 3.01
      1 perl(Astro::FITS::Header::CFITSIO) = 3.01
      1 perl(Astro::FITS::HeaderCollection)  
      1 perl(Astro::FITS::Header::GSD) = 3.01
      1 perl(Astro::FITS::Header::Item) = 3.01
      1 perl(Astro::FITS::Header::NDF) = 3.01
      1 perl(Astro::FITS::Header) = 3.01
      1 perl-Astro-FITS-Header = 3.01-1.fc13

Binary provides Ok.

$ rpm -pqlv  ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc13.noarch.rpm 
drwxr-xr-x    2 root    root                        0 zář 24 14:20 /usr/share/doc/perl-Astro-FITS-Header-3.01
-rw-r--r--    1 root    root                    15663 bře 17  2009 /usr/share/doc/perl-Astro-FITS-Header-3.01/ChangeLog
-rw-r--r--    1 root    root                    18009 úno 11  2009 /usr/share/doc/perl-Astro-FITS-Header-3.01/GPL
-rw-r--r--    1 root    root                     6532 bře 17  2009 /usr/share/doc/perl-Astro-FITS-Header-3.01/README
-rw-r--r--    1 root    root                      251 úno 11  2009 /usr/share/doc/perl-Astro-FITS-Header-3.01/TODO
-rw-r--r--    1 root    root                     7920 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header.3pm.gz
-rw-r--r--    1 root    root                     2560 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header::AST.3pm.gz
-rw-r--r--    1 root    root                     2686 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header::CFITSIO.3pm.gz
-rw-r--r--    1 root    root                     2523 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header::GSD.3pm.gz
-rw-r--r--    1 root    root                     3905 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header::Item.3pm.gz
-rw-r--r--    1 root    root                     3279 zář 24 14:20 /usr/share/man/man3/Astro::FITS::Header::NDF.3pm.gz
drwxr-xr-x    2 root    root                        0 zář 24 14:20 /usr/share/perl5/Astro
drwxr-xr-x    2 root    root                        0 zář 24 14:20 /usr/share/perl5/Astro/FITS
drwxr-xr-x    2 root    root                        0 zář 24 14:20 /usr/share/perl5/Astro/FITS/Header
-rw-r--r--    1 root    root                    48951 bře 17  2009 /usr/share/perl5/Astro/FITS/Header.pm
-rw-r--r--    1 root    root                     3350 bře 17  2009 /usr/share/perl5/Astro/FITS/Header/AST.pm
-rw-r--r--    1 root    root                     7819 bře 17  2009 /usr/share/perl5/Astro/FITS/Header/CFITSIO.pm
-rw-r--r--    1 root    root                     3921 bře 17  2009 /usr/share/perl5/Astro/FITS/Header/GSD.pm
-rw-r--r--    1 root    root                    21751 bře 17  2009 /usr/share/perl5/Astro/FITS/Header/Item.pm
-rw-r--r--    1 root    root                    11376 bře 17  2009 /usr/share/perl5/Astro/FITS/Header/NDF.pm

Files permissions and location Ok.

Spec file in line with Perl packaging guidelines.

Builds on F15 (http://koji.fedoraproject.org/koji/taskinfo?taskID=2486777).

Please fix all `FIX:' prefixed comments and publish new spec file.
I'd like to see skipped tests to proceed by BuildRequirig missing dependencies. If you are in strong opposition, argue please. I could weak them onto TODO level.
Result: NOT APPROVED.

Comment 2 Marcela Mašláňová 2010-10-04 12:19:31 UTC
All problems fixed, upstream bug filed https://rt.cpan.org/Public/Bug/Display.html?id=61875

Modules buildrequired by tests are not blocker according to guidelines.

http://mmaslano.fedorapeople.org/review/perl-Astro-FITS-Header.spec

Comment 3 Petr Pisar 2010-10-04 13:18:10 UTC
Changes:

--- perl-Astro-FITS-Header.spec	2010-09-23 20:24:18.000000000 +0200
+++ perl-Astro-FITS-Header.spec.1	2010-10-04 14:19:09.000000000 +0200
@@ -6,10 +6,12 @@
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Astro-FITS-Header/
 Source0:        http://www.cpan.org/authors/id/T/TJ/TJENNESS/Astro-FITS-Header-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# test BR
 BuildRequires:  perl(Test::More)
+#  perl(Starlink::AST),perl(NDF), perl(GSD)
+BuildRequires:  perl(File::Spec), perl(Astro::FITS::CFITSIO)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description


> FIX: Missing BuildRequires for %check phase: perl(Starlink::AST),
> perl(Astro::FITS::CFITSIO), perl(GSD), perl(NDF)
Available %check-dependecies added. Ok.
TODO: Package %check-time dependencies to enable all tests.

> $ rpmlint perl-Astro-FITS-Header.spec
> ../SRPMS/perl-Astro-FITS-Header-3.01-1.fc13.src.rpm
> ../RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc13.noarch.rpm 
> perl-Astro-FITS-Header.spec: W: no-cleaning-of-buildroot %clean
> perl-Astro-FITS-Header.spec: W: no-%clean-section
> perl-Astro-FITS-Header.src: W: spelling-error %description -l en_US arguement
> -> argument, arrangement, enlargement
> perl-Astro-FITS-Header.src: W: no-cleaning-of-buildroot %clean
> perl-Astro-FITS-Header.src: W: no-%clean-section
> perl-Astro-FITS-Header.noarch: W: spelling-error %description -l en_US
> arguement -> argument, arrangement, enlargement
> 2 packages and 1 specfiles checked; 0 errors, 6 warnings.
> 
> FIX: Description spelling is incorrect.
TODO: Fix the spelling (arguement → argument).

> FIX: Missing perl(File::Spec) BuildRequires for %check phase (dual-life
> package possible).
Ok.

Builds on F15 (http://koji.fedoraproject.org/koji/taskinfo?taskID=2510543).

# LANG=en yum --nogpgcheck localinstall ~test/rpmbuild/RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc15.noarch.rpm
Failed to set locale, defaulting to C
Setting up Local Package Process
Examining /home/test/rpmbuild/RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc15.noarch.rpm: perl-Astro-FITS-Header-3.01-1.fc15.noarch
Marking /home/test/rpmbuild/RPMS/noarch/perl-Astro-FITS-Header-3.01-1.fc15.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package perl-Astro-FITS-Header.noarch 0:3.01-1.fc15 set to be installed
--> Processing Dependency: perl(GSD) for package: perl-Astro-FITS-Header-3.01-1.fc15.noarch
--> Processing Dependency: perl(NDF) for package: perl-Astro-FITS-Header-3.01-1.fc15.noarch
--> Processing Dependency: perl(Starlink::AST) for package: perl-Astro-FITS-Header-3.01-1.fc15.noarch
--> Finished Dependency Resolution
Error: Package: perl-Astro-FITS-Header-3.01-1.fc15.noarch (/perl-Astro-FITS-Header-3.01-1.fc15.noarch)
           Requires: perl(GSD)
Error: Package: perl-Astro-FITS-Header-3.01-1.fc15.noarch (/perl-Astro-FITS-Header-3.01-1.fc15.noarch)
           Requires: perl(Starlink::AST)
Error: Package: perl-Astro-FITS-Header-3.01-1.fc15.noarch (/perl-Astro-FITS-Header-3.01-1.fc15.noarch)
           Requires: perl(NDF)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
FIX: Package necessary packages to resolve missing binary dependencies (perl(GSD), perl(NDF), perl(Starlink::AST)), or filter them from Requires. Make sure the package remains useful.


Please fix all `FIX:' prefixed comments and publish new spec file.
Result: NOT APPROVED.

Comment 4 Marcela Mašláňová 2010-10-14 13:24:48 UTC
After looking into PDL, this package is not necessary. I'm not interested in any more. Although it is not easy to package it, because it have many non-cpan dependencies.


Note You need to log in before you can comment on or make changes to this bug.