Mailinglist Archive: opensuse-buildservice (110 mails)

< Previous Next >
Re: [opensuse-buildservice] linking question
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Sun, 30 Jul 2006 23:31:28 +0200
  • Message-id: <20060730213128.GA5611@xxxxxxxxxxxxxxxxxxx>
Hi,


On 2006-07-30 21:32:49 +0200, Christoph Thiel wrote:
> On Sun, 30 Jul 2006, Marcus Hüwe wrote:
>
> > today i tried to link a package from another project to my project which
> > wasn't a problem. Then i checked out the new package with osc but i only
> > find a "_link"-file in the package dir. So how can i add a patch for
> > example or how can i modify the specfile?
>
> Check out
> http://build.opensuse.org/package/show?package=screen2&project=screen or
> http://build.opensuse.org/package/show?package=openobex&project=OpenSync
> as a reference of using links+patches.
>
thanks for your help but it doesn't work:
For testing i created a simple patch for the specfile (see attached file).
I put this file into my package dir and run "osc add patch" and "osc ci" (i
tried it with the webclient too).
I have no idea what i'm doing wrong :/


Marcus
--- postfix23.spec.orig 2006-07-30 22:29:32.000000000 +0200
+++ postfix23.spec 2006-07-30 22:17:35.000000000 +0200
@@ -8,7 +8,7 @@
BuildRequires: libselinux
%endif

-Name: postfix23
+Name: postfix23-kolab
Version: 2.3.1
%define pversion 2.3.1
Release: 2.1
@@ -24,10 +24,12 @@
Patch: dynamic_maps.patch
Patch1: dynamic_maps_pie.patch
Patch2: ldap_api_changes.patch
+Patch3: postfix-ldap-leafonly.patch
%if %{?suse_version:1}%{?!suse_version:0}
Prereq: /usr/sbin/useradd /usr/sbin/groupadd %insserv_prereq %fillup_prereq /bin/sed /bin/awk /bin/grep textutils sh-utils fileutils pcre openldap2-client netcfg /sbin/ip
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Provides: postfix-kolab
#
%if %{?suse_version:1}%{?!suse_version:0}
%debug_package
@@ -77,6 +79,8 @@
%patch -p1
%patch1 -p1
#%patch2
+# kolab specific patch
+%patch3 -p1
# ---------------------------------------------------------------------------

%build
@@ -539,6 +543,8 @@


%changelog -n postfix
+* Sun Jul 30 2006 - Marcus Hüwe <suse-tux@xxxxxx>
+- added kolab specific patch for the server:Kolab project
* Tue May 23 2006 - choeger@xxxxxxxxxx
- initial version based on SUSE postfix spec


---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice-help@xxxxxxxxxxxx
< Previous Next >
Follow Ups