diff --git a/parted-1.8.6-noinst-headers.patch b/parted-1.8.6-noinst-headers.patch new file mode 100644 index 0000000..5e9aa66 --- /dev/null +++ b/parted-1.8.6-noinst-headers.patch @@ -0,0 +1,19 @@ +diff -up parted-1.8.6/include/parted/Makefile.am.hdrs parted-1.8.6/include/parted/Makefile.am +--- parted-1.8.6/include/parted/Makefile.am.hdrs 2007-03-19 20:58:55.000000000 -0400 ++++ parted-1.8.6/include/parted/Makefile.am 2007-10-30 14:39:11.000000000 -0400 +@@ -12,11 +12,11 @@ partedinclude_HEADERS = gnu.h \ + natmath.h \ + timer.h \ + unit.h \ +- parted.h \ +- fdasd.h \ +- vtoc.h ++ parted.h + + noinst_HEADERS = crc32.h \ +- endian.h ++ endian.h \ ++ fdasd.h \ ++ vtoc.h + + MAINTAINERCLEANFILES = Makefile.in diff --git a/parted.spec b/parted.spec index c6d46dd..b1eae9e 100644 --- a/parted.spec +++ b/parted.spec @@ -4,7 +4,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 1.8.6 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/parted @@ -16,6 +16,7 @@ Patch2: %{name}-1.8.6-off-by-one.patch Patch3: %{name}-1.8.6-primary-boundary.patch Patch4: %{name}-1.8.6-xvd.patch Patch5: %{name}-1.8.6-devmapper-header.patch +Patch6: %{name}-1.8.6-noinst-headers.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: e2fsprogs-devel readline-devel ncurses-devel @@ -51,6 +52,7 @@ Parted library, you need to install this package. %patch3 -p1 -b .boundary %patch4 -p1 -b .xvd %patch5 -p1 -b .devmapper +%patch6 -p1 -b .noinst %build %configure --enable-device-mapper --enable-selinux --disable-static @@ -96,6 +98,9 @@ fi %{_libdir}/pkgconfig/libparted.pc %changelog +* Tue Oct 30 2007 David Cantrell - 1.8.6-11 +- Do not install fdasd.h and vtoc.h header files + * Thu Oct 04 2007 David Cantrell - 1.8.6-10 - Do not install the testsuite tools