Drop pcsc-lite-1.4-docinst.patch

Instead of patching the generated Makefile.in, just rm the file at the
end of %install.
This commit is contained in:
Kalev Lember 2011-07-15 10:50:59 +03:00
parent b194beb411
commit 854751f9bd
2 changed files with 3 additions and 13 deletions

View File

@ -1,11 +0,0 @@
--- ./doc/Makefile.in.docinst 2008-06-26 20:32:52.000000000 -0700
+++ ./doc/Makefile.in 2008-08-28 14:18:11.240452000 -0700
@@ -612,7 +612,7 @@
info-am:
-install-data-am: install-docDATA install-man
+install-data-am: install-man
install-dvi: install-dvi-recursive

View File

@ -10,7 +10,6 @@ License: BSD
URL: http://pcsclite.alioth.debian.org/
Source0: http://alioth.debian.org/download.php/%{upstream_build}/%{name}-%{version}.tar.bz2
Source1: pcscd.init
Patch0: %{name}-1.4-docinst.patch
# Disable pcscd on-demand startup (#653903)
Patch2: %{name}-1.6.7-noautostart.patch
@ -61,7 +60,6 @@ Requires: %{name}-libs = %{version}-%{release}
%prep
%setup -q
%patch0 -p0 -b .docinst
%patch2 -p1 -b .noautostart
# Convert to utf-8
@ -92,6 +90,9 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers
rm $RPM_BUILD_ROOT%{_libdir}/*.la
# Remove documentation installed in a wrong directory
rm $RPM_BUILD_ROOT%{_docdir}/pcsc-lite/README.DAEMON
%post
/sbin/chkconfig --add pcscd