rpms/smp_utils/EL-4 smp_utils-0.94-makefile.patch, NONE, 1.1 smp_utils.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dan Horák sharkcz at fedoraproject.org
Mon Mar 9 18:01:26 UTC 2009


Author: sharkcz

Update of /cvs/pkgs/rpms/smp_utils/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28113

Modified Files:
	.cvsignore sources 
Added Files:
	smp_utils-0.94-makefile.patch smp_utils.spec 
Log Message:
initial import

smp_utils-0.94-makefile.patch:

--- NEW FILE smp_utils-0.94-makefile.patch ---
>From 304453fa4dda47e5e94f7995cdd1d3b9086370ef Mon Sep 17 00:00:00 2001
From: Dan Horak <dan at danny.cz>
Date: Mon, 2 Feb 2009 17:31:42 +0100
Subject: [PATCH] don't change ownership when installing the files

---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f87d0a6..9f19e43 100644
--- a/Makefile
+++ b/Makefile
@@ -122,11 +122,11 @@ smp_rep_exp_route_tbl: smp_rep_exp_route_tbl.o libsmp.a
 install: $(EXECS)
 	install -d $(INSTDIR)
 	for name in $^; \
-	 do install -s -o root -g root -m 755 $$name $(INSTDIR); \
+	 do install -m 755 $$name $(INSTDIR); \
 	done
 	install -d $(MANDIR)/$(MAN_PREF)
 	for mp in $(MAN_PGS); \
-	 do install -o root -g root -m 644 doc/$$mp $(MANDIR)/$(MAN_PREF); \
+	 do install -m 644 doc/$$mp $(MANDIR)/$(MAN_PREF); \
 	 gzip -9f $(MANDIR)/$(MAN_PREF)/$$mp; \
 	done
 
-- 
1.6.0.6



--- NEW FILE smp_utils.spec ---
Summary:        Utilities for SAS management protocol (SMP)
Name:           smp_utils
Version:        0.94
Release:        2%{?dist}
License:        BSD
Group:          Applications/System
URL:            http://sg.danny.cz/sg/smp_utils.html
Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tgz
Patch0:         %{name}-0.94-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
This is a package of utilities. Each utility sends a Serial Attached
SCSI (SAS) Management Protocol (SMP) request to a SMP target.
If the request fails then the error is decoded. If the request succeeds
then the response is either decoded, printed out in hexadecimal or
output in binary. This package supports multiple interfaces since
SMP passthroughs are not mature. This package supports the linux
2.4 and 2.6 series and should be easy to port to other operating
systems.

Warning: Some of these tools access the internals of your system
and the incorrect usage of them may render your system inoperable.


%prep
%setup -q
%patch0 -p1


%build
make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX"


%install
rm -rf %{buildroot}

make install \
        PREFIX=%{_prefix} \
        DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING COVERAGE CREDITS INSTALL README
%{_bindir}/*
%{_mandir}/man8/*


%changelog
* Mon Mar  9 2009 Dan Horák <dan[at]danny.cz> 0.94-2
- update BuildRoot

* Mon Feb  2 2009 Dan Horák <dan[at]danny.cz> 0.94-1
- update for Fedora compliance

* Mon Dec 29 2008 - dgilbert at interlog dot com
- adjust sgv4 for lk 2.6.27, sync with sas2r15
  * smp_utils-0.94
* Sun Jan 06 2008 - dgilbert at interlog dot com
- sync with sas2r13, add 'sgv4' interface
  * smp_utils-0.93
* Fri Dec 08 2006 - dgilbert at interlog dot com
- sync against sas2r07, add smp_conf_general
  * smp_utils-0.92
* Tue Aug 22 2006 - dgilbert at interlog dot com
- add smp_phy_test and smp_discover_list, uniform exit status values
  * smp_utils-0.91
* Sun Jun 11 2006 - dgilbert at interlog dot com
- add smp_read_gpio, smp_conf_route_info and smp_write_gpio
  * smp_utils-0.90


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/smp_utils/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Mar 2009 16:09:09 -0000	1.1
+++ .cvsignore	9 Mar 2009 18:00:56 -0000	1.2
@@ -0,0 +1 @@
+smp_utils-0.94.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/smp_utils/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Mar 2009 16:09:09 -0000	1.1
+++ sources	9 Mar 2009 18:00:56 -0000	1.2
@@ -0,0 +1 @@
+301917fef92726c947b8623813c2cdfc  smp_utils-0.94.tgz




More information about the fedora-extras-commits mailing list