public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Attila Kovacs <attipaci@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/supernovas] epel10: Update to upstream v1.7.0
Date: Tue, 16 Jun 2026 08:27:48 GMT	[thread overview]
Message-ID: <178159846864.1.8720769221779185335.rpms-supernovas-6b41866dfc43@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/supernovas
Branch : epel10
Commit : 6b41866dfc43935d93351bca460c1920c4e03ad4
Author : Attila Kovacs <attipaci@gmail.com>
Date   : 2026-06-16T09:55:22+02:00
Stats  : +11/-36 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/supernovas/c/6b41866dfc43935d93351bca460c1920c4e03ad4?branch=epel10

Log:
Update to upstream v1.7.0

---
diff --git a/install-examples.patch b/install-examples.patch
deleted file mode 100644
index 2c3128b..0000000
--- a/install-examples.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index dc110026..159a388a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -225,13 +225,22 @@ install(FILES CHANGELOG.md CONTRIBUTING.md
- )
- 
- # For examples/ dir, list just the directory, not the individual files installed.
--install(CODE "message(STATUS \"Installing: <prefix>/${CMAKE_INSTALL_DOCDIR}/examples/\")")
--install(DIRECTORY ${PROJECT_SOURCE_DIR}/examples
--    TYPE DOC
-+install(CODE "message(STATUS \"Installing: <prefix>/${CMAKE_INSTALL_DOCDIR}/examples/c99\")")
-+install(DIRECTORY ${PROJECT_SOURCE_DIR}/examples/c99
-     MESSAGE_NEVER
-     COMPONENT Development
-+    DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples
- )
- 
-+install(CODE "message(STATUS \"Installing: <prefix>/${CMAKE_INSTALL_DOCDIR}/examples/cpp\")")
-+if(ENABLE_CPP)
-+    install(DIRECTORY ${PROJECT_SOURCE_DIR}/examples/cpp
-+        MESSAGE_NEVER
-+        COMPONENT Development
-+        DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples
-+    )
-+endif()
-+
- # For legacy/ dir, list just the directory, not the individual files installed.
- install(CODE "message(STATUS \"Installing: <prefix>/${CMAKE_INSTALL_DOCDIR}/legacy/*\")")
- install(DIRECTORY ${PROJECT_SOURCE_DIR}/legacy

diff --git a/sources b/sources
index 93ecb21..c5eb4cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v1.6.0.tar.gz) = 0f5bd64966e441779c99ef7195c0f0365ad19d5b684e9b8a1dd478b05052e3f7c54a50e87a30e424f25fd847dca4fea4c152bbf18129d286794fb05cb804b668
+SHA512 (v1.7.0.tar.gz) = d45c26ec24b74a0565304f7d8bd254fea66e2ea31e39a7e3e32554e4e06a725592258dcf1b5c630eb9a196b568fe5f079302773c1989e089a18cb1a5aca76e60

diff --git a/supernovas.spec b/supernovas.spec
index 687b543..4b69d9d 100644
--- a/supernovas.spec
+++ b/supernovas.spec
@@ -1,13 +1,12 @@
-%global upstream_version     1.6.0
+%global upstream_version     1.7.0
 
 Name:            supernovas
-Version:         1.6.0
+Version:         1.7.0
 Release:         %autorelease
 Summary:         The Naval Observatory's NOVAS C astronomy library, made better 
 License:         Unlicense
 URL:             https://sigmyne.github.io/SuperNOVAS
 Source0:         https://github.com/Sigmyne/SuperNOVAS/archive/refs/tags/v%{upstream_version}.tar.gz
-Patch0:          install-examples.patch
 
 # No i686 calceph package to build against
 ExcludeArch:     %{ix86}
@@ -16,7 +15,9 @@ BuildRequires:   calceph-devel%{_isa} >= 4.0.0
 BuildRequires:   gcc
 BuildRequires:   gcc-c++
 BuildRequires:   cmake
+BuildRequires:   libcurl-devel
 BuildRequires:   doxygen >= 1.13.0
+BuildRequires:   fdupes
 
 # Starting with v1.5.0, we no longer need or package cio-data
 Obsoletes:       %{name}-cio-data < %{version}-%{release} 
@@ -63,6 +64,7 @@ development, which requires use of precise Solar-system data.
 
 %package devel
 Summary:         C development files for the SuperNOVAS C/C++ astronomy library
+Requires:        lubcurl-devel%{?_isa}
 Requires:        %{name}%{?_isa} = %{version}-%{release}
 Requires:        %{name}-c++ = %{version}-%{release}
 Requires:        %{name}-solsys-calceph%{?_isa} = %{version}-%{release}
@@ -82,7 +84,7 @@ This package provides HTML documentation, examples, and legacy adapter
 templates for the SuperNOVAS C/C++ astronomy library.
 
 %prep
-%autosetup -p1 -n SuperNOVAS-%{upstream_version}
+%autosetup -n SuperNOVAS-%{upstream_version}
 
 %build
 %cmake \
@@ -96,6 +98,10 @@ templates for the SuperNOVAS C/C++ astronomy library.
 %install
 %cmake_install
 
+# Replace documentation dupes with hard links.
+# (Not needed starting f44...)
+hardlink --ignore-time --reflink=never $RPM_BUILD_ROOT/%{_docdir}/%{name}/html
+
 %check
 %ctest
 
@@ -116,7 +122,6 @@ templates for the SuperNOVAS C/C++ astronomy library.
 %{_libdir}/cmake
 %{_libdir}/pkgconfig
 %doc %{_docdir}/%{name}/*.md
-%dir %{_docdir}/%{name}/examples
 %doc %{_docdir}/%{name}/examples
 %doc %{_docdir}/%{name}/legacy
 

                 reply	other threads:[~2026-06-16  8:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178159846864.1.8720769221779185335.rpms-supernovas-6b41866dfc43@fedoraproject.org \
    --to=attipaci@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox