Hello community,

here is the log from the commit of package spec-cleaner for openSUSE:Factory 
checked in at 2016-01-26 10:14:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spec-cleaner (Old)
 and      /work/SRC/openSUSE:Factory/.spec-cleaner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spec-cleaner"

Changes:
--------
--- /work/SRC/openSUSE:Factory/spec-cleaner/spec-cleaner.changes        
2015-09-19 06:55:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.spec-cleaner.new/spec-cleaner.changes   
2016-01-26 10:14:59.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Jan 22 13:42:39 UTC 2016 - [email protected]
+
+- Version update to 0.7.5:
+  * Replace jobs in install section too
+  * Do not curlify gconf_schemas
+  * Work with defines in sections not just as global declarations
+  * Quote optflags properly when replacing RPM_OPT_FLAGS
+  * Do not add empty line after oneline scriptlet
+
+-------------------------------------------------------------------

Old:
----
  spec-cleaner-0.7.4.tar.gz

New:
----
  spec-cleaner-0.7.5.tar.gz

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

Other differences:
------------------
++++++ spec-cleaner.spec ++++++
--- /var/tmp/diff_new_pack.4FYDtB/_old  2016-01-26 10:14:59.000000000 +0100
+++ /var/tmp/diff_new_pack.4FYDtB/_new  2016-01-26 10:14:59.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spec-cleaner
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Vincent Untz <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 # This is used for Fedora, we need to sync this
 %{!?py3_ver: %define py3_ver %{python3_version}}
 Name:           spec-cleaner
-Version:        0.7.4
+Version:        0.7.5
 Release:        0
 Summary:        .spec file cleaner
 License:        BSD-3-Clause

++++++ spec-cleaner-0.7.4.tar.gz -> spec-cleaner-0.7.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.7.4/.gitignore 
new/spec-cleaner-spec-cleaner-0.7.5/.gitignore
--- old/spec-cleaner-spec-cleaner-0.7.4/.gitignore      2015-09-17 
14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/.gitignore      2016-01-22 
14:37:02.000000000 +0100
@@ -3,5 +3,6 @@
 .eggs/
 *.egg-info/
 *.pyc
+.*.swp
 .coverage
 .coveralls.yml
Files old/spec-cleaner-spec-cleaner-0.7.4/data/.licenses_changes.txt.swp and 
new/spec-cleaner-spec-cleaner-0.7.5/data/.licenses_changes.txt.swp differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/data/excludes-bracketing.txt 
new/spec-cleaner-spec-cleaner-0.7.5/data/excludes-bracketing.txt
--- old/spec-cleaner-spec-cleaner-0.7.4/data/excludes-bracketing.txt    
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/data/excludes-bracketing.txt    
2016-01-22 14:37:02.000000000 +0100
@@ -25,6 +25,7 @@
 files
 files_fontsconf_file
 fillup_[^\s]*
+find_gconf_schemas
 find_lang
 gem_install
 gem_packages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/__init__.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/__init__.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/__init__.py        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/__init__.py        
2016-01-22 14:37:02.000000000 +0100
@@ -12,7 +12,7 @@
 from .rpmcleaner import RpmSpecCleaner
 
 
-__version__ = '0.7.4'
+__version__ = '0.7.5'
 
 
 def process_args(argv):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmcleaner.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmcleaner.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmcleaner.py      
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmcleaner.py      
2016-01-22 14:37:02.000000000 +0100
@@ -95,7 +95,7 @@
         # WARN: Keep in sync with rpmregexps for rpmpreamble section
         if not isinstance(self.current_section, RpmPreamble) and \
            not isinstance(self.current_section, RpmPackage):
-            if self.reg.re_define.match(line) or 
self.reg.re_global.match(line) or \
+            if self.reg.re_global.match(line) or \
                self.reg.re_bcond_with.match(line) or \
                self.reg.re_requires.match(line) or 
self.reg.re_requires_phase.match(line) or \
                self.reg.re_buildrequires.match(line) or 
self.reg.re_prereq.match(line) or \
@@ -113,6 +113,12 @@
                self.reg.re_packager.match(line) or 
self.reg.re_debugpkg.match(line) or \
                self.reg.re_requires_eq.match(line):
                 return True
+            # We can have local defined variables in phases
+            if not isinstance(self.current_section, RpmInstall) and \
+               not isinstance(self.current_section, RpmBuild) and \
+               not isinstance(self.current_section, RpmPrep):
+                if self.reg.re_define.match(line):
+                    return True
         return False
 
     def _detect_new_section(self, line):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpminstall.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpminstall.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpminstall.py      
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpminstall.py      
2016-01-22 14:37:02.000000000 +0100
@@ -21,6 +21,7 @@
         if self.reg.re_clean.search(line):
             return
 
+        line = self.reg.re_jobs.sub(parallel_arg, line)
         # do not use install macros as we have trouble with it for now
         # we can convert it later on
         if self.reg.re_install.match(line):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmregexp.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmregexp.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmregexp.py       
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmregexp.py       
2016-01-22 14:37:02.000000000 +0100
@@ -87,6 +87,8 @@
     # rpmbuild
     re_jobs = 
re.compile(r'%{(_smp_mflags|\?_smp_flags|\?jobs:\s*-j\s*%(jobs|{jobs}))}')
     re_make = re.compile(r'(^|(.*\s)?)make($|(\s.*)?)')
+    re_optflags_quotes = re.compile(r'=\s*\${?RPM_OPT_FLAGS}?\s*$')
+    re_optflags = re.compile('\${?RPM_OPT_FLAGS}?')
 
     # rpmcopyright
     re_copyright = re.compile(r'^#\s*Copyright\ \(c\)\s*(.*)', re.IGNORECASE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmscriplets.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmscriplets.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmscriplets.py    
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmscriplets.py    
2016-01-22 14:37:02.000000000 +0100
@@ -12,10 +12,16 @@
     def output(self, fout, newline=True):
         # if we have 2 or 3 lines where last one is empty
         nolines = len(self.lines)
+        if nolines == 1:
+            newline=False
         if nolines == 2 or (nolines == 3 and self.lines[2] == ''):
-            if self.lines[1] == '/sbin/ldconfig':
-                pkg = self.lines[0]
-                self.lines = []
-                self.lines.append('{0} -p /sbin/ldconfig'.format(pkg))
-                self.lines.append('')
+            newline=False
+            # if we have two lines and the 2nd is just whitespace, drop it
+            if self.lines[0] != '' and self.lines[1] == '':
+                self.lines.pop()
+            if len(self.lines) >= 2:
+                if self.lines[1] == '/sbin/ldconfig':
+                    pkg = self.lines[0]
+                    self.lines = []
+                    self.lines.append('{0} -p /sbin/ldconfig'.format(pkg))
         Section.output(self, fout, newline)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmsection.py 
new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmsection.py
--- old/spec-cleaner-spec-cleaner-0.7.4/spec_cleaner/rpmsection.py      
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/spec_cleaner/rpmsection.py      
2016-01-22 14:37:02.000000000 +0100
@@ -142,8 +142,9 @@
         """
         Replace RPM_OPT_FLAGS for %{optflags}
         """
-        line = line.replace('${RPM_OPT_FLAGS}', '%{optflags}')
-        line = line.replace('$RPM_OPT_FLAGS', '%{optflags}')
+        # if the optflags is the only thing then also add quotes around it
+        line = self.reg.re_optflags_quotes.sub('="%{optflags}"', line)
+        line = self.reg.re_optflags.sub('%{optflags}', line)
         return line
 
     def replace_known_dirs(self, line):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/in/makeflags.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/in/makeflags.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/in/makeflags.spec 2015-09-17 
14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/in/makeflags.spec 2016-01-22 
14:37:02.000000000 +0100
@@ -1,4 +1,6 @@
 %build
+export CFLAGS=${RPM_OPT_FLAGS}
+export CFLAGS="$RPM_OPT_FLAGS -blabla"
 make
 make PREFIX=/ \
      STATIC=""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/in/makeparams.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/in/makeparams.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/in/makeparams.spec        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/in/makeparams.spec        
2016-01-22 14:37:02.000000000 +0100
@@ -58,3 +58,4 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 %make_install
 %{make_install}
+%{__make} install %{?jobs:-j%{jobs}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/in/scriplets.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/in/scriplets.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/in/scriplets.spec 2015-09-17 
14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/in/scriplets.spec 2016-01-22 
14:37:02.000000000 +0100
@@ -3,9 +3,9 @@
 %post
 /sbin/ldconfig
 
-%post -n %{_libname}
-/sbin/ldconfig
-
 %post
 /sbin/ldconfig
 someothercommand
+
+%post -n %{_libname}
+/sbin/ldconfig
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/in/sectiondefine.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/in/sectiondefine.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/in/sectiondefine.spec     
1970-01-01 01:00:00.000000000 +0100
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/in/sectiondefine.spec     
2016-01-22 14:37:02.000000000 +0100
@@ -0,0 +1,27 @@
+%build
+# This is for build debugging purposed
+export OIIOINC=`echo $PWD`
+%define pwd $OIIOINC
+%define oiioinclude %{pwd}/src/include
+echo %{pwd}
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+mkdir -p build
+cd build
+cmake \
+%ifarch ppc ppc64
+    -DNOTHREADS=ON \
+%endif
+    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+    -DLIB_INSTALL_DIR=%{_libdir} \
+    -DPYLIB_INSTALL_DIR=%{python_sitearch} \
+    -DINSTALL_DOCS:BOOL=ON \
+    -DDOC_INSTALL_DIR=%{_docdir}/%{name} \
+    -DINSTALL_FONTS:BOOL=ON \
+    -DBUILDSTATIC:BOOL=OFF \
+    -DLINKSTATIC:BOOL=OFF \
+    -DUSE_EXTERNAL_PUGIXML:BOOL=ON \
+    -DUSE_FFMPEG:BOOL=OFF \
+    -DUSE_OPENSSL:BOOL=ON \
+    -DCMAKE_SKIP_RPATH:BOOL=ON \
+    ..
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out/makeflags.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out/makeflags.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out/makeflags.spec        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out/makeflags.spec        
2016-01-22 14:37:02.000000000 +0100
@@ -17,6 +17,8 @@
 
 
 %build
+export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -blabla"
 make %{?_smp_mflags}
 make PREFIX=/ \
      STATIC=""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out/makeparams.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out/makeparams.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out/makeparams.spec       
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out/makeparams.spec       
2016-01-22 14:37:02.000000000 +0100
@@ -76,4 +76,5 @@
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %make_install
 %make_install
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out/scriplets.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out/scriplets.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out/scriplets.spec        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out/scriplets.spec        
2016-01-22 14:37:02.000000000 +0100
@@ -17,12 +17,9 @@
 
 
 %post -n %{libname} -p /sbin/ldconfig
-
 %post -p /sbin/ldconfig
-
-%post -n %{_libname} -p /sbin/ldconfig
-
 %post
 /sbin/ldconfig
 someothercommand
 
+%post -n %{_libname} -p /sbin/ldconfig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out/sectiondefine.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out/sectiondefine.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out/sectiondefine.spec    
1970-01-01 01:00:00.000000000 +0100
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out/sectiondefine.spec    
2016-01-22 14:37:02.000000000 +0100
@@ -0,0 +1,47 @@
+#
+# spec file for package sectiondefine
+#
+# Copyright (c) 2013 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+%build
+# This is for build debugging purposed
+export OIIOINC=`echo $PWD`
+%define pwd $OIIOINC
+%define oiioinclude %{pwd}/src/include
+echo %{pwd}
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+mkdir -p build
+cd build
+# FIXME: you should use %%cmake macros
+cmake \
+%ifarch ppc ppc64
+    -DNOTHREADS=ON \
+%endif
+    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+    -DLIB_INSTALL_DIR=%{_libdir} \
+    -DPYLIB_INSTALL_DIR=%{python_sitearch} \
+    -DINSTALL_DOCS:BOOL=ON \
+    -DDOC_INSTALL_DIR=%{_docdir}/%{name} \
+    -DINSTALL_FONTS:BOOL=ON \
+    -DBUILDSTATIC:BOOL=OFF \
+    -DLINKSTATIC:BOOL=OFF \
+    -DUSE_EXTERNAL_PUGIXML:BOOL=ON \
+    -DUSE_FFMPEG:BOOL=OFF \
+    -DUSE_OPENSSL:BOOL=ON \
+    -DCMAKE_SKIP_RPATH:BOOL=ON \
+    ..
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/makeflags.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/makeflags.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/makeflags.spec        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/makeflags.spec        
2016-01-22 14:37:02.000000000 +0100
@@ -17,6 +17,8 @@
 
 
 %build
+export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -blabla"
 make
 make PREFIX=/ \
      STATIC=""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/makeparams.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/makeparams.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/makeparams.spec       
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/makeparams.spec       
2016-01-22 14:37:02.000000000 +0100
@@ -76,4 +76,5 @@
 make install DESTDIR=%{buildroot}
 %make_install
 %make_install
+make install %{?jobs:-j%{jobs}}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/scriplets.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/scriplets.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/scriplets.spec        
2015-09-17 14:36:03.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/scriplets.spec        
2016-01-22 14:37:02.000000000 +0100
@@ -21,10 +21,10 @@
 %post
 /sbin/ldconfig
 
-%post -n %{_libname}
-/sbin/ldconfig
-
 %post
 /sbin/ldconfig
 someothercommand
 
+%post -n %{_libname}
+/sbin/ldconfig
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/sectiondefine.spec 
new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/sectiondefine.spec
--- old/spec-cleaner-spec-cleaner-0.7.4/tests/out-minimal/sectiondefine.spec    
1970-01-01 01:00:00.000000000 +0100
+++ new/spec-cleaner-spec-cleaner-0.7.5/tests/out-minimal/sectiondefine.spec    
2016-01-22 14:37:02.000000000 +0100
@@ -0,0 +1,46 @@
+#
+# spec file for package sectiondefine
+#
+# Copyright (c) 2013 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+%build
+# This is for build debugging purposed
+export OIIOINC=`echo $PWD`
+%define pwd $OIIOINC
+%define oiioinclude %{pwd}/src/include
+echo %{pwd}
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+mkdir -p build
+cd build
+cmake \
+%ifarch ppc ppc64
+    -DNOTHREADS=ON \
+%endif
+    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+    -DLIB_INSTALL_DIR=%{_libdir} \
+    -DPYLIB_INSTALL_DIR=%{python_sitearch} \
+    -DINSTALL_DOCS:BOOL=ON \
+    -DDOC_INSTALL_DIR=%{_docdir}/%{name} \
+    -DINSTALL_FONTS:BOOL=ON \
+    -DBUILDSTATIC:BOOL=OFF \
+    -DLINKSTATIC:BOOL=OFF \
+    -DUSE_EXTERNAL_PUGIXML:BOOL=ON \
+    -DUSE_FFMPEG:BOOL=OFF \
+    -DUSE_OPENSSL:BOOL=ON \
+    -DCMAKE_SKIP_RPATH:BOOL=ON \
+    ..
+


Reply via email to