Bug 2282872 - Review Request: supernovas-libs - SuperNOVAS astrometry library
Summary: Review Request: supernovas-libs - SuperNOVAS astrometry library
Keywords:
Status: CLOSED DUPLICATE of bug 2283055
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://smithsonian.github.io/SuperNO...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-23 09:00 UTC by Attila Kovacs
Modified: 2024-05-24 09:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-24 09:11:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 7479633 to 7480089 (1.30 KB, patch)
2024-05-23 11:32 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 7480089 to 7480129 (1.36 KB, patch)
2024-05-23 11:52 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 7480129 to 7481536 (1.72 KB, patch)
2024-05-23 15:01 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 7481536 to 7481623 (1.16 KB, patch)
2024-05-23 15:35 UTC, Fedora Review Service
no flags Details | Diff

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 ***


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