Author: qboosh                       Date: Thu Jul 10 18:51:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplified
- GPL v2+

---- Files affected:
SPECS:
   scsiadd.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/scsiadd.spec
diff -u SPECS/scsiadd.spec:1.2 SPECS/scsiadd.spec:1.3
--- SPECS/scsiadd.spec:1.2      Thu Jul 10 20:41:05 2008
+++ SPECS/scsiadd.spec  Thu Jul 10 20:51:27 2008
@@ -4,14 +4,15 @@
 Name:          scsiadd
 Version:       1.96
 Release:       1
-License:       GPL v2
+License:       GPL v2+
 Group:         Applications/System
 Source0:       http://llg.cubic.org/tools/%{name}-%{version}.tar.gz
 # Source0-md5: c2d30bc6893852ad2f9dd616cdbee0be
 BuildRequires: autoconf
-BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sbindir        /sbin
+
 %description
 Add and remove SCSI devices from your Linux system during runtime. No
 need to reboot your system, just because you have switched on an
@@ -26,22 +27,17 @@
 %setup -q
 
 %build
-%{__aclocal}
 %{__autoconf}
-%configure \
-       CFLAGS="%{rpmcflags} %{rpmldflags}"
+%configure
+
 %{__make} \
        CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/sbin
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       PREFIX=%{_prefix}
-
-mv $RPM_BUILD_ROOT%{_sbindir}/scsiadd $RPM_BUILD_ROOT/sbin
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,7 +45,7 @@
 %files
 %defattr(644,root,root,755)
 %doc NEWS README TODO
-%attr(755,root,root) /sbin/scsiadd
+%attr(755,root,root) %{_sbindir}/scsiadd
 %{_mandir}/man8/scsiadd.8*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -58,6 +54,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/07/10 18:51:27  qboosh
+- simplified
+- GPL v2+
+
 Revision 1.2  2008/07/10 18:41:05  qboosh
 - pl
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/scsiadd.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to