Bug 2306164

Summary: Review Request: fyi - Command line utility to send desktop notifications
Product: [Fedora] Fedora Reporter: Neel Chauhan <neel>
Component: Package ReviewAssignee: Onuralp Sezer <thunderbirdtr>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: neel, package-review, thunderbirdtr
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: thunderbirdtr: fedora-review+
Hardware: All   
OS: Linux   
URL: https://codeberg.org/dnkl/fyi
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-26 02:58:45 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:
Attachments:
Description Flags
The .spec file difference from Copr build 7941975 to 7941976
none
The .spec file difference from Copr build 7941976 to 7942089
none
The .spec file difference from Copr build 7942176 to 7942188
none
The .spec file difference from Copr build 7942188 to 7942190 none

Description Neel Chauhan 2024-08-20 18:23:59 UTC
Spec URL: https://neelc.org/fedora/fyi/r1/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r1/fyi-1.0.3-1.fc40.src.rpm
Description: FYI (for your information) is a command line utility to send desktop notifications to the user via a notification daemon implementing XDG desktop notifications.
Fedora Account System Username: neelc

Comment 1 Neel Chauhan 2024-08-23 19:46:33 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=122369719

Comment 2 Onuralp Sezer 2024-08-25 22:34:17 UTC
I am taking the review

Comment 3 Onuralp Sezer 2024-08-25 22:50:19 UTC
[fedora-review-service-build]

Comment 4 Fedora Review Service 2024-08-25 22:54:21 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7941920
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07941920-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Onuralp Sezer 2024-08-25 23:06:02 UTC
Hello Neel for start please remove duplicate LICENSE entry and use license macro entry only and  secondly use %doc macro like this 

Example : 

%doc README.rst docs/readme.rst


Thank you.

Comment 6 Neel Chauhan 2024-08-25 23:36:18 UTC
I updated it. Does it look good?

Spec URL: https://neelc.org/fedora/fyi/r2/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r2/fyi-1.0.3-1.fc42.src.rpm

Comment 7 Neel Chauhan 2024-08-25 23:36:26 UTC
[fedora-review-service-build]

Comment 8 Fedora Review Service 2024-08-25 23:40:06 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7941974
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07941974-fyi/fedora-review/review.txt

Found issues:

- License file LICENSE is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 9 Fedora Review Service 2024-08-25 23:41:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7941975
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07941975-fyi/fedora-review/review.txt

Found issues:

- License file LICENSE is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 10 Neel Chauhan 2024-08-25 23:44:34 UTC
Actually, try these (based on Comment 8's errors):

Spec URL: https://neelc.org/fedora/fyi/r3/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r3/fyi-1.0.3-1.fc42.src.rpm

Comment 11 Fedora Review Service 2024-08-25 23:47:56 UTC
Created attachment 2044836 [details]
The .spec file difference from Copr build 7941975 to 7941976

Comment 12 Fedora Review Service 2024-08-25 23:47:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7941976
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07941976-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 13 Onuralp Sezer 2024-08-26 00:58:40 UTC
Hello

Just use %license LICENSE and you could remove path behind it and add CHANGELOG as doc next to README file as well. No need to type full path just add next to README with space

%license LICENSE
%doc README.md CHANGELOG.md

Comment 14 Neel Chauhan 2024-08-26 01:38:04 UTC
When doing "%license LICENSE" on it's own, I get this:

error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/fyi/LICENSE

One way is to fix this is to do "%doc CHANGELOG.md LICENSE README.md"

If that's okay, here's my updated files:

Spec URL: https://neelc.org/fedora/fyi/r4/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r4/fyi-1.0.3-1.fc42.src.rpm

Comment 15 Fedora Review Service 2024-08-26 01:43:41 UTC
Created attachment 2044838 [details]
The .spec file difference from Copr build 7941976 to 7942089

Comment 16 Fedora Review Service 2024-08-26 01:43:43 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7942089
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07942089-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 17 Onuralp Sezer 2024-08-26 01:49:22 UTC
okay remove doc folder 

%install
%meson_install
rm -r %{buildroot}/%{_datadir}/doc/%{name}/

%files
%license LICENSE
%doc CHANGELOG.md LICENSE README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz

%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
 
%files fish-completion
%{_datadir}/fish/vendor_completions.d/%{name}.fish

And It should be fine and we need to split bash and fish and for example reference check out here

https://src.fedoraproject.org/rpms/fastfetch/blob/rawhide/f/fastfetch.spec

You can see how bash and fish split also write desc and other parts you need I only write files section

Comment 18 Neel Chauhan 2024-08-26 02:04:31 UTC
I like it. My new ones are:

Spec URL: https://neelc.org/fedora/fyi/r4/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r4/fyi-1.0.3-1.fc42.src.rpm

I'm new-ish to RPM packaging, I came from the FreeBSD world where subpackages were never used. Is this good?

Sorry for the back and forth.

Comment 19 Fedora Review Service 2024-08-26 02:08:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7942176
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07942176-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 20 Onuralp Sezer 2024-08-26 02:14:18 UTC
I believe this spec file I need to check 

https://neelc.org/fedora/fyi/r5/fyi.spec

Please post your new ones again so bot can check properly

Comment 21 Neel Chauhan 2024-08-26 02:15:55 UTC
Oops, is this good:

Spec URL: https://neelc.org/fedora/fyi/r5/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r5/fyi-1.0.3-1.fc42.src.rpm

Comment 22 Onuralp Sezer 2024-08-26 02:20:01 UTC
It is no problem to be new welcome :) and
We should also use autosetup with p1 means if any patch added it will automatically use it.

%prep
%autosetup-p1 -n %{name}


And then rest should be good

Comment 23 Fedora Review Service 2024-08-26 02:23:02 UTC
Created attachment 2044840 [details]
The .spec file difference from Copr build 7942176 to 7942188

Comment 24 Fedora Review Service 2024-08-26 02:23:04 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7942188
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07942188-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 25 Neel Chauhan 2024-08-26 02:23:30 UTC
Done! Please approve when you can.

Spec URL: https://neelc.org/fedora/fyi/r6/fyi.spec
SRPM URL: https://neelc.org/fedora/fyi/r6/fyi-1.0.3-1.fc42.src.rpm

Comment 26 Fedora Review Service 2024-08-26 02:29:59 UTC
Created attachment 2044841 [details]
The .spec file difference from Copr build 7942188 to 7942190

Comment 27 Fedora Review Service 2024-08-26 02:30:01 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7942190
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306164-fyi/fedora-rawhide-x86_64/07942190-fyi/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 28 Onuralp Sezer 2024-08-26 02:33:17 UTC
Review notes:

* Package follows Fedora packaging guidelines
* Package builds and installs
* Package licensing looks correct
* No serious issues in rpmlint


PACKAGE APPROVED.

Comment 29 Fedora Admin user for bugzilla script actions 2024-08-26 02:34:50 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/fyi

Comment 30 Fedora Update System 2024-08-26 02:54:50 UTC
FEDORA-2024-873f0bd65d (fyi-1.0.3-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-873f0bd65d

Comment 31 Fedora Update System 2024-08-26 02:56:58 UTC
FEDORA-2024-1911accbec (fyi-1.0.3-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1911accbec

Comment 32 Fedora Update System 2024-08-26 02:58:45 UTC
FEDORA-2024-873f0bd65d (fyi-1.0.3-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 33 Fedora Update System 2024-08-26 03:01:44 UTC
FEDORA-2024-1911accbec (fyi-1.0.3-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.