Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1634407 - Review Request: lterm - SSH/Telnet client
Summary: Review Request: lterm - SSH/Telnet client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luis Bazan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2018-09-30 15:16 UTC by Luis Segundo
Modified: 2018-10-30 17:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-15 20:56:10 UTC
Type: ---
Embargoed:
bazanluis20: fedora-review+


Attachments (Terms of Use)

Description Luis Segundo 2018-09-30 15:16:00 UTC
Spec URL: https://blackfile.fedorapeople.org/lterm/lterm.spec
SRPM URL: https://blackfile.fedorapeople.org/lterm/lterm-1.5.1-1.fc28.src.rpm
Description: lterm is a vte-based terminal emulator for GNU/Linux systems. 
Fedora Account System Username:blackfile

rpmlint result:
luis@blackfile ~> rpmlint rpmbuild/SRPMS/lterm-1.5.1-1.fc28.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 1 Antonio T. (sagitter) 2018-09-30 15:50:36 UTC
Hi Luis.

Are you in the packager group?
I don't see your FAS in this group.

Comment 2 Luis Segundo 2018-09-30 19:20:29 UTC
Hi Antonio, I'm still not in the group of packers.

Comment 3 Antonio T. (sagitter) 2018-09-30 19:36:00 UTC
Your package needs to be renovate a little bit.

Are you already read the packaging guidelines?
https://fedoraproject.org/wiki/Packaging:Guidelines#Macros
https://fedoraproject.org/wiki/Packaging:RPMMacros

This document reports many informations for correctly using RPM macros.

Also read the section about BuildRequires packages.
https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires

Why creation of debug packages is disabled with "%global debug_package %{nil}"?
https://fedoraproject.org/wiki/Packaging:Guidelines#Debuginfo_packages

And, none license file?

Comment 4 Luis Segundo 2018-09-30 19:50:56 UTC
Thank you for your comments, I will be looking at the documentation

Comment 5 Luis Segundo 2018-10-04 16:50:19 UTC
Hi Antonio, I have updated the files
1- I removed the debug "%global debug_package %{nil}"
2 -I included the license

Comment 6 Antonio T. (sagitter) 2018-10-04 17:24:10 UTC
- Dependencies (save some exception) are automatically resolved.
The 'Requires:' lines are not needed.

- With "BuildRequires:  pkgconfig(libssh) <= 0.7.5" you can't currently build this package on Fedora because  we have 'libssh-0.8.3' available now.

Why this choice?

- Usually, '%post' and '%postun' scriptlets are positioned after '%install' section; however, the 'update-desktop-database' commands are not needed anymore and can be removed.

- Make command?

%build
%configure --with-gtk2
??%make_build??

- All commands you have listed under '%install' (the '$RPM_BUILD_ROOT' removing is redundant) are done with a simple

%make_install

- '%defattr' is redundant.
(See https://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions)

- Use the macro:

'%{_prefix}/share' --> '%{_datadir}'

- '%{name}.desktop' file is not verified. See https://fedoraproject.org/wiki/Packaging:Guidelines#desktop-file-install_usage

Postscriptum:

What '%make_build' and '%make_install' commands do? Discover it with the '--eval' option of 'rpm':

$ rpm --eval %make_build
/usr/bin/make -O -j2

$ rpm --eval %make_install
/usr/bin/make install DESTDIR=/home/sagitter/rpmbuild/BUILDROOT/%{NAME}-%{VERSION}-%{RELEASE}.x86_64 INSTALL="/usr/bin/install -p"

Comment 7 Luis Segundo 2018-10-05 16:32:11 UTC
I have updated the files, can you verify please.

Thanks

Comment 8 Antonio T. (sagitter) 2018-10-06 15:37:04 UTC
- 'desktop-file-install' already includes the file validation; the line 

'desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop'

can be removed.

- As said before, the 'update-desktop-database' commands are not used anymore.

- Additionally,

'%{_datadir}/%{name}/*'

will allow to own all the files inside '%{_datadir}/%{name}/' but not the directory '%{_datadir}/%{name}'.

Just modify that line to

'%{_datadir}/%{name}/'

Comment 9 Luis Segundo 2018-10-06 15:57:27 UTC
Done!

Comment 10 Antonio T. (sagitter) 2018-10-06 16:05:33 UTC
Scratch build on Koji:

checking for cl.exe... no
configure: error: in `/builddir/build/BUILD/lterm-1.5.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.7hniiv (%build)

Try a build with Mock for testing a new SRPM.
GCC compiler is missing among BuildRequires packages.

Comment 11 Luis Segundo 2018-10-06 18:32:15 UTC
I added GCC to BuildRequires 
can you see my koji result https://koji.fedoraproject.org/koji/taskinfo?taskID=30080208

Comment 12 Antonio T. (sagitter) 2018-10-07 15:35:58 UTC
You need a sponsor now:
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group

Comment 13 Luis Segundo 2018-10-07 15:45:19 UTC
Thanks a lot Antonio.

Comment 14 Luis Bazan 2018-10-13 17:49:05 UTC
Thanks Antonio for the review process and thanks Eduardo for sponsor Luis in the packager team.

Cheers,

Comment 15 Gwyn Ciesla 2018-10-15 19:34:12 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/lterm

Comment 17 Fedora Update System 2018-10-17 03:44:44 UTC
lterm-1.5.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1787f702b1

Comment 18 Fedora Update System 2018-10-17 03:44:50 UTC
lterm-1.5.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-dc188994d0

Comment 19 Fedora Update System 2018-10-17 23:31:32 UTC
lterm-1.5.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-dc188994d0

Comment 20 Fedora Update System 2018-10-18 05:16:35 UTC
lterm-1.5.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1787f702b1

Comment 21 Fedora Update System 2018-10-26 17:06:29 UTC
lterm-1.5.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2018-10-30 17:29:08 UTC
lterm-1.5.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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