Hello community,

here is the log from the commit of package mtx for openSUSE:Factory checked in 
at 2017-07-26 13:05:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mtx (Old)
 and      /work/SRC/openSUSE:Factory/.mtx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mtx"

Wed Jul 26 13:05:57 2017 rev:18 rq:512556 version:1.3.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/mtx/mtx.changes  2014-04-11 13:40:12.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.mtx.new/mtx.changes     2017-07-26 
13:05:59.652178482 +0200
@@ -1,0 +2,7 @@
+Fri Jul 21 07:59:13 UTC 2017 - [email protected]
+
+- Cleanup with spec-cleaner
+- Add download url for the tarball
+- Add patch mtx-1.3.12-destdir.patch to respect destdir (from Fedora)
+
+-------------------------------------------------------------------

Old:
----
  mtx-1.3.12.tar.bz2

New:
----
  mtx-1.3.12-destdir.patch
  mtx-1.3.12.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mtx.spec ++++++
--- /var/tmp/diff_new_pack.MRr875/_old  2017-07-26 13:06:00.804015979 +0200
+++ /var/tmp/diff_new_pack.MRr875/_new  2017-07-26 13:06:00.808015415 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mtx
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,51 +17,42 @@
 
 
 Name:           mtx
-BuildRequires:  automake
+Version:        1.3.12
+Release:        0
 Summary:        A Program for Controlling the Robotic Mechanism in DDS Auto 
Loaders
 License:        GPL-2.0+
 Group:          Hardware/Other
-Version:        1.3.12
-Release:        0
-Source:         %{name}-%{version}.tar.bz2
-Patch:          %{name}-1.3.12-param_h.patch
+Url:            https://sourceforge.net/projects/mtx/
+Source:         
http://downloads.sourceforge.net/project/%{name}/%{name}-stable/%{version}/%{name}-%{version}.tar.gz
+Patch0:         %{name}-1.3.12-param_h.patch
 Patch2:         %{name}-1.3.12-autoconf.patch
 Patch3:         mtx-1.3.11-large-slots.patch
-Url:            http://mtx.sourceforge.net/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch4:         mtx-1.3.12-destdir.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 
 %description
-A program for controlling the robotic mechanism in DDS auto loaders.
-
-
-
-Authors:
---------
-    Leonard N. Zubkoff <[email protected]>
+A program for controlling the robotic mechanism in DDS auto loaders and tape
+libraries.
 
 %prep
-%setup
-%patch
+%setup -q
+%patch0
 %patch2
 %patch3
+%patch4 -p2
 
 %build
-%{?suse_update_config:%{suse_update_config -f}}
-autoreconf -f -i
+autoreconf -fvi
 %configure
-make
+make %{?_smp_mflags}
 
 %install
-make sbindir=$RPM_BUILD_ROOT/usr/sbin \
-     mandir=$RPM_BUILD_ROOT/usr/share/man install
+%make_install
 
 %files
-%defattr(-,root,root)
 %doc README TODO LICENSE CHANGES FAQ mtx.doc
-/usr/sbin/*
-/usr/share/man/man1/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{_sbindir}/*
+%{_mandir}/man1/*
 
 %changelog

++++++ mtx-1.3.12-destdir.patch ++++++
>From a5d4d1c2fbdad8b24c2938b00406bccb037e5ab4 Mon Sep 17 00:00:00 2001
From: Dan Horak <[email protected]>
Date: Sat, 24 Jan 2009 18:06:43 +0100
Subject: [PATCH 1/2] add support for DESTDIR
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


Signed-off-by: Dan HorĂ¡k <[email protected]>
---
 mtx/Makefile.in |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/mtx/Makefile.in b/mtx/Makefile.in
index 6b967cf..05894d2 100644
--- a/mtx/Makefile.in
+++ b/mtx/Makefile.in
@@ -33,6 +33,7 @@ INSTALL_DOC = $(INSTALL) -m 644
 INSTALL_BIN = $(INSTALL) -m 755
 INSTALL_DIR = $(INSTALL) -m 755 -d
 
+DESTDIR                =
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
 sbindir                = @sbindir@
@@ -109,13 +110,13 @@ all:      $(BINS)
 dbgs: $(DBGS)
 
 install: $(BINS)
-       $(INSTALL_DIR) $(sbindir)
+       $(INSTALL_DIR) $(DESTDIR)$(sbindir)
        for file in $(BINS); do \
-       $(INSTALL_BIN) "$$file" $(sbindir) ; \
+       $(INSTALL_BIN) "$$file" $(DESTDIR)$(sbindir) ; \
        done    
-       $(INSTALL_DIR) $(mandir) $(mandir)/man1
+       $(INSTALL_DIR) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1
        for file in mtx.1 tapeinfo.1 scsitape.1 scsieject.1 loaderinfo.1 ; do \
-       $(INSTALL_DOC) "$$file"  $(mandir)/man1 ; \
+       $(INSTALL_DOC) "$$file"  $(DESTDIR)$(mandir)/man1 ; \
        done
 
 clean:
-- 
1.6.3.3


Reply via email to