search for: __os_install_post

Displaying 6 results from an estimated 6 matches for "__os_install_post".

2013 Jun 09
1
Force to strip all symbols from ELFs when using rpmbuild on CentOS
Hello. What's the proper way to remove *all symbols* from ELF binaries when building packages with rpmbuild on CentOS? Seems that an out of the box rpmbuild install only discards debugging symbols (strip -g). That's the default configuration for %__os_install_post on CentOS, the step in charge on stripping binaries: $ rpmbuild --showrc (..) -14: __os_install_post %{_rpmconfigdir}/brp-compress %{_rpmconfigdir}/brp-strip %{_rpmconfigdir}/brp-strip-static-archive %{_rpmconfigdir}/brp-strip-comment-note ELF b...
2008 Sep 29
1
Rpmbuild and how to disable automatic dependency list creation.
...them to the list of "Requires", which is not desirable in this case. My question therefore is - how can I tell rpmbuild to stop automatically creating a dependency list? The best I can come up with at the moment is to add the following to my ~/.rpmmacros (line numbers added by me): [1] %__os_install_post /usr/lib/rpm/brp-strip-comment-note [2] %__find_requires /bin/true [3] %__perl_requires /bin/true So: [1] - Stop it stripping already stripped binaries. [2] and [3] - This stops it doing the automatic dependency list creation. This seems a bit heavy handed though, is there another, cleaner...
2007 Jul 11
1
RPM Build Question
...mpletely using rpmbuild -ba mathematica.spec an RPM is created but when I try and install this it fails because the MD5 Sum of the file mentioned above is not correct. Anyone have any idea how to stop the prelink change that is causing the problem ? I assume its a directive similiar to %define __os_install_post %{nil} but I'm unsure exactly what I should be turning off. Thanks Clint
2015 Jun 03
6
creating RPMs from CRAN tarballs
This is not specifically a CentOS question, but I am creating RPMS for CentOS 6 from some CRAN tarballs. I run R2spec -s tarball to create a spec file, and most of the time it works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has test or example programs that start with #!/usr/bin/r with lower case r, and the resulting package then winds up with a dependency on /usr/bin/r,
2015 Jun 04
0
creating RPMs from CRAN tarballs
...g with > /usr/bin/R, recreating the tarball and going through the process again, but > I have to believe there is an easier way. > > Is there a option to not create the dependency? can't test it here right now - but try adding following line at the top of your spec file: %define __os_install_post %{nil} -- LF
2015 Jun 04
1
creating RPMs from CRAN tarballs
...and going through the process again, > but > > I have to believe there is an easier way. > > > > Is there a option to not create the dependency? > > > can't test it here right now - but try adding > following line at the top of your spec file: > > %define __os_install_post %{nil} > > -- > LF > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >