forked from pool/parted
Accepting request 926783 from Base:System
OBS-URL: https://build.opensuse.org/request/show/926783 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=134
This commit is contained in:
commit
3105dbf101
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 09:48:22 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- BuildRequire python3-base: Fix execution of test suite. Otherwise
|
||||
we fail with
|
||||
./t0282-gpt-move-backup.sh: /usr/bin/python3: bad interpreter: No
|
||||
such file or directory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 07:35:15 CEST 2021 - aschnell@suse.com
|
||||
|
||||
- run checks during build
|
||||
- added patches:
|
||||
tests-disable.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 16:50:36 CEST 2021 - aschnell@suse.com
|
||||
|
||||
|
@ -74,6 +74,7 @@ Patch101: fatresize-fix-getting-dev-name.patch
|
||||
# Tests patches
|
||||
Patch156: tests-add-helper-require_swap_.patch
|
||||
Patch157: tests-add-dev-md-check-to-t6100.patch
|
||||
Patch158: tests-disable.patch
|
||||
|
||||
# SUSE tests patches
|
||||
Patch200: tests-adapt-to-SUSE.patch
|
||||
@ -87,6 +88,7 @@ BuildRequires: libtool
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: readline-devel
|
||||
PreReq: %install_info_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -157,6 +159,7 @@ to develop applications that require these.
|
||||
%patch101 -p1
|
||||
%patch156 -p1
|
||||
%patch157 -p1
|
||||
%patch158 -p1
|
||||
%patch200 -p1
|
||||
|
||||
%build
|
||||
@ -170,6 +173,9 @@ AUTOPOINT=true autoreconf --force --install
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
25
tests-disable.patch
Normal file
25
tests-disable.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/libparted/tests/Makefile.am b/libparted/tests/Makefile.am
|
||||
index c92a3a3..915bbc4 100644
|
||||
--- a/libparted/tests/Makefile.am
|
||||
+++ b/libparted/tests/Makefile.am
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# This file may be modified and/or distributed without restriction.
|
||||
|
||||
-TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh t4000-volser.sh
|
||||
+TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh
|
||||
EXTRA_DIST = $(TESTS)
|
||||
check_PROGRAMS = label disk zerolen symlink volser
|
||||
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index f9340aa..9d0d08f 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -60,7 +60,6 @@ TESTS = \
|
||||
t3200-resize-partition.sh \
|
||||
t3200-type-change.sh \
|
||||
t3300-palo-prep.sh \
|
||||
- t3310-flags.sh \
|
||||
t3400-whole-disk-FAT-partition.sh \
|
||||
t4000-sun-raid-type.sh \
|
||||
t4001-sun-vtoc.sh \
|
Loading…
x
Reference in New Issue
Block a user