Bug 1282911

Summary: Review Request: perl-Crypt-Salsa20 - Encrypt data with the Salsa20 cipher
Product: [Fedora] Fedora Reporter: Denis Fateyev <denis>
Component: Package ReviewAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, perl-devel, psabata
Target Milestone: ---Flags: psabata: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 08:52:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Denis Fateyev 2015-11-17 19:17:20 UTC
Spec URL: http://www.fateyev.com/RPMS/Fedora22/perl-Crypt-Salsa20.spec
SRPM URL: http://www.fateyev.com/RPMS/Fedora22/perl-Crypt-Salsa20-0.03-1.fc24.src.rpm
Description: Crypt::Salsa20 implements D. J. Bernstein's Salsa20 stream cipher (a.k.a. Snuffle 2005) in Perl. For more information on Salsa20, see his page at
http://cr.yp.to/snuffle.html.
Fedora Account System Username: dfateyev

Koji rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=11886093

Comment 1 Petr Pisar 2015-11-18 12:52:42 UTC
Petr, wrong flag (fedora_requires_release_note)?

Comment 2 Petr Šabata 2015-11-18 12:56:59 UTC
Thanks.

Comment 3 Upstream Release Monitoring 2015-11-18 13:07:41 UTC
dfateyev's scratch build of perl-Crypt-Salsa20-0.03-2.fc20.denf.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11892278

Comment 4 Denis Fateyev 2015-11-18 13:12:34 UTC
Adjusted BRs fully as requested in a previous review, small cleanup.

Spec path: http://www.fateyev.com/RPMS/Fedora22/perl-Crypt-Salsa20.spec

Rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=11892279

Comment 5 Petr Šabata 2015-11-18 13:37:43 UTC
I'll assume this is for Fedora only.

* Missing a BR, as already pointed out in the other current reviews:
  - perl(integer), used in lib/Crypt/Salsa20.pm (lots)

* strict and warnings are used in the Makefile.PL, too.
  You may want to list them in the top block, for consistence.
  Well, this depends on your style preference...

* Drop META.json from %doc, it's of no use to your end users.

* Package the license text using the %license macro.

* If you really don't need EPEL compatibility, you can:
  1) ignore the abovementioned coreutils & findutils point.
  2) Add a 6.76+ version dependency constraint to EU::MM.
  3) Generate the Makefile with `NO_PACKLIST=1'.
  This will allow you to drop line 46.

* The Group tag is optional, too.

Comment 6 Upstream Release Monitoring 2015-11-18 18:53:57 UTC
dfateyev's scratch build of perl-Crypt-Salsa20-0.03-2.fc20.denf.src.rpm for epel7 completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11894175

Comment 7 Denis Fateyev 2015-11-18 18:58:10 UTC
On the contrary, I'm planning to maintain it in EPEL too. Thanks for the detailed clarifications, anyway.

- Added perl(integer) to BR (thought that all concerned Perl versions had it so omitted it initially);
- Dropped META.json.

EL6 doesn't support %license tag so I didn't used it. The Group tag is also kept for more EPEL adaptivity.

Spec path: http://www.fateyev.com/RPMS/Fedora22/perl-Crypt-Salsa20.spec

Rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=11894191

Comment 8 Petr Šabata 2015-11-19 12:06:15 UTC
(In reply to Denis Fateyev from comment #7)
> On the contrary, I'm planning to maintain it in EPEL too. Thanks for the
> detailed clarifications, anyway.
> 
> - Added perl(integer) to BR (thought that all concerned Perl versions had it
> so omitted it initially);

You never know what the future might bring.  And even if it's very unlikely, just listing everything is more consistent and, in a way, easier.

> - Dropped META.json.

Ack.

> EL6 doesn't support %license tag so I didn't used it. The Group tag is also
> kept for more EPEL adaptivity.

Regarding the Group tag: Ack.

The %license macro is mandatory in Fedora, though.

I use the following `trick' in my packages.  There might be a better way but this works fine:

%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc Changes README

Comment 9 Upstream Release Monitoring 2015-11-19 19:21:16 UTC
dfateyev's scratch build of perl-Crypt-Salsa20-0.03-2.fc20.denf.src.rpm for dist-6E-epel completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11910647

Comment 10 Denis Fateyev 2015-11-19 20:05:03 UTC
- Added "%license" tag (according https://fedoraproject.org/wiki/EPEL:Packaging#The_.25license_tag since I believe there is a doubled percent sign above);
- Added AUTOMATED_TESTING variable for more thorough testing plan;

Spec path: http://www.fateyev.com/RPMS/Fedora22/perl-Crypt-Salsa20.spec

Rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=11910666

Comment 11 Petr Šabata 2015-11-20 11:29:42 UTC
(In reply to Denis Fateyev from comment #10)
> - Added "%license" tag (according
> https://fedoraproject.org/wiki/EPEL:Packaging#The_.25license_tag since I
> believe there is a doubled percent sign above);

This works too.  Good to know.

> - Added AUTOMATED_TESTING variable for more thorough testing plan;

Ack.


Well, all good now.  Approving.

Comment 12 Gwyn Ciesla 2015-11-20 22:10:17 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/perl-Crypt-Salsa20

Comment 13 Petr Šabata 2015-12-08 17:09:26 UTC
Any updates?  Pushed and built?

Comment 14 Denis Fateyev 2015-12-08 17:53:19 UTC
There is a bug in Bodhi: https://github.com/fedora-infra/bodhi/issues/707
I've been waiting for the fix, otherwise I can't push it.

Comment 15 Petr Šabata 2015-12-08 17:57:49 UTC
Ah, I see.  I prefer the CLI utility :)

Comment 16 Denis Fateyev 2015-12-08 18:01:17 UTC
Me too, but it failed the last time I used it so I suspected there was also a bug. I'll try with cli one more time, anyway.

Comment 17 Fedora Update System 2015-12-08 21:06:26 UTC
perl-Crypt-Salsa20-0.03-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-eadb1907e7

Comment 18 Fedora Update System 2015-12-08 21:09:54 UTC
perl-Crypt-Salsa20-0.03-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-2ec055bb1f

Comment 19 Fedora Update System 2015-12-08 21:10:59 UTC
perl-Crypt-Salsa20-0.03-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-7fa2974150

Comment 20 Fedora Update System 2015-12-08 21:12:03 UTC
perl-Crypt-Salsa20-0.03-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-df5b8d7cc1

Comment 21 Fedora Update System 2015-12-09 05:20:13 UTC
perl-Crypt-Salsa20-0.03-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update perl-Crypt-Salsa20'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-2ec055bb1f

Comment 22 Fedora Update System 2015-12-09 05:49:43 UTC
perl-Crypt-Salsa20-0.03-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update perl-Crypt-Salsa20'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-eadb1907e7

Comment 23 Fedora Update System 2015-12-09 23:23:37 UTC
perl-Crypt-Salsa20-0.03-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update perl-Crypt-Salsa20'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7fa2974150

Comment 24 Fedora Update System 2015-12-10 04:56:12 UTC
perl-Crypt-Salsa20-0.03-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update perl-Crypt-Salsa20'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-df5b8d7cc1

Comment 25 Fedora Update System 2015-12-17 08:52:10 UTC
perl-Crypt-Salsa20-0.03-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 26 Fedora Update System 2015-12-18 07:53:30 UTC
perl-Crypt-Salsa20-0.03-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2015-12-26 23:24:04 UTC
perl-Crypt-Salsa20-0.03-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 28 Fedora Update System 2015-12-27 02:52:59 UTC
perl-Crypt-Salsa20-0.03-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.