osc copypac from project:home:reinauer package:fwts revision:9

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=1
This commit is contained in:
Cristian Rodríguez 2011-12-12 04:38:31 +00:00 committed by Git OBS Bridge
commit d1abacdb87
7 changed files with 155 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
fwts-0.18.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43996be207f91856e4da29f14935e1d8a5aaf7b5e98f37c1e5a14761545a38ef
size 153189

5
fwts.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Sep 1 10:02:05 CEST 2010 - stepan@coresystems.de
- initial package of fwts (version 0.18.1)

57
fwts.spec Normal file
View File

@ -0,0 +1,57 @@
#
# spec file for package fwts (Version 0.18.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fwts
Url: http://kernel.ubuntu.com/git?p=cking/fwts/.git
License: GPL v2 or later
Group: Development/Tools/Other
Requires: acpica dmidecode pciutils
AutoReqProv: on
Summary: Firmware Test Suite
Version: 0.18.1
Release: 1
Source: %{name}-%{version}.tar.bz2
Patch0: no-werror.diff
Patch1: libm-hack.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pciutils-devel pcre pcre-devel
%description
The FirmWare Test Suite (fwts) is a tool to do automatic testing of a PC's
firmware. There can be a lot of subtle or vexing Linux Kernel/firmware issues
caused when firmware is buggy, so it's useful to have a tool that can
automatically check for common BIOS and ACPI errors. Where possible the tool
will give some form of advice on how to fix issues or workaround firmware
issues.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root)
%doc /usr/share/man/man1/fwts.1.gz
%defattr(-,root,root)
/usr/bin/fwts
%changelog

12
libm-hack.diff Normal file
View File

@ -0,0 +1,12 @@
diff -ur fwts-0.18.1.orig/src/Makefile.am fwts-0.18.1/src/Makefile.am
--- fwts-0.18.1.orig/src/Makefile.am 2010-09-01 10:17:46.000000000 +0200
+++ fwts-0.18.1/src/Makefile.am 2010-09-01 10:35:25.000000000 +0200
@@ -40,7 +40,7 @@
hotkey/hotkey/hotkey.c \
kernel/version/version.c
-fwts_LDADD = $(top_srcdir)/src/lib/src/libtestsuite.a
+fwts_LDADD = $(top_srcdir)/src/lib/src/libtestsuite.a -lm
man_MANS = ../doc/fwts.1

54
no-werror.diff Normal file
View File

@ -0,0 +1,54 @@
diff -ur fwts-0.18.1.orig/configure.ac fwts-0.18.1/configure.ac
--- fwts-0.18.1.orig/configure.ac 2010-09-01 09:54:13.000000000 +0200
+++ fwts-0.18.1/configure.ac 2010-09-01 10:18:13.000000000 +0200
@@ -1,5 +1,5 @@
AC_INIT([fwts],[0.1],[colin.king@canonical.com])
- AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+ AM_INIT_AUTOMAKE([-Wall foreign])
AC_PROG_CC
AC_PROG_RANLIB
AC_C_INLINE
diff -ur fwts-0.18.1.orig/src/lib/src/Makefile.am fwts-0.18.1/src/lib/src/Makefile.am
--- fwts-0.18.1.orig/src/lib/src/Makefile.am 2010-09-01 09:54:13.000000000 +0200
+++ fwts-0.18.1/src/lib/src/Makefile.am 2010-09-01 10:19:19.000000000 +0200
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall -Werror
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall
noinst_LIBRARIES = libtestsuite.a
libtestsuite_a_SOURCES = \
diff -ur fwts-0.18.1.orig/src/lib/src/Makefile.in fwts-0.18.1/src/lib/src/Makefile.in
--- fwts-0.18.1.orig/src/lib/src/Makefile.in 2010-09-01 09:54:13.000000000 +0200
+++ fwts-0.18.1/src/lib/src/Makefile.in 2010-09-01 10:19:14.000000000 +0200
@@ -157,7 +157,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall -Werror
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall
noinst_LIBRARIES = libtestsuite.a
libtestsuite_a_SOURCES = \
list.c \
diff -ur fwts-0.18.1.orig/src/Makefile.am fwts-0.18.1/src/Makefile.am
--- fwts-0.18.1.orig/src/Makefile.am 2010-09-01 09:54:13.000000000 +0200
+++ fwts-0.18.1/src/Makefile.am 2010-09-01 10:17:46.000000000 +0200
@@ -1,6 +1,6 @@
SUBDIRS = lib
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall -Werror
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall
AM_LDFLAGS = -lm -lpcre
bin_PROGRAMS = fwts
diff -ur fwts-0.18.1.orig/src/Makefile.in fwts-0.18.1/src/Makefile.in
--- fwts-0.18.1.orig/src/Makefile.in 2010-09-01 09:54:13.000000000 +0200
+++ fwts-0.18.1/src/Makefile.in 2010-09-01 10:17:53.000000000 +0200
@@ -222,7 +222,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = lib
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall -Werror
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -Wall
AM_LDFLAGS = -lm -lpcre
fwts_SOURCES = main.c \
acpi/klog/klog.c \