[smp_utils] updated to 0.97
Dan Horák
sharkcz at fedoraproject.org
Wed Mar 28 10:47:58 UTC 2012
commit e34a8a28ffad8c51e9922abe34707c004543265d
Author: Dan Horák <dan at danny.cz>
Date: Wed Mar 28 12:47:54 2012 +0200
updated to 0.97
.gitignore | 1 +
smp_utils.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
sources | 2 +-
3 files changed, 47 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7600383..917b0dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
smp_utils-0.94.tgz
/smp_utils-0.95.tgz
/smp_utils-0.96.tgz
+/smp_utils-0.97.tgz
diff --git a/smp_utils.spec b/smp_utils.spec
index 7685c8e..6e95211 100644
--- a/smp_utils.spec
+++ b/smp_utils.spec
@@ -1,12 +1,11 @@
Summary: Utilities for SAS management protocol (SMP)
Name: smp_utils
-Version: 0.96
-Release: 2%{?dist}
+Version: 0.97
+Release: 1%{?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
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -23,33 +22,69 @@ Warning: Some of these tools access the internals of your system
and the incorrect usage of them may render your system inoperable.
+%package libs
+Summary: Shared library for %{name}
+Group: System Environment/Libraries
+
+%description libs
+This package contains the shared library for %{name}.
+
+
+%package devel
+Summary: Development library and header files for the sg3_utils library
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Requires: glibc-headers
+
+%description devel
+This package contains the %{name} library and its header files for
+developing applications.
+
+
%prep
%setup -q
%build
+%configure --disable-static
+
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
%install
-rm -rf %{buildroot}
-
make install \
PREFIX=%{_prefix} \
DESTDIR=%{buildroot}
-%clean
-rm -rf %{buildroot}
+rm -rf %{buildroot}%{_libdir}/*.la
+
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
-%doc ChangeLog COPYING COVERAGE CREDITS INSTALL README
-%{_bindir}/*
+%doc ChangeLog COPYING COVERAGE CREDITS README
+%{_sbindir}/*
%{_mandir}/man8/*
+%files libs
+%doc COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/scsi/*.h
+%{_libdir}/*.so
+
%changelog
+* Wed Mar 28 2012 Dan Horák <dan[at]danny.cz> 0.97-1
+- updated to 0.97
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.96-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 81f5fe0..73145ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5e1f38b821d13a2b6b850697e5047dd4 smp_utils-0.96.tgz
+f345b956183f5a8632b63bdf3ff19092 smp_utils-0.97.tgz
More information about the scm-commits
mailing list