Bug 2072993

Summary: Branch request: rsnapshot for EPEL9
Product: [Fedora] Fedora EPEL Reporter: Leon Fauster <leonfauster>
Component: rsnapshotAssignee: Steven Roberts <strobert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: iwhite, james.hogarth, jonathan, nathan, redhat-bugzilla, sspencerwire, stone, strobert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rsnapshot-1.4.4-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-08 01:11:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2142700    

Description Leon Fauster 2022-04-07 12:32:33 UTC
Branch request: rsnapshot for EPEL9

Description of problem:

Please consider adding rsnapshot to EPEL9

https://koji.fedoraproject.org/koji/packageinfo?packageID=3752

Thank you!

Comment 1 Nathan Coulson 2022-04-08 19:41:33 UTC
I took EPEL8's spec file for this and rebuilt on EL9.

I had to make the following change:
BuildRequires:  perl(DirHandle)
Requires:  perl(DirHandle)

(Looks like in el8, /usr/share/perl5/DirHandle.pm is provided by perl-interpreter, while el9 it is provided by perl-DirHandle),  Both packages appear to provide perl(DirHandle).

Comment 2 Nathan Coulson 2022-04-08 19:48:40 UTC
(Also needed to build perl-Lchown, I have some locally rebuild perl RPM's, so could be other dependencies I did not see as well)

Comment 3 Leon Fauster 2022-04-09 01:08:06 UTC
Thanks for taking a look. 

A local rebuild of perl-Lchown and rsnapshot build straight away
without modifications. No further deps necessary. CRB repo enabled.

# rpm -q perl-Lchown-1.01-21.el9.x86_64 rsnapshot
perl-Lchown-1.01-21.el9.x86_64
rsnapshot-1.4.3-7.el9.noarch

$ rpm -q --requires rsnapshot
/usr/bin/perl
config(rsnapshot) = 1.4.3-7.el9
openssh-clients
perl(:VERSION) >= 5.4.0
perl(Cwd)
perl(DirHandle)
perl(Fcntl)
perl(File::Path)
perl(File::stat)
perl(Getopt::Std)
perl(IO::File)
perl(IO::Handle)
perl(IPC::Open3)
perl(Lchown)
perl(POSIX)
perl(constant)
perl(strict)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rsync


# LANG=C yum provides "perl(DirHandle)"
perl-DirHandle-1.05-479.el9.noarch : Supply object methods for directory handles
Repo        : appstream
Matched from:
Provide    : perl(DirHandle) = 1.05

Comment 4 Nathan Coulson 2022-04-10 20:28:51 UTC
(should probably add, I am not part of EPEL, just my own experience packaging it for our own use).  Also didn't test if DirHandle was both a BuildRequires and Requires, or just one.

Comment 5 Leon Fauster 2022-04-15 12:10:40 UTC
The build does not request any missing requirement. Its just a "Requires" while installing that pull the perl packages:


# LANG=C yum install rsnapshot
Last metadata expiration check: 0:02:21 ago on Fri Apr 15 14:04:23 2022.
Dependencies resolved.
=========================================================================================================================
 Package                          Architecture             Version                          Repository               Size
=========================================================================================================================
Installing:
 rsnapshot                        noarch                   1.4.3-7.el9                      local                   112 k
Installing dependencies:
 perl-DirHandle                   noarch                   1.05-479.el9                     appstream                22 k
 perl-Lchown                      x86_64                   1.01-21.el9                      local                    18 k
 rsync                            x86_64                   3.2.3-9.el9                      baseos                  393 k

Transaction Summary
=========================================================================================================================
Install  4 Packages

Total download size: 544 k
Installed size: 1.1 M
Is this ok [y/N]: 
Operation aborted.





To sum up: 

its only perl-Lchown and rsnapshot that need to be branched. 

I'd really appreciate your effort!

Comment 6 Steve S 2022-07-28 14:09:01 UTC
Greetings,

I'd just like to bump this. It's an important feature used by many for backup/recovery of enterprise servers and also for home users.  I'd very much appreciate it if it was branched and built.

Thank You!
Steve S

Comment 7 Jonathan Wright 2022-08-12 20:44:15 UTC
Please branch and build rsnapshot in epel9.

If you do not wish to maintain snapshot in epel9,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS jonathanspw);
please add me through https://src.fedoraproject.org/rpms/rsnapshot/adduser

Comment 8 stone 2022-09-15 22:58:53 UTC
I too would like to see this in epel9

Comment 9 Fedora Update System 2022-11-29 21:33:44 UTC
FEDORA-EPEL-2022-bc9c608e98 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-bc9c608e98

Comment 10 Fedora Update System 2022-11-30 01:43:53 UTC
FEDORA-EPEL-2022-bc9c608e98 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-bc9c608e98

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-12-08 01:11:04 UTC
FEDORA-EPEL-2022-bc9c608e98 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.