search for: _prefix

Displaying 20 results from an estimated 40 matches for "_prefix".

Did you mean: prefix
2017 Mar 04
2
Python search path
Hello, Working on a project to create clean spec files for libbitcoin for CentOS 7 (and eventually I want them to work in Fedora 25+ too) These spec files must work with the user defines an alternate %{_prefix} before building them. This means that python components would be installed in /opt/libbitcoin (or whatever) instead of in /usr so %{python2_sitelib} and %{python2_sitearch} no longer would apply. sys.path.append looks like the way to tell python about a new path to look for stuff, but I'...
2017 Mar 04
1
Python search path
I want to create RPM spec file that lets the user build the RPM with an alternate prefix - e.g. rpmbuild -D '_prefix /opt/whatever' -bb package.spec That results in in the python files being placed in /opt/whatever/lib/pythonN/site-packages and /opt/whatever/%{_lib}/pythonN/site-packages Those directories are outside of the default python search path. I could leave it up to the user to add them, but its n...
2019 Oct 22
2
C8 regression / tmp on tmpfs
....mount (#1619292) $ grep -E 'tmpfs|tmp.mount' systemd.spec |grep -v devpts Patch0004: 0004-Avoid-tmp-being-mounted-as-tmpfs-without-the-user-s-.patch Patch0059: 0059-unit-don-t-add-Requires-for-tmp.mount.patch # No tmp-on-tmpfs by default in RHEL. bz#876122 bz#1578772 rm -f %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants/tmp.mount - unit: don't add Requires for tmp.mount (#1619292) - avoid /tmp being mounted as tmpfs without the user's will (#1578772) - do not mount /tmp as tmpfs (#1578772) - Enable /var/run and /var/lock on tmpfs The "remove" stanza lea...
2002 Jul 13
0
vorbis-tools spec fixes
...ultimedia -Copyright: GPL +License: GPL URL: http://www.xiph.org/ Vendor: Xiph.org Foundation <team@xiph.org> Source: ftp://ftp.xiph.org/pub/vorbis-tools/%{name}-%{version}.tar.gz @@ -33,7 +33,7 @@ if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} else - CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} + %configure fi make +mb+rz k7&zzmb+ {.n++%lzwZ,j+n+zrj) '+a{ +v&{ay,ry'rzg-b"V ~)mz
2007 Jun 16
2
Trying to build rpm-package
I have weird problem. I'll try to build rpm-package from Brian Lane's Digitemp. Everything seems to go OK, but..... Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.50782 + umask 022 + cd /usr/src/redhat/BUILD + cd digitemp-3.5.0 + install -d -m 755 /var/tmp/digitemp-buildroot/usr/local/bin/ + install -s -g lock -m 2755 digitemp_DS9097U /var/tmp/digitemp-buildroot/usr/local/bin/ + install
2006 Aug 26
0
[LLVMdev] Fedora Core 5 package
...le. It currently supports compilation of C and C++ programs, using front-ends derived from GCC 3.4 and 4.0.1. The compiler infrastructure includes mirror sets of programming tools as well as libraries with equivalent functionality. %prep %setup -q -n llvm-1.9cvs %build ./configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --enable-optimized \ --enable-assertions make tools-only %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldcon...
2011 Sep 28
1
Custom rpms failing
I have managed to build i386 rpms for CentOS, based on the 3.2.3 SRPM, but they don't work: # rpm -Uhv glusterfs-core-3.2.3-1.i386.rpm glusterfs-fuse-3.2.3-1.i386.rpm glusterfs-rdma-3.2.3-1.i386.rpm Preparing... ########################################### [100%] 1:glusterfs-core ########################################### [ 33%] glusterd: error while loading shared
2006 Aug 26
2
[LLVMdev] Fedora Core 5 package
There doesn't appear to be an rpm target in the Makefile. My spec file is derived from the included spec file however it did not honour the DESTDIR, hence the changes. On Fri, 2006-08-25 at 22:43 -0700, Reid Spencer wrote: > Hi David, > > On Sat, 2006-08-26 at 15:56 +1200, David Kuestler wrote: > > I have built llvm as a Fedora Core 5 package : > >
2014 Jan 03
1
Need help with spec file for Apache-2.4.7
...t;= 1.4.0 # Replaced by --with-included-apr . . . #Requires: apr-devel, apr-util-devel # Replaced by --with-included-apr and this little 'gotcha' # forcibly prevent use of bundled apr, apr-util, pcre # rm -rf srclib/{apr,apr-util,pcre} removed this from %configure: # --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ and replaced it with this: --with-included-apr \ and removed the reference to mod_socache_dc #%files -n mod_socache_dc #%defattr(-,root,root) #%{_libdir}/httpd/modules/mod_socache_dc.so However, the build dies saying that it cannot find arp/arp-utils: configure:...
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
...:$PATH export TMP=$mysysroot/tmp export TMPDIR=$TMP export TMP_DIR=$TMP @@ -190,12 +190,12 @@ export IMAGE_NAME=\"%s\" export DIB_IMAGE_ROOT_FS_UUID=%s export DIB_IMAGE_CACHE=$HOME/.cache/image-create export DIB_ROOT_LABEL=\"%s\" -export _LIB=$mysysroot/tmp/aux/lib -export _PREFIX=$mysysroot/tmp/aux/elements +export _LIB=$mysysroot/tmp/in_target.aux/lib +export _PREFIX=$mysysroot/tmp/in_target.aux/elements export ARCH=%s -export TMP_HOOKS_PATH=$mysysroot/tmp/aux/hooks +export TMP_HOOKS_PATH=$mysysroot/tmp/in_target.aux/hooks export DIB_ARGS=\"%s\" -export DIB_MAN...
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the environment (-E) maybe breaks the applications, as e.g. chroot will have a TMPDIR path pointing outside of it. --- dib/dib.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dib/dib.ml b/dib/dib.ml index df83ba1..d15cd19 100644 --- a/dib/dib.ml +++ b/dib/dib.ml @@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2017 Mar 04
0
Python search path
...2017 at 17:36, Alice Wonder <alice at domblogger.net> wrote: > Hello, > > Working on a project to create clean spec files for libbitcoin for CentOS > 7 (and eventually I want them to work in Fedora 25+ too) > > These spec files must work with the user defines an alternate %{_prefix} > before building them. > > This means that python components would be installed in /opt/libbitcoin > (or whatever) instead of in /usr so %{python2_sitelib} and > %{python2_sitearch} no longer would apply. > > sys.path.append looks like the way to tell python about a new path...
2019 Oct 22
0
C8 regression / tmp on tmpfs
...#39;tmpfs|tmp.mount' systemd.spec |grep -v devpts > > Patch0004: 0004-Avoid-tmp-being-mounted-as-tmpfs-without-the-user-s-.patch > Patch0059: 0059-unit-don-t-add-Requires-for-tmp.mount.patch > # No tmp-on-tmpfs by default in RHEL. bz#876122 bz#1578772 > rm -f > %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants/tmp.mount > - unit: don't add Requires for tmp.mount (#1619292) > - avoid /tmp being mounted as tmpfs without the user's will (#1578772) > - do not mount /tmp as tmpfs (#1578772) > - Enable /var/run and /var/lock on tmpfs > > &gt...
2004 Nov 20
0
Some features in SPEC file
...ml2-devel >= 2.4.19 Requires: libxslt >= 1.0.15 BuildRequires: libxslt-devel >= 1.0.15 In the section %build you might add one option in the CFLAGS line, because generally the log are in /var/log and not /usr/var/log %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=/etc --localstatedir=/var Bye. +--------------------------------------------------------------+ | E-mail : Nicolas.Croiset@brume.org | | Annuaire des radios AM/FM/DAB : http://www.annuaire.fr.fm/ | +-----------------------------------...
2000 Dec 15
1
OpenSSH 2.3.0p1: Problem with the init script in the RPM
There is a problem in the contrib/redhat/sshd.init script: it starts sshd without specifying the full path (/usr/bin/sshd for the RPM installation). The daemon starts up and works, but dies when it receives a SIGHUP, because it is unable to re-exec itself without the full path. -------------- next part -------------- --- openssh-2.3.0p1/contrib/redhat/sshd.init.initfix Mon Oct 16 05:25:17 2000 +++
2005 Jan 12
0
samba from srpms for fedora core 1 with mysql
hi there here is part of SPECS file: ------------------------------------------------------------------ CFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{_prefix} \ --localstatedir=/var \ --sysconfdir=/etc \ --with-privatedir=%{_sysconfdir}/samba \ --with-fhs \ --with-quotas \ --with-smbmount \ --with-pam \ --with-pam_smbpass \ --with-syslog \ --with-utmp \ --with-sambab...
2018 Apr 12
0
Fw:ldap access domain AD failed on 4.7.6 and 4.8.0
...my spec file.Besides, I tried to use AD Explorer to connect the AD. It also failed with “this directory service is unavailable”. And here are my configure options in spec file: PATH_OPTS="\ --enable-fhs \ --with-lockdir=%{_localstatedir}/cache/samba \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \...
2019 Oct 21
2
C8 regression / tmp on tmpfs
Does someone have a working tmp on tmpfs via systemctl enable tmp.mount under CentOS8/RHEL8? This seems to work straight in EL7 ... # LANG=C systemctl enable tmp.mount The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible
2002 Jul 13
0
libvorbis make and spec fixes
...ystem Environment/Libraries +License: BSD URL: http://www.xiph.org/ Vendor: Xiph.org Foundation <team@xiph.org> Source: ftp://ftp.xiph.org/pub/ogg/vorbis/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-root -Requires: libogg >= 1.0rc3 +Requires: libogg >= 1.0 Prefix: %{_prefix} +BuildRequires: libogg-devel %description Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, @@ -23,7 +24,7 @@ %package devel Summary: Vorbis Library Development Group: Development/Libraries -Requires: libogg-devel >= 1.0rc3 +Requires: libogg-devel >= 1.0 Requi...
2020 Sep 01
0
Re: Meson build
...plain. > > AFAICT, rpm builds that use the %meson macro will also have buildtype=plain. > From /usr/lib/rpm/macros.d/macros.meson of the meson-0.54 package > > %meson \ > %set_build_flags > %{shrink:%{__meson} \ > --buildtype=plain \ > --prefix=%{_prefix} \ > ... > > > Having the full set of warnings including -Werror enabled is a good thing > > in general, even for distros. There have certainly been cases where > > distros backported a patch incorrectly and warning flags would have > > identified it, especially c...