rpms/mtx/devel mtx.spec,1.26,1.27

Dan Horák sharkcz at fedoraproject.org
Sun Dec 21 17:25:55 UTC 2008


Author: sharkcz

Update of /cvs/pkgs/rpms/mtx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17730

Modified Files:
	mtx.spec 
Log Message:
* Sun Dec 21 2008 Dan Horák <dan[at]danny.cz> 1.3.12-2
- spec file cleanup for better compliance with the guidelines



Index: mtx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mtx/devel/mtx.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mtx.spec	25 Aug 2008 10:45:19 -0000	1.26
+++ mtx.spec	21 Dec 2008 17:25:24 -0000	1.27
@@ -1,14 +1,15 @@
 Name: mtx
 Version: 1.3.12
-Release: 1%{?dist}
-Summary: A SCSI media changer control program
+Release: 2%{?dist}
+Summary: SCSI media changer control program
 License: GPLv2
 Group: Applications/System
-Source0: http://downloads.sourceforge.net/mtx/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 URL: http://mtx.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-%description 
+
+%description
 The MTX program controls the robotic mechanism in autoloaders and tape
 libraries such as the HP SureStore DAT 40x6, Exabyte EZ-17, and
 Exabyte 220. This program is also reported to work with a variety of
@@ -18,30 +19,42 @@
 If you have a backup tape device capable of handling more than one
 tape at a time, you should install MTX.
 
+
 %prep
 %setup -q
 
+# remove exec permission
+chmod a-x contrib/config_sgen_solaris.sh contrib/mtx-changer
+
+
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
 %configure
-make
+make %{?_smp_mflags}
+
 
 %install
-rm -fr %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 %makeinstall
 
+
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
+
 
-%files 
-%defattr(-,root,root)
-%doc CHANGES COMPATABILITY contrib FAQ LICENSE LICENSE.html
+%files
+%defattr(-,root,root,-)
+%doc CHANGES COMPATABILITY contrib FAQ LICENSE
 %doc mtx.doc mtxl.README.html README TODO
 %{_mandir}/man1/*
 %{_sbindir}/*
 
+
 %changelog
-* Mon Aug 25 2008 Dan Horak <dan[at]danny.cz> 1.3.12-1
+* Sun Dec 21 2008 Dan Horák <dan[at]danny.cz> 1.3.12-2
+- spec file cleanup for better compliance with the guidelines
+
+* Mon Aug 25 2008 Dan Horák <dan[at]danny.cz> 1.3.12-1
 - update to mtx-1.3.12
 
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.3.11-3




More information about the fedora-extras-commits mailing list