opensuse:spec-cleaner.git
12 years agoreplace Patch: with Patch0:, replace %patch with %patch0
Pavol Rusnak [Sun, 24 Oct 2010 20:14:46 +0000 (22:14 +0200)]
replace Patch: with Patch0:, replace %patch with %patch0

12 years agounify formatting
Pavol Rusnak [Sun, 24 Oct 2010 12:56:19 +0000 (14:56 +0200)]
unify formatting

12 years agofix missing \
Pavol Rusnak [Sun, 24 Oct 2010 08:45:42 +0000 (10:45 +0200)]
fix missing \

12 years agoremove #usedforbuild as well
Pavol Rusnak [Sat, 23 Oct 2010 14:58:50 +0000 (16:58 +0200)]
remove #usedforbuild as well

12 years agostart using unit tests :-)
Pavol Rusnak [Sat, 23 Oct 2010 13:08:35 +0000 (15:08 +0200)]
start using unit tests :-)

12 years agouse parser.print_help() if there is wrong number of arguments
Pavol Rusnak [Sat, 23 Oct 2010 12:35:02 +0000 (14:35 +0200)]
use parser.print_help() if there is wrong number of arguments

12 years agoAdd TODO note about %py_requires
Vincent Untz [Sat, 23 Oct 2010 11:08:14 +0000 (13:08 +0200)]
Add TODO note about %py_requires

12 years agouse dictionary while replacing utility macros
Pavol Rusnak [Sat, 23 Oct 2010 09:44:42 +0000 (11:44 +0200)]
use dictionary while replacing utility macros

12 years agoReplace %makeinstall by %make_install
Vincent Untz [Fri, 22 Oct 2010 18:16:36 +0000 (20:16 +0200)]
Replace %makeinstall by %make_install

12 years agoDo not check for AutoReqProv in %install
Vincent Untz [Fri, 22 Oct 2010 18:13:40 +0000 (20:13 +0200)]
Do not check for AutoReqProv in %install

12 years agoAlso handle suse_version
Vincent Untz [Fri, 22 Oct 2010 18:12:11 +0000 (20:12 +0200)]
Also handle suse_version

12 years agoremove spec-polish-macros script as it is already merged into spec-cleaner
Pavol Rusnak [Wed, 20 Oct 2010 21:10:19 +0000 (23:10 +0200)]
remove spec-polish-macros script as it is already merged into spec-cleaner
replace useless %__foo macros with direct calls
fix usage of obs macros like suse_version

12 years agoAdd --version and use 0.1 as initial version for spec-cleaner spec-cleaner-0.1
Vincent Untz [Thu, 30 Sep 2010 14:02:25 +0000 (16:02 +0200)]
Add --version and use 0.1 as initial version for spec-cleaner

12 years agofix license headers
Pavol Rusnak [Mon, 19 Jul 2010 10:03:20 +0000 (12:03 +0200)]
fix license headers

12 years agohandle initddir
Pavol Rusnak [Tue, 29 Jun 2010 16:05:22 +0000 (18:05 +0200)]
handle initddir

12 years agowe use short licenses now and _smp_mflags too
Pavol Rusnak [Tue, 15 Jun 2010 14:12:33 +0000 (16:12 +0200)]
we use short licenses now and _smp_mflags too

13 years agoExpand ~/ instead of crashing
Vincent Untz [Fri, 18 Sep 2009 16:15:14 +0000 (18:15 +0200)]
Expand ~/ instead of crashing

13 years agoAdd TODO
Vincent Untz [Fri, 4 Sep 2009 15:18:09 +0000 (17:18 +0200)]
Add TODO

There are several things we can do with rpm 4.7.

13 years agoSupport %ifnarch too
Vincent Untz [Thu, 27 Aug 2009 10:58:30 +0000 (12:58 +0200)]
Support %ifnarch too

13 years agoHandle %ifarch (the same way as %if)
Vincent Untz [Tue, 25 Aug 2009 11:11:33 +0000 (13:11 +0200)]
Handle %ifarch (the same way as %if)

13 years agoMake the cleaning of description less aggressive
Vincent Untz [Fri, 21 Aug 2009 12:19:53 +0000 (14:19 +0200)]
Make the cleaning of description less aggressive

It was removing stuff like %lang_package because it's not a new section.
Now, if a line starts with a macro, we just copy the rest of the
description without trying to clean it, since we don't know exactly
what's going on.

13 years agoFix %package lines being moved while they shouldn't
Vincent Untz [Fri, 21 Aug 2009 12:12:16 +0000 (14:12 +0200)]
Fix %package lines being moved while they shouldn't

They were handled like a normal preamble line, with no specific meaning,
and therefore moved at the end of the paragraph.

13 years agoAdd spec-cleaner script
Vincent Untz [Tue, 18 Aug 2009 08:40:49 +0000 (10:40 +0200)]
Add spec-cleaner script

The script certainly needs some testing, and the adopted style can be
debated, but it works reasonably well so far.

13 years agoadd spec-polish-macros
Pavol Rusnak [Mon, 17 Aug 2009 12:32:18 +0000 (14:32 +0200)]
add spec-polish-macros