Hello community, here is the log from the commit of package fossil for openSUSE:Factory checked in at 2020-11-25 19:30:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fossil (Old) and /work/SRC/openSUSE:Factory/.fossil.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fossil" Wed Nov 25 19:30:27 2020 rev:29 rq:850714 version:2.13 Changes: -------- --- /work/SRC/openSUSE:Factory/fossil/fossil.changes 2020-11-02 14:06:25.904774715 +0100 +++ /work/SRC/openSUSE:Factory/.fossil.new.5913/fossil.changes 2020-11-25 19:31:17.070611465 +0100 @@ -1,0 +2,5 @@ +Wed Nov 25 11:42:18 UTC 2020 - Dan Čermák <[email protected]> + +- enable tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fossil.spec ++++++ --- /var/tmp/diff_new_pack.K1FvB3/_old 2020-11-25 19:31:17.654612039 +0100 +++ /var/tmp/diff_new_pack.K1FvB3/_new 2020-11-25 19:31:17.654612039 +0100 @@ -17,6 +17,7 @@ %bcond_with system_sqlite +%bcond_without tests Name: fossil Version: 2.13 Release: 0 @@ -24,7 +25,7 @@ License: BSD-2-Clause Group: Development/Tools/Version Control URL: https://www.fossil-scm.org/ -Source: https://www.fossil-scm.org/index.html/uv/%{name}-src-%{version}.tar.gz +Source: %{URL}/index.html/uv/%{name}-src-%{version}.tar.gz BuildRequires: fuse-devel BuildRequires: gcc BuildRequires: openssl-devel @@ -44,12 +45,13 @@ * sqlite-backed database %prep -%setup -q +%autosetup # test package version and source version match grep -qFx %{version} VERSION %build -export CFLAGS="%{optflags}" +%{?set_build_flags: %{set_build_flags}} +%{!?set_build_flags: export CFLAGS="%{optflags}"} # FIXME: you should use the %%configure macro ./configure \ --prefix=%{_prefix} \ @@ -64,6 +66,11 @@ %make_install install -D -m 644 -t %{buildroot}%{_mandir}/man1 fossil.1 +%check +%if %{with tests} +tclsh test/tester.tcl %{buildroot}%{_bindir}/%{name} +%endif + %files %license COPYRIGHT-BSD2.txt %{_bindir}/fossil _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
