From 80e56fd3d90a9160c88543723434e620172467cf Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 27 May 2011 15:56:05 +0300 Subject: [PATCH] Clean up the spec file for modern rpmbuild --- pcsc-lite-ccid.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pcsc-lite-ccid.spec b/pcsc-lite-ccid.spec index 2d741cc..8ad0f21 100644 --- a/pcsc-lite-ccid.spec +++ b/pcsc-lite-ccid.spec @@ -11,7 +11,6 @@ Group: System Environment/Libraries License: LGPLv2+ URL: http://pcsclite.alioth.debian.org/ccid.html Source0: http://alioth.debian.org/download.php/%{upstream_build}/ccid-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libusb1-devel BuildRequires: pcsc-lite-devel >= %{pcsc_lite_ver} @@ -38,15 +37,10 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT cp -p src/openct/LICENSE LICENSE.openct -%clean -rm -rf $RPM_BUILD_ROOT - - %post [ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd status >> /dev/null 2>&1 && %{_sbindir}/pcscd -H > /dev/null 2>&1 exit 0 @@ -57,7 +51,6 @@ exit 0 %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING LICENSE.openct README %{dropdir}/ifd-ccid.bundle/ %{dropdir}/serial/ @@ -67,6 +60,7 @@ exit 0 %changelog * Fri May 27 2011 Kalev Lember - 1.4.4-1 - Update to 1.4.4 +- Clean up the spec file for modern rpmbuild * Sat Apr 02 2011 Kalev Lember - 1.4.3-1 - Update to 1.4.3