#23 fedora-review overwrites spec in current directory
Closed: Fixed None Opened 12 years ago by sochotni.

When fedora review is run with '-n' switch and the spec in current dir is not the same as the one in src.rpm, the spec gets overwritten with the one from srpm.


Can't reproduce this issue on 0.1.2

Indeed I can still reproduce easily like this:
{{{
$ ls -l
-rw-rw-r--. 1 w0rm w0rm 1304 Feb 15 17:31 plexus-pom-3.0.1-no-site-plugin.patch
-rw-rw-r--. 1 w0rm w0rm 1148 Feb 15 17:31 plexus-pom-3.0.1-pom.patch
-rw-rw-r--. 1 w0rm w0rm 4028 Feb 15 17:31 plexus-pom-3.0.1.tar.xz
-rw-rw-r--. 1 w0rm w0rm 2267 Feb 15 17:31 plexus-pom.spec

$ rpmbuils -bs *spec
Wrote: /home/w0rm/work/reviews/plexus-pom/test/plexus-pom-3.0.1-1.fc16.src.rpm

$ vim plexus-pom.spec
[edit something]

$ fedora-review -n plexus-pom
...

$ [plexus-pom is replaced with version from srpm]
}}}

I'll look into this

Login to comment on this ticket.

Metadata