Hello community,

here is the log from the commit of package vegastrike for openSUSE:Factory 
checked in at 2013-01-08 09:14:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vegastrike (Old)
 and      /work/SRC/openSUSE:Factory/.vegastrike.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vegastrike", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/vegastrike/vegastrike.changes    2012-09-23 
17:11:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vegastrike.new/vegastrike.changes       
2013-01-08 09:14:25.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan  5 17:54:34 UTC 2013 - joop.boo...@opensuse.org
+
+- cleaned the spec file up
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vegastrike.spec ++++++
--- /var/tmp/diff_new_pack.jr476u/_old  2013-01-08 09:14:26.000000000 +0100
+++ /var/tmp/diff_new_pack.jr476u/_new  2013-01-08 09:14:26.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vegastrike
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,7 +35,6 @@
 Patch2:         vegastrike-src-0.5.1.r1-license.patch
 # PATCH-FIX-UPSTREAM vegastrike-src-0.5.1.r1-gcc47_compat.patch -- GCC 4.7 
compatibility fixes, already upstreamed, not yet in tarball
 Patch3:         vegastrike-src-0.5.1.r1-gcc47_compat.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  SDL_mixer-devel
 BuildRequires:  boost-devel
 BuildRequires:  freealut-devel
@@ -45,13 +44,13 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libvorbis-devel
-BuildRequires:  openal-devel
 BuildRequires:  python-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 BuildRequires:  libexpat-devel
 BuildRequires:  xorg-x11-libXmu-devel
-%if %suse_version > 1210
+%if 0%{?suse_version} > 1210
 BuildRequires:  pkgconfig(glu)
 %endif
 %endif
@@ -85,7 +84,6 @@
 endless possibility before you and just enough cash to scrape together a life.
 Yet danger lurks in the space beyond.
 
-
 %prep
 %setup -q -a 1 -n %{name}-src-%{version}
 %patch0 -p1
@@ -101,29 +99,25 @@
 
 %build
 %configure --with-data-dir=%{_datadir}/%{name} --with-boost=system \
-  --enable-release --enable-flags="$RPM_OPT_FLAGS 
-DBOOST_PYTHON_NO_PY_SIGNATURES" \
+  --enable-release --enable-flags="%{optflags} 
-DBOOST_PYTHON_NO_PY_SIGNATURES" \
   --disable-ffmpeg --disable-ogre --enable-stencil-buffer
 make %{?_smp_mflags}
 
 %install
-#make install PREFIX=$RPM_BUILD_ROOT doesn't work
-%makeinstall
-install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
-
-mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name}
-chmod +x $RPM_BUILD_ROOT%{_prefix}/objconv/*
-mv $RPM_BUILD_ROOT%{_prefix}/objconv/* \
-  $RPM_BUILD_ROOT%{_libexecdir}/%{name}
+make DESTDIR=%{buildroot} install
+install -p -m 755 %{SOURCE2} %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_libexecdir}/%{name}
+chmod +x %{buildroot}%{_prefix}/objconv/*
+mv %{buildroot}%{_prefix}/objconv/* \
+  %{buildroot}%{_libexecdir}/%{name}
 for i in asteroidgen base_maker mesh_xml mesher replace tempgen trisort \
          vsrextract vsrmake; do
-  mv $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_libexecdir}/%{name}
+  mv %{buildroot}%{_bindir}/$i %{buildroot}%{_libexecdir}/%{name}
 done
-
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6
-install -p -m 644 *.6 $RPM_BUILD_ROOT%{_mandir}/man6
-
+mkdir -p %{buildroot}%{_mandir}/man6
+install -p -m 644 *.6 %{buildroot}%{_mandir}/man6
 %if 0%{?suse_version}
-%fdupes -s $RPM_BUILD_ROOT%{_mandir}/man6
+%fdupes -s %{buildroot}%{_mandir}/man6
 %endif
 
 %files

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to