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