On Fri, 09 Jul 2010 10:31:59 -0700
Brad Bell <bradbell(a)seanet.com> wrote:
The new version of my spec file has
Version: 20100101.4
Release: 1%{?dist}
The previous version has
Version: 20080403
Release: 3%{?dist}
I mistakenly checked in and did a
make tag
make build
with the new version and wish to go back to the old version
(I changed EL-5 when I meant to change EL-6).
Using cvs, I could revert my spec file to its previous version. Then
change the release to
Version: 20080403
Release: 4%{?dist}
then add a comment in the log that release 4 is the same as release 3,
then revert by sources and .cvsignore files, then commit the changes
in cvs, then do
make tag
make build
1. Would this work ?
If you also untagged the newer mistaken package, yes.
2. Is this the best way to revert to a previous release ?
I can't think of a better one off hand.
kevin
--
On 7/9/2010 8:59 AM, Kevin Fenzi wrote:
> On Thu, 8 Jul 2010 21:17:27 +0100
> Mark Chappell<tremble(a)tremble.org.uk> wrote:
>
>
>>> I would like to revert the EL-5 distribution back to its previous
>>> version; i.e.,
>>>
http://cvs.fedoraproject.org/viewvc/rpms/cppad/EL-5/
>>> before its previous commit and previous
>>> make tag
>>> make build
>>> Is there a standard procedure for doing this ?
>>>
>> As far as the EPEL-5 distribution is concerned, if you didn't push
>> the update through bodhi, it's fine don't worry that it's gone
>> into Koji. I don't know CVS well enough to know how to cleanly
>> revert (I generally use Subversion or Git)
>>
> I suppose you could untag the package in koji, and then just commit
> a older version back to cvs.
>
> Are you needing to update the older version? Or just don't want the
> newer one to go out until you fix it up?
>
>
>> I've CCed in the EPEL devel list which almost certainly includes a
>> number of people more familiar with CVS than myself and can tell
>> you the two liner to revert back to the cppad-20080403-3_el5 tag.
>>
> koji untag-pkg --help
>
> If you expand a bit more on exactly what you built and what you
> want to do we can give more detailed info.
>
> kevin
>
>
>
> _______________________________________________
> epel-devel-list mailing list
> epel-devel-list(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/epel-devel-list
>