From bee9962b268ea97415e50ceaeae2a05494033e3b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 22 Aug 2013 15:44:39 +0100 Subject: [PATCH] Remove spec file, since this package has been added to Fedora. --- .gitignore | 1 - Makefile.am | 1 - configure.ac | 7 +--- qemu-sanity-check.spec.in | 100 ---------------------------------------------- 4 files changed, 1 insertion(+), 108 deletions(-) delete mode 100644 qemu-sanity-check.spec.in diff --git a/.gitignore b/.gitignore index 0cea7c4..c2f3c39 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,6 @@ Makefile.in /qemu-sanity-check /qemu-sanity-check.1 /qemu-sanity-check.pod -/qemu-sanity-check.spec /qemu-sanity-check-*.tar.gz /stamp-h1 /test-driver diff --git a/Makefile.am b/Makefile.am index e9f0009..5f22f79 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,6 @@ EXTRA_DIST = \ qemu-sanity-check.in \ qemu-sanity-check.pod \ qemu-sanity-check.pod.in \ - qemu-sanity-check.spec \ sleeper \ $(TESTS) diff --git a/configure.ac b/configure.ac index 7abd199..791360f 100644 --- a/configure.ac +++ b/configure.ac @@ -18,10 +18,6 @@ AC_INIT([qemu-sanity-check],[1.1.3]) AM_INIT_AUTOMAKE([foreign]) -dnl Only used temporarily while the spec file is contained in the -dnl tarball. We will remove this later. -AC_SUBST([RPM_RELEASE],[1]) - dnl Check for basic C environment. AC_PROG_CC_STDC AC_PROG_INSTALL @@ -73,7 +69,6 @@ AM_CONDITIONAL([HAVE_POD2MAN], [test "x$POD2MAN" != "xno"]) dnl Produce output files. AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([qemu-sanity-check],[chmod 0555 qemu-sanity-check]) -AC_CONFIG_FILES([Makefile - qemu-sanity-check.spec]) +AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/qemu-sanity-check.spec.in b/qemu-sanity-check.spec.in deleted file mode 100644 index d57e96f..0000000 --- a/qemu-sanity-check.spec.in +++ /dev/null @@ -1,100 +0,0 @@ -%global debug_package %{nil} - -Name: @PACKAGE_NAME@ -Version: @PACKAGE_VERSION@ -Release: @RPM_RELEASE@%{?dist} -Summary: Simple qemu and Linux kernel sanity checker - -License: GPLv2+ -URL: http://people.redhat.com/~rjones/qemu-sanity-check -Source0: http://people.redhat.com/~rjones/qemu-sanity-check/files/%{name}-%{version}.tar.gz - -# For building manual pages. -BuildRequires: /usr/bin/perldoc - -# For building the initramfs. -BuildRequires: cpio -BuildRequires: glibc-static - -# BuildRequire these in order to let 'make check' run. These are -# not required unless you want to run the tests. Note don't run the -# tests on ARM since qemu isn't likely to work. -%ifarch %{ix86} x86_64 -BuildRequires: qemu-system-x86 -%endif - -BuildRequires: kernel - -%ifarch %{ix86} x86_64 -Requires: qemu-system-x86 -%endif -%ifarch armv7hl -Requires: qemu-system-arm -%endif - -Requires: kernel - -# Require the -nodeps subpackage. -Requires: %{name}-nodeps = %{version}-%{release} - - -%description -Qemu-sanity-check is a short shell script that test-boots a Linux -kernel under qemu, making sure it boots up to userspace. The idea is -to test the Linux kernel and/or qemu to make sure they are working. - -Most users should install the %{name} package. - -If you are testing qemu or the kernel in those packages and you want -to avoid a circular dependency on qemu or kernel, you should use -'BuildRequires: %{name}-nodeps' instead. - - -%package nodeps -Summary: Simple qemu and Linux kernel sanity checker (no dependencies) -License: GPLv2+ - - -%description nodeps -This is the no-depedencies version of %{name}. It is exactly the same -as %{name} except that this package does not depend on qemu or kernel. - - -%prep -%setup -q - - -%build -# NB: canonical_arch is a variable in the final script, so it -# has to be escaped here. -%configure --with-qemu-list="qemu-system-\$canonical_arch" -make %{?_smp_mflags} - - -%check -%ifarch %{ix86} x86_64 -make check || { - cat test-suite.log - exit 1 -} -%endif - - -%install -make DESTDIR=$RPM_BUILD_ROOT install - - -%files -%doc COPYING - - -%files nodeps -%doc COPYING README -%{_bindir}/qemu-sanity-check -%{_libdir}/qemu-sanity-check -%{_mandir}/man1/qemu-sanity-check.1* - - -%changelog -* Tue Aug 20 2013 Richard W.M. Jones - @PACKAGE_VERSION@-@RPM_RELEASE@ -- Initial release. -- 1.8.3.1