https://bugzilla.redhat.com/show_bug.cgi?id=1797364 --- Comment #4 from Petr Pisar <ppisar@xxxxxxxxxx> --- Url and Source addresses are usable. Ok. Source0 archive (SHA-256: 6b115945e94797c7f1e1cba35961a8c8e24e2a8505f57c387a79579e73530250) is original. Ok. TODO: Change the Url to <https://metacpan.org/release/HarfBuzz-Shaper>. That's the top link for the CPAN distribution. Summary verified from lib/HarfBuzz/Shaper.pm. Ok. Descripton verified from lib/HarfBuzz/Shaper.pm. Ok. TODO: Remove the last sentence (Feel free...). It's not descriptive. FIX: Spell "perl" as "Perl" in the description. License verified from inc/Devel/CheckLib.pm (GPL+ or Artistic), hb_src/harfbuzz/hb-ot-cff2-table.hh (MIT), hb_src/harfbuzz/hb-ucd.cc (MIT), lib/HarfBuzz/Shaper.pm (GPL+ or Artistic), README (GPL+ or Artistic). FIX: Delete ./hb_src directory in %prep section to make sure the bundled hurfbuzz code is never used. TODO: Use program names instead macros. E.g. "perl" instead of %{__perl}". The same applies to %{__make} and %{__rm}. TODO: Use "%{make_build}" instead of "%{__make} %{?_smp_mflags}". FIX: Do not use "%{__rm} -rf %{buildroot}" in the %install section. This is the default rpmbuild behavior. TODO: Use "%{make_install} instead of "%{__make} install DESTDIR=%{buildroot}" in the %install section. FIX: Remove %clean section. This is the default rpmbuild behavior. FIX: Remove "%defattr(-,root,root,-)" from the %files section. This is the default rpmbuild behavior. FIX: Change perl(ExtUtils::MakeMaker) dependency constrain from ">= 6.5503" to ">= 6.76". 6.5503 is nowhere specified in the sources. 6.76 is needed for the NO_PACKLIST and NO_PERLLOCAL Makefile.PL arguments. FIX: Unbundle Devel::CheckLib (remove ./inc content and build-require perl(Devel::CheckLib). Or build-require it's dependencies: perl(Config), perl(Exporter), perl(File::Spec), perl(File::Temp), perl(Text::ParseWords), perl(vars). FIX: Do not build-require harfbuzz. I believe it's used only indirectly vie harbuzz-devel package. FIX: Build-require perl(lib) (Makefile.PL:6) or remove the "use lib" line from after unbundling Devel::CheckLib. FIX: Build-require perl(strict) (Makefile.PL:3). FIX: Build-require perl(warnings) (Makefile.PL:4). FIX: Build-require perl(Carp) (lib/HarfBuzz/Shaper.pm:8). FIX: Build-require perl(Encode) (lib/HarfBuzz/Shaper.pm:9). FIX: Build-require perl(XSLoader) (lib/HarfBuzz/Shaper.pm:13). FIX: Build-require perl(charnames) (t/20_shaper.t:6). FIX: BUild-require perl(utf8) (t/10_basic.t:5). All tests pass. Ok. $ rpmlint perl-HarfBuzz-Shaper.spec ../SRPMS/perl-HarfBuzz-Shaper-0.018.4-1.fc33.src.rpm ../RPMS/x86_64/perl-HarfBuzz-Shaper-* sh: /usr/bin/python2: No such file or directory 4 packages and 1 specfiles checked; 0 errors, 0 warnings. rpmlint is Ok. $ rpm -q -lv -p ../RPMS/x86_64/perl-HarfBuzz-Shaper-0.018.4-1.fc33.x86_64.rpm drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/lib/.build-id drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/lib/.build-id/36 lrwxrwxrwx 1 root root 70 Feb 25 14:11 /usr/lib/.build-id/36/3c7e35ccddb8116501cef14f547e81249057a3 -> ../../../../usr/lib64/perl5/vendor_perl/auto/HarfBuzz/Shaper/Shaper.so drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/lib64/perl5/vendor_perl/HarfBuzz -rw-r--r-- 1 root root 5189 Feb 2 10:22 /usr/lib64/perl5/vendor_perl/HarfBuzz/Shaper.pm drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/lib64/perl5/vendor_perl/auto/HarfBuzz drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/lib64/perl5/vendor_perl/auto/HarfBuzz/Shaper -rwxr-xr-x 1 root root 20056 Feb 25 14:11 /usr/lib64/perl5/vendor_perl/auto/HarfBuzz/Shaper/Shaper.so drwxr-xr-x 2 root root 0 Feb 25 14:11 /usr/share/doc/perl-HarfBuzz-Shaper -rw-r--r-- 1 root root 1231 Jan 31 15:41 /usr/share/doc/perl-HarfBuzz-Shaper/Changes -rw-r--r-- 1 root root 1182 Jan 31 09:43 /usr/share/doc/perl-HarfBuzz-Shaper/README -rw-r--r-- 1 root root 2523 Feb 25 14:11 /usr/share/man/man3/HarfBuzz::Shaper.3pm.gz File layout and permissions are Ok. $ rpm -q --requires -p ../RPMS/x86_64/perl-HarfBuzz-Shaper-0.018.4-1.fc33.x86_64.rpm | sort -f | uniq -c 1 harfbuzz >= 1.7.7 1 libc.so.6()(64bit) 1 libc.so.6(GLIBC_2.2.5)(64bit) 1 libc.so.6(GLIBC_2.4)(64bit) 1 libharfbuzz.so.0()(64bit) 1 libperl.so.5.30()(64bit) 1 libpthread.so.0()(64bit) 1 perl(:MODULE_COMPAT_5.30.1) 2 perl(:VERSION) >= 5.10.1 1 perl(Carp) 1 perl(Encode) 1 perl(strict) 1 perl(warnings) 1 perl(XSLoader) 1 perl-generators 1 perl-interpreter 1 rpmlib(CompressedFileNames) <= 3.0.4-1 1 rpmlib(FileDigests) <= 4.6.0-1 1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 1 rpmlib(PayloadIsZstd) <= 5.4.18-1 1 rtld(GNU_HASH) FIX: Do not run-require perl(:VERSION) explicitly. It's detected automatically. FIX: Do not run-require "harfbuzz >= 1.7.7". This is ensured by an automatically generated dependency on the harfbuzz dynamic library. FIX: Do not run-require perl-generators and perl-interpreter. They are not used at run-time. $ rpm -q --provides -p ../RPMS/x86_64/perl-HarfBuzz-Shaper-0.018.4-1.fc33.x86_64.rpm | sort -f | uniq -c 1 perl(HarfBuzz::Shaper) = 0.018.4 1 perl-HarfBuzz-Shaper = 0.018.4-1.fc33 1 perl-HarfBuzz-Shaper(x86-64) = 0.018.4-1.fc33 Binary provides are Ok. $ resolvedeps rawhide ../RPMS/x86_64/perl-HarfBuzz-Shaper-0.018.4-1.fc33.x86_64.rpm Binary dependencies are resolvable. Ok. The package builds in F33 (https://koji.fedoraproject.org/koji/taskinfo?taskID=41887382). Ok. Otherwise the package is in line with Fedora and Perl packaging guidelines. Please correct all 'FIX' items, consider fixing 'TODO' items and provide a new spec file. Resolution: Package NOT approved. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx