[sg3_utils] - update to version 1.36 - modernize spec

Dan Horák sharkcz at fedoraproject.org
Thu Jun 6 12:01:46 UTC 2013


commit 971f4eef7dc940a6387780c8b2c97b366af9e5c0
Author: Dan Horák <dan at danny.cz>
Date:   Thu Jun 6 14:01:33 2013 +0200

    - update to version 1.36
    - modernize spec

 .gitignore     |    1 +
 sg3_utils.spec |   18 +++++++-----------
 sources        |    3 +--
 3 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5b08be3..1ce1842 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ rescan-scsi-bus.sh-1.35
 /rescan-scsi-bus.sh-1.56
 /sg3_utils-1.34.tgz
 /sg3_utils-1.35.tgz
+/sg3_utils-1.36.tgz
diff --git a/sg3_utils.spec b/sg3_utils.spec
index ba9614b..0c0b3b7 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -3,15 +3,14 @@
 
 Summary: Utilities for devices that use SCSI command sets
 Name: sg3_utils
-Version: 1.35
-Release: 2%{?dist}
+Version: 1.36
+Release: 1%{?dist}
 License: GPLv2+ and BSD
 Group: Applications/System
 Source0: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
 Source1: http://www.garloff.de/kurt/linux/%{rescan_script}-%{rescan_version}
 Patch0: rescan-scsi-bus-fixes.patch
 URL: http://sg.danny.cz/sg/sg3_utils.html
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: %{name}-libs = %{version}-%{release}
 
 
@@ -73,33 +72,30 @@ install -p -m 755 %{rescan_script} $RPM_BUILD_ROOT%{_bindir}
 ( cd $RPM_BUILD_ROOT%{_bindir}; ln -sf %{rescan_script} scsi-rescan )
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
 
 
 %files
-%defattr(-,root,root)
 %doc ChangeLog COVERAGE CREDITS INSTALL README README.sg_start
-%attr(755,root,root) %{_bindir}/*
+%{_bindir}/*
 %{_mandir}/man8/*
 
 %files libs
-%defattr(-,root,root)
 %doc BSD_LICENSE COPYING
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/scsi/*.h
 %{_libdir}/*.so
 
 
 %changelog
+* Thu Jun 06 2013 Dan Horák <dan at danny.cz> - 1.36-1
+- update to version 1.36
+- modernize spec
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.35-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index f92eb5e..58e4d2d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-55c32fb95a5b3907687b023f392fbd3c  sg3_utils-1.35.tgz
-4fce214c24d38447060145b11fc904a9  rescan-scsi-bus.sh-1.56
+a3339169d61ac90e3d539f906e67a2b8  sg3_utils-1.36.tgz


More information about the scm-commits mailing list