Bug 2282872

Summary: Review Request: supernovas-libs - SuperNOVAS astrometry library
Product: [Fedora] Fedora Reporter: Attila Kovacs <attipaci>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mattia.verga, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://smithsonian.github.io/SuperNOVAS/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-24 09:11:09 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 7479633 to 7480089
none
The .spec file difference from Copr build 7480089 to 7480129
none
The .spec file difference from Copr build 7480129 to 7481536
none
The .spec file difference from Copr build 7481536 to 7481623 none

Description Attila Kovacs 2024-05-23 09:00:23 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-x86_64/07479613-supernovas-libs/supernovas-libs.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-x86_64/07479613-supernovas-libs/supernovas-libs-1.0.1-1.fc41.src.rpm
Description: 
Runtime libraries and data for the SuperNOVAS C/C++ astronomy library.

SuperNOVAS is a C/C++ astronomy software library, providing high-precision 
astronomical calculations such as one might need for running an observatory or 
a precise planetarium program. It is a fork of the Naval Observatory Vector 
Astrometry Software (NOVAS) C version 3.1, providing bug fixes and making it 
easier to use overall.

The main goal of SuperNOVAS is to improve usability, add new features, promote 
best practices, and provide accessible documentation -- all while retaining 
100% API compatibility with NOVAS C 3.1. Thus, if you have written code for 
NOVAS C 3.1, it should readily work with SuperNOVAS also.

SuperNOVAS is entirely free to use without licensing restrictions. Its source 
code is compatible with the C90 standard, and hence should be suitable for old 
and new platforms alike. It is light-weight and easy to use, with full support 
for the IAU 2000/2006 standards for sub-micro-arc-second position calculations.

Fedora Account System Username: attipaci

This is my first attempt to package for Fedora. As such I hope I can find a sponsor to navigate me through the process. I look forward to the journey.

There are two related packages to this one, for which I am submitting review request separately also: 'supernovas-devel' and 'supernovas-doc'.

Build on Copr is available at:

https://copr.fedorainfracloud.org/coprs/attipaci/supernovas/build/7479613/

Thanks for your help in advance,

-- Attila Kovacs

Comment 1 Fedora Review Service 2024-05-23 09:06:45 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7479633
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2282872-supernovas-libs/fedora-rawhide-x86_64/07479633-supernovas-libs/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 3 Fedora Review Service 2024-05-23 11:32:47 UTC
Created attachment 2034791 [details]
The .spec file difference from Copr build 7479633 to 7480089

Comment 4 Fedora Review Service 2024-05-23 11:32:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7480089
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2282872-supernovas-libs/fedora-rawhide-x86_64/07480089-supernovas-libs/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 6 Fedora Review Service 2024-05-23 11:52:34 UTC
Created attachment 2034795 [details]
The .spec file difference from Copr build 7480089 to 7480129

Comment 7 Fedora Review Service 2024-05-23 11:52:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7480129
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2282872-supernovas-libs/fedora-rawhide-x86_64/07480129-supernovas-libs/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 8 Attila Kovacs 2024-05-23 14:54:05 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-aarch64/07481514-supernovas-libs/supernovas-libs.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-aarch64/07481514-supernovas-libs/supernovas-libs-1.0.1-1.fc41.src.rpm


 - Changed `SONAME` to carry major version only (also for upcoming releases upstream) -- in line with the expectation to remain ABI back-compatible through all releases with the same major version.

-- Attila.

Comment 9 Fedora Review Service 2024-05-23 15:01:04 UTC
Created attachment 2034803 [details]
The .spec file difference from Copr build 7480129 to 7481536

Comment 10 Fedora Review Service 2024-05-23 15:01:06 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7481536
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2282872-supernovas-libs/fedora-rawhide-x86_64/07481536-supernovas-libs/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 11 Attila Kovacs 2024-05-23 15:27:18 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-x86_64/07481595-supernovas-libs/supernovas-libs.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/attipaci/supernovas/fedora-rawhide-x86_64/07481595-supernovas-libs/supernovas-libs-1.0.1-1.fc41.src.rpm

 - Partial reversion of the last change. Back to full version in .so file name (e.g. 'libsupernovas.so.1.0.1'), and major-only SONAME (e.g. 'libsupernovas.so.1'). If my understanding of the packaging guide is correct, this is best practice for libs. But do let me know if a different scheme is recommended for versioning these.

-- Attila

Comment 12 Fedora Review Service 2024-05-23 15:35:23 UTC
Created attachment 2034820 [details]
The .spec file difference from Copr build 7481536 to 7481623

Comment 13 Fedora Review Service 2024-05-23 15:35:25 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7481623
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2282872-supernovas-libs/fedora-rawhide-x86_64/07481623-supernovas-libs/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 14 Mattia Verga 2024-05-23 18:32:59 UTC
It is not needed to package the -libs, -devel and -docs separately. You should use just one main source package and use subpackages. For example look at https://src.fedoraproject.org/rpms/wcstools/blob/rawhide/f/wcstools.spec

Usually you should name the source package just as upstream (supernovas) and then provide the subpackages. In your case I think you can avoid the -libs subpackage and just use the main supernova package for that.

Also, have a look at https://docs.fedoraproject.org/en-US/packaging-guidelines/ there are some things to tweak (for example, you're missing BuildRequires: make and you should not use rm -rf %{buildroot} )

Comment 15 Attila Kovacs 2024-05-23 19:05:53 UTC
(In reply to Mattia Verga from comment #14)


Hi Mattia!

Thanks for the tip. :-) I definitely prefer to have one .spec to build all three packages from the same source. I'll merge the separate .spec files as per you described. I assume you'll want a separate review request then since the package name will be different from that of this sub-package. (Or let me know if you prefer to continue here instead.)

I'll try to get the merging done tomorrow.

cheers,

-- Attila

Comment 16 Mattia Verga 2024-05-24 06:50:24 UTC
(In reply to Attila Kovacs from comment #15)
> (In reply to Mattia Verga from comment #14)
> 
> 
> Hi Mattia!
> 
> Thanks for the tip. :-) I definitely prefer to have one .spec to build all
> three packages from the same source. I'll merge the separate .spec files as
> per you described. I assume you'll want a separate review request then since
> the package name will be different from that of this sub-package. (Or let me
> know if you prefer to continue here instead.)
> 

It's fine to rename the .spec and .src files and change the title here, but if you prefer you can of course submit a new review request and close this one too ;-)

Comment 17 Attila Kovacs 2024-05-24 09:11:09 UTC

*** This bug has been marked as a duplicate of bug 2283055 ***