[libhbalinux] 1.0.12 bump, plus some cleanup
Petr Sabata
psabata at fedoraproject.org
Thu Jul 7 13:52:02 UTC 2011
commit 8b4392903d8b9812ea08698379bde5972855340a
Author: Petr Sabata <contyk at redhat.com>
Date: Thu Jul 7 15:51:36 2011 +0200
1.0.12 bump, plus some cleanup
.gitignore | 1 +
libhbalinux.spec | 29 +++++++++--------------------
sources | 2 +-
3 files changed, 11 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index afb8708..b796c06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
libhbalinux-1.0.10.tar.gz
+/libhbalinux-1.0.12.tar.gz
diff --git a/libhbalinux.spec b/libhbalinux.spec
index 3217d7e..a1b800d 100644
--- a/libhbalinux.spec
+++ b/libhbalinux.spec
@@ -1,8 +1,7 @@
Name: libhbalinux
-Version: 1.0.10
-Release: 2%{?dist}
+Version: 1.0.12
+Release: 1%{?dist}
Summary: FC-HBAAPI implementation using scsi_transport_fc interfaces
-
Group: System Environment/Libraries
License: LGPLv2
URL: http://www.open-fcoe.org
@@ -13,8 +12,6 @@ URL: http://www.open-fcoe.org
# cd .. && gzip libhbalinux-%{version}.tar
Source0: %{name}-%{version}.tar.gz
Patch0: libhbalinux-1.0.9-conf.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildRequires: libhbaapi-devel libpciaccess-devel libtool automake
Requires: libhbaapi
@@ -25,23 +22,15 @@ SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces
%setup -q
%patch0 -p1 -b .conf
-
%build
./bootstrap.sh
%configure --disable-static
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -name '*.so' -exec rm -f {} ';'
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.so' -exec rm -f {} ';'
%post
/sbin/ldconfig
@@ -56,7 +45,6 @@ if test -f $CONF; then
fi
fi
-
%postun
/sbin/ldconfig
ORG=org.open-fcoe.libhbalinux
@@ -66,14 +54,15 @@ if test -f $CONF; then
mv %{_sysconfdir}/hba.conf.new %{_sysconfdir}/hba.conf
fi
-
%files
-%defattr(-,root,root,-)
%doc README COPYING
%{_libdir}/*.so.*
-
%changelog
+* Thu Jul 07 2011 Petr Sabata <contyk at redhat.com> - 1.0.12-1
+- 1.0.12 bump
+- Remove now obsolete Buildroot and defattr
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 03bc5a5..1118371 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc43ed85a1bc0e53ac912ec3f1570d5e libhbalinux-1.0.10.tar.gz
+d18f11fc0f630ce68693fe825afa7e6c libhbalinux-1.0.12.tar.gz
More information about the scm-commits
mailing list