- Do not install fdasd.h and vtoc.h header files

This commit is contained in:
David Cantrell 2007-10-30 19:15:47 +00:00
parent 80ef7384af
commit 75660056b6
2 changed files with 25 additions and 1 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program Summary: The GNU disk partition manipulation program
Name: parted Name: parted
Version: 1.8.6 Version: 1.8.6
Release: 10%{?dist} Release: 11%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/parted 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 Patch3: %{name}-1.8.6-primary-boundary.patch
Patch4: %{name}-1.8.6-xvd.patch Patch4: %{name}-1.8.6-xvd.patch
Patch5: %{name}-1.8.6-devmapper-header.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) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel readline-devel ncurses-devel BuildRequires: e2fsprogs-devel readline-devel ncurses-devel
@ -51,6 +52,7 @@ Parted library, you need to install this package.
%patch3 -p1 -b .boundary %patch3 -p1 -b .boundary
%patch4 -p1 -b .xvd %patch4 -p1 -b .xvd
%patch5 -p1 -b .devmapper %patch5 -p1 -b .devmapper
%patch6 -p1 -b .noinst
%build %build
%configure --enable-device-mapper --enable-selinux --disable-static %configure --enable-device-mapper --enable-selinux --disable-static
@ -96,6 +98,9 @@ fi
%{_libdir}/pkgconfig/libparted.pc %{_libdir}/pkgconfig/libparted.pc
%changelog %changelog
* Tue Oct 30 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-11
- Do not install fdasd.h and vtoc.h header files
* Thu Oct 04 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-10 * Thu Oct 04 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-10
- Do not install the testsuite tools - Do not install the testsuite tools