opensuse:nmarquess-spec-cleaner.git
7 years agoVersion 0.2 spec-cleaner-0.2
Vincent Untz [Mon, 2 May 2011 16:34:45 +0000 (18:34 +0200)]
Version 0.2

7 years agoPut pkgconfig()-style package names at the end of their list
Vincent Untz [Mon, 2 May 2011 16:32:34 +0000 (18:32 +0200)]
Put pkgconfig()-style package names at the end of their list

It makes the spec file more readable to group all the pkgconfig()-style
names together, at the end. This is most visible for BuildRequires,
where it's easy to forget there might be something after the pkgconfig()
BuildRequires.

7 years agostart writing proof of concept of rewrite
Pavol Rusnak [Tue, 26 Apr 2011 15:10:53 +0000 (17:10 +0200)]
start writing proof of concept of rewrite

7 years agonew dos2unix testcase
Pavol Rusnak [Fri, 22 Apr 2011 15:02:01 +0000 (17:02 +0200)]
new dos2unix testcase
start documenting new code architecure

7 years agoMerge branch 'master' of gitorious.org:opensuse/spec-cleaner
Pavol Rusnak [Mon, 28 Mar 2011 14:20:11 +0000 (16:20 +0200)]
Merge branch 'master' of gitorious.org:opensuse/spec-cleaner

Conflicts:
spec-cleaner

7 years agoadd .spec extension to spec files (to make syntax highlighting work)
Pavol Rusnak [Mon, 28 Mar 2011 14:16:47 +0000 (16:16 +0200)]
add .spec extension to spec files (to make syntax highlighting work)

7 years agoadd FDL licenses (patch by securelinux)
Pavol Rusnak [Thu, 10 Mar 2011 12:24:05 +0000 (13:24 +0100)]
add FDL licenses (patch by securelinux)

7 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/opensuse/spec-cleaner...
Pavol Rusnak [Thu, 10 Mar 2011 12:15:39 +0000 (13:15 +0100)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/opensuse/spec-cleaner into merge-requests/1

7 years agosmall changes
Pavol Rusnak [Thu, 10 Mar 2011 12:14:42 +0000 (13:14 +0100)]
small changes

7 years agouse spaces instead tabs
Mariusz Fik [Mon, 24 Jan 2011 17:44:18 +0000 (18:44 +0100)]
use spaces instead tabs

7 years agocut summary after the first dot
Pavol Rusnak [Fri, 21 Jan 2011 09:24:31 +0000 (10:24 +0100)]
cut summary after the first dot

7 years agoAdd a bug and a change we could do in TODO
Vincent Untz [Sat, 15 Jan 2011 07:46:23 +0000 (08:46 +0100)]
Add a bug and a change we could do in TODO

7 years agoAlso replace plain %patch to %patch0
Vincent Untz [Tue, 11 Jan 2011 12:54:33 +0000 (13:54 +0100)]
Also replace plain %patch to %patch0

We were only looking at "%patch ", assuming all the lines had a -pX.

7 years agoupdated url for PATCH-MISSING-TAG
Mariusz Fik [Tue, 14 Dec 2010 14:34:58 +0000 (15:34 +0100)]
updated url for PATCH-MISSING-TAG

Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
7 years agosmall fixes in pkgconfig symbols
Pavol Rusnak [Wed, 1 Dec 2010 19:37:26 +0000 (20:37 +0100)]
small fixes in pkgconfig symbols

7 years agoadd more pkgconfig symbols
Pavol Rusnak [Wed, 1 Dec 2010 19:05:58 +0000 (20:05 +0100)]
add more pkgconfig symbols

7 years agoput brackets around %name, %version, %release, ...
Pavol Rusnak [Wed, 1 Dec 2010 18:36:19 +0000 (19:36 +0100)]
put brackets around %name, %version, %release, ...

7 years agoAdd --diff and --diff-prog options
Petr Uzel [Sat, 27 Nov 2010 16:48:48 +0000 (17:48 +0100)]
Add --diff and --diff-prog options

7 years agoadd first batch of xfce-related libraries
Pavol Rusnak [Wed, 1 Dec 2010 17:54:28 +0000 (18:54 +0100)]
add first batch of xfce-related libraries

7 years agostart replacing requirements for pkgconfig() symbols
Pavol Rusnak [Wed, 10 Nov 2010 23:43:18 +0000 (00:43 +0100)]
start replacing requirements for pkgconfig() symbols

7 years agosimplify headers in unittests too
Pavol Rusnak [Wed, 10 Nov 2010 23:19:15 +0000 (00:19 +0100)]
simplify headers in unittests too

7 years agorequire -k param for unit tests to keep failed diffs
Pavol Rusnak [Wed, 10 Nov 2010 23:19:02 +0000 (00:19 +0100)]
require -k param for unit tests to keep failed diffs

7 years agomake header much more simple
Pavol Rusnak [Wed, 10 Nov 2010 23:00:58 +0000 (00:00 +0100)]
make header much more simple

7 years agoforgot one case
Pavol Rusnak [Wed, 27 Oct 2010 16:59:31 +0000 (18:59 +0200)]
forgot one case

7 years agoadd test for testing make parameters (fails too atm :-/)
Pavol Rusnak [Wed, 27 Oct 2010 16:58:10 +0000 (18:58 +0200)]
add test for testing make parameters (fails too atm :-/)

7 years agoadd test for patches replacement
Pavol Rusnak [Mon, 25 Oct 2010 13:32:41 +0000 (15:32 +0200)]
add test for patches replacement

7 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

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

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

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

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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

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

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

8 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

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

8 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.

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

8 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)

8 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.

8 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.

8 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.

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