diff --git a/_service b/_service index fa0595c..8eb20e1 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ 9ad8d2ee342c551391f2a9873de01982d24b36d5 git disable - git://github.com/gildor478/ocaml-fileutils.git + https://github.com/gildor478/ocaml-fileutils.git @PARENT_TAG@ [v]?([^\+]+)(.*) \1 diff --git a/ocaml-fileutils-0.6.3.tar.xz b/ocaml-fileutils-0.6.3.tar.xz index a199a84..a2983df 100644 --- a/ocaml-fileutils-0.6.3.tar.xz +++ b/ocaml-fileutils-0.6.3.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5b8a842afe39d9340000fcaf2735e49a8b098377d965c14b53826c0ac21c0f4 -size 42128 +oid sha256:23b323534bbe57f092ac5f09e2f0f444c8daf600bce01e15f601620b7d29241e +size 42204 diff --git a/ocaml-fileutils.changes b/ocaml-fileutils.changes index d68bc44..0c117d7 100644 --- a/ocaml-fileutils.changes +++ b/ocaml-fileutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de + +- Use https URL for github.com + ------------------------------------------------------------------- Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec index 2bce79e..422acdf 100644 --- a/ocaml-fileutils.spec +++ b/ocaml-fileutils.spec @@ -1,7 +1,7 @@ # # spec file for package ocaml-fileutils # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,15 @@ # -%define build_flavor @BUILD_FLAVOR@%{nil} -%if "%{build_flavor}" == "testsuite" +%define build_flavor @BUILD_FLAVOR@%nil +%if "%build_flavor" == "testsuite" %define nsuffix -testsuite %else -%define nsuffix %{nil} +%define nsuffix %nil %endif %define pkg ocaml-fileutils -Name: %{pkg}%{nsuffix} +Name: %pkg%nsuffix Version: 0.6.3 Release: 0 %{?ocaml_preserve_bytecode} @@ -32,16 +32,16 @@ Summary: OCaml library for common file and filename operations License: SUSE-LGPL-2.0-with-linking-exception Group: Development/Languages/OCaml URL: https://opam.ocaml.org/packages/fileutils -Source0: %{pkg}-%{version}.tar.xz +Source0: %pkg-%version.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20210121 +BuildRequires: ocaml-rpm-macros >= 20220222 BuildRequires: ocamlfind(bytes) BuildRequires: ocamlfind(stdlib-shims) BuildRequires: ocamlfind(str) BuildRequires: ocamlfind(unix) -%if "%{build_flavor}" == "testsuite" +%if "%build_flavor" == "testsuite" BuildRequires: ocamlfind(fileutils) BuildRequires: ocamlfind(oUnit) BuildRequires: ocamlfind(stdlib-shims) @@ -58,39 +58,39 @@ manipulates real files, the second one is made for manipulating abstract filenames. %package devel -Summary: Development files for %{name} +Summary: Development files for %name Group: Development/Languages/OCaml -Requires: %{name} = %{version} +Requires: %name = %version %description devel -The %{name}-devel package contains libraries and signature files for -developing applications that use %{name}. +The %name-devel package contains libraries and signature files for +developing applications that use %name. %prep -%autosetup -p1 -n %{pkg}-%{version} +%autosetup -p1 -n %pkg-%version %build dune_release_pkgs='fileutils' %ocaml_dune_setup -%if "%{build_flavor}" == "" +%if "%build_flavor" == "" %ocaml_dune_build %endif %install -%if "%{build_flavor}" == "" +%if "%build_flavor" == "" %ocaml_dune_install %ocaml_create_file_list %endif -%if "%{build_flavor}" == "testsuite" +%if "%build_flavor" == "testsuite" %check %ocaml_dune_test %endif -%if "%{build_flavor}" == "" -%files -f %{name}.files +%if "%build_flavor" == "" +%files -f %name.files -%files devel -f %{name}.files.devel +%files devel -f %name.files.devel %endif