Simplify with %bcond
- Add VCS field
This commit is contained in:
parent
cbbff9ed00
commit
57f62de477
@ -6,13 +6,9 @@ ExcludeArch: %{ix86}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# ocaml-alcotest requires ocaml-astring, ocaml-cmdliner, ocaml-fmt, and ocaml-uutf,
|
# ocaml-alcotest requires ocaml-astring, ocaml-cmdliner, ocaml-fmt, and ocaml-uutf,
|
||||||
# none of which are otherwise needed for building the OCaml-depenedent packages
|
# none of which are otherwise needed for building the OCaml-dependent packages
|
||||||
# found in RHEL and ELN. We want to avoid the extra dependencies there.
|
# found in RHEL and ELN. We want to avoid the extra dependencies there.
|
||||||
%if 0%{?rhel}
|
%bcond tests %[!0%{?rhel}]
|
||||||
%bcond_with tests
|
|
||||||
%else
|
|
||||||
%bcond_without tests
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: ocaml-calendar
|
Name: ocaml-calendar
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
@ -21,7 +17,8 @@ Summary: Objective Caml library for managing dates and times
|
|||||||
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
|
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
|
||||||
|
|
||||||
URL: https://ocaml-community.github.io/calendar/
|
URL: https://ocaml-community.github.io/calendar/
|
||||||
Source0: https://github.com/ocaml-community/calendar/archive/v%{version}/calendar-%{version}.tar.gz
|
VCS: https://github.com/ocaml-community/calendar
|
||||||
|
Source0: %{vcs}/archive/v%{version}/calendar-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: ocaml >= 4.03
|
BuildRequires: ocaml >= 4.03
|
||||||
BuildRequires: ocaml-dune >= 1.0
|
BuildRequires: ocaml-dune >= 1.0
|
||||||
@ -75,6 +72,10 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 23 2024 Jerry James <loganjerry@gmail.com> - 3.0.0-8
|
||||||
|
- Simplify with %%bcond
|
||||||
|
- Add VCS field
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-8
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user