I tried to build source package for kdepim and rpmbuild complained on missing 
dependencies.

# rpmbuild -bs kdepim3.spec
error: Failed build dependencies:
        pilot-link-devel is needed by  
kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586
        gpgme-devel is needed by 
kdepim3-3.5.7.enterprise.0.20070904.708012-9.i586

# zypper in pilot-link-devel   gpgme-devel
package 'pilot-link-devel' not found
package 'gpgme-devel' not found

I found replacements using YaST search for what provides them and installed 
them. After that source package was built without complains. 

# rpm -q --whatprovides  pilot-link-devel   gpgme-devel
libpisock-devel-0.12.2-26
libgpgme-devel-1.1.5-31

I changed kdepim3.spec replacing nonexistant files with above 2.
This is the 'diff -u' output:

--- kdepim3.spec        2007-09-25 16:59:15.000000000 -0500
+++ kdepim3.spec-new    2007-12-31 14:51:35.000000000 -0600
@@ -18,10 +18,10 @@
 BuildRequires:  gnokii-devel
 %endif
 %if %suse_version > 1010
-BuildRequires:  libopensync-devel pilot-link-devel
+BuildRequires:  libopensync-devel libpisock-devel
 %endif
 %if %suse_version > 1000
-BuildRequires:  gpgme-devel
+BuildRequires:  libgpgme-devel
 %else
 BuildRequires:  gpgme libgpg-error-devel
 %endif

I hope this was correct way to change spec file. 

-- 
Regards,
Rajko
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to