Skip to content

PaulBoon/dccd-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dccd-lib

This is used by the DCCD webapplication. For documentation see the DCCD webapplication README.md

Problem building RPM

If the build fails when trying to build an RPM package, with an error similar to this:

RPM build execution returned: '1' executing '/bin/sh -c cd '/Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib/SPECS' && 'rpmbuild' '-bb' '--target' 'noarch-apple-mac os x' '--buildroot' '/Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib/buildroot' '--define' '_topdir /Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib' 'dccd-lib.spec'' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm (generate-rpm) on project dccd-lib: RPM build execution returned: '1' executing '/bin/sh -c cd '/Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib/SPECS' && 'rpmbuild' '-bb' '--target' 'noarch-apple-mac os x' '--buildroot' '/Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib/buildroot' '--define' '_topdir /Users/paulboon/git/service/dccd/dccd-lib/target/rpm/dccd-lib' 'dccd-lib.spec''

then you may have to externally define one of the macros of the rpmbuild tool. Create or edit the file ~/.rpmmacros and add the following line:

%_tmppath      %{_topdir}/BUILD

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.2%
  • CSS 3.5%
  • Other 0.3%