spec modernization

This commit is contained in:
Dan Horák 2018-06-28 10:15:21 +02:00
parent 41edc94f35
commit 7df371aeca

View File

@ -12,6 +12,7 @@ Source2: scsi-rescan.8
Patch0: sg3_utils-1.37-dont-open-dev-snapshot.patch Patch0: sg3_utils-1.37-dont-open-dev-snapshot.patch
URL: http://sg.danny.cz/sg/sg3_utils.html URL: http://sg.danny.cz/sg/sg3_utils.html
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc
%description %description
@ -69,11 +70,6 @@ install -p -m 755 scripts/%{rescan_script} $RPM_BUILD_ROOT%{_bindir}
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8 install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files %files
%doc AUTHORS BSD_LICENSE COPYING COVERAGE CREDITS ChangeLog README README.sg_start %doc AUTHORS BSD_LICENSE COPYING COVERAGE CREDITS ChangeLog README README.sg_start
%{_bindir}/* %{_bindir}/*