RPM builds under Kdevelop 2.0.2 (solution)

Tim Brodie tbrodie at displayworksinc.com
Wed Jan 30 00:16:24 GMT 2002


Steven Suson wrote:
> In cases like this, I create a scratch project of the same type, and check out
> what's there...

There were actually two issues to solve this problem:

a) in the Makefile.am file in the project root directory, the line
EXTRA_DIST= admin
was missing just prior to the dist-hook: target.  When this was
added, then the tgz built just fine.

b) To get RPM to build correctly, the line:
make -f admin/Makefile.common cvs
had to be added in the project template spec file in the %setup
section.  Then the rest of the package would build ok.

Actually, the best thing to do would be to change the kdevelop
templates to include this?  Unless there is another reason why
this wouldn't be practical.

Suggested patch:*** /usr/share/apps/kdevelop/template-kde.spec  Sun Jan
21 18:59:40 2001
--- template-kde.spec   Tue Jan 29 19:12:57 2002
***************
*** 19,24 ****
--- 19,25 ----

  %prep
  %setup
+ make -f admin/Makefile.common cvs
  CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
                  %%config%% \
                  $LOCALFLAGS


Regards... Tim

--
Tim Brodie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2034 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20020129/f7f34cd9/attachment.bin>


More information about the KDevelop mailing list