Mailinglist Archive: opensuse-packaging (214 mails)

< Previous Next >
[opensuse-packaging] creating/applying a patch
  • From: Robert Schweikert <rschweikert@xxxxxxxxxx>
  • Date: Thu, 21 Oct 2010 22:28:26 -0400
  • Message-id: <4CC0F6CA.5080307@xxxxxxxxxx>
Hi,

Sorry if this arrives twice, mail server issues....
I am creating a new package and I need to create a patch. I followed
what I could find here (the steps describing how to use quilt):

http://en.opensuse.org/openSUSE:Fixing_bugs

The first step failed as there are no packages yet. Thus I didn't quite
know what to do and just remained in my "top level directory", i.e. the
directory that contains the .spec file and the tarball. I unpacked the
tarball and following the steps outlined I managed to get my patch created.

Now I have a patches directory with my patch file
(qpidc-0.6-fix-xqill-interface-problem.patch) and a file named "series".

In my spec file I added:

Patch0: %{short_name}-%{version}-fix-xqill-interface-problem.patch

and

%prep
%setup -q -n %srcdir_name-%{version}
%patch0

(the %patch0 line is new)

Upon build I get:

error: Bad source:
/usr/src/packages/SOURCES/qpid-cpp-0.6-fix-xqill-interface-problem.patch: No
such file or directory

That doesn't really surprise me since I have no idea how this is all
supposed to work together.

Can someone please guide me through this process?

Thanks,
Robert

--
Robert Schweikert MAY THE SOURCE BE WITH YOU
Software Engineer Consultant LINUX
rschweikert@xxxxxxxxxx
781-464-8147

Novell
Making IT Work As One
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >