Remove unused functions 30/24230/1
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 9 Jul 2014 08:17:55 +0000 (10:17 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 9 Jul 2014 08:19:23 +0000 (10:19 +0200)
Change-Id: Ide76037223e1a95cfdcb626a4929559a213c3e3d
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
tools/spec2yocto.py

index f8330ae..ec3d52b 100755 (executable)
@@ -1057,27 +1057,6 @@ Group: devel
 
         return parsed_spec_file
 
-    def have_macro_configure( self ):
-        '''
-        return the number of macro %configure used inn the spec file.
-        '''
-        res_macro_configure = 0
-        raw_build_section = self.get_raw_build_section()
-        configure_count = raw_build_section.count( "%configure" )
-        res_macro_configure += configure_count
-        return res_macro_configure
-
-    def have_macro_reconfigure( self ):
-        '''
-        return the number of macro %reconfigure used inn the spec file.
-        '''
-        res_have_macro_reconfigure = 0
-        raw_build_section = self.get_raw_build_section()
-        reconfigure_count = raw_build_section.count( "%reconfigure" )
-
-        res_have_macro_reconfigure += reconfigure_count
-        return res_have_macro_reconfigure
-
     def get_install_section( self ):
         '''
         return the install section.