forked from pool/Modules
Accepting request 246459 from home:jengelh:branches:systemsmanagement
- Resolve build failure with automake-1.14 OBS-URL: https://build.opensuse.org/request/show/246459 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=19
This commit is contained in:
parent
eb0440988c
commit
1829d65ed0
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 10:50:58 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Resolve build failure with automake-1.14
|
||||
- Use some RPM macros instead of hardcoded paths;
|
||||
remove redundant %clean section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 14:50:06 UTC 2013 - max@suse.com
|
||||
|
||||
|
30
Modules.spec
30
Modules.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package Modules
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -63,16 +63,31 @@ Authors:
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# Remove overzealous use of "dnl" (+++), which caused
|
||||
# a broken "configure" (---) being generated.
|
||||
#@@ -3004,7 +3004,8 @@ to "yes", and re-run configure.
|
||||
# END
|
||||
# as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
||||
# fi
|
||||
#-fiac_config_headers="$ac_config_headers config.h"
|
||||
#+fi
|
||||
#+ac_config_headers="$ac_config_headers config.h"
|
||||
#
|
||||
# # Check whether --enable-versioning was given.
|
||||
# if test "${enable_versioning+set}" = set; then :
|
||||
#
|
||||
perl -i -pe 's{dnl\n}{\n}gs' configure.ac
|
||||
|
||||
aclocal --force -I config
|
||||
autoreconf --force --install
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-version-path=/usr/share/modules \
|
||||
--with-module-path=/usr/share/modules/modulefiles \
|
||||
--prefix="%_prefix" \
|
||||
--with-version-path="%_datadir/modules" \
|
||||
--with-module-path="%_datadir/modules/modulefiles" \
|
||||
--mandir=%{_mandir} \
|
||||
--with-etc-path=/etc \
|
||||
--with-skel-path=/etc/skel \
|
||||
--with-etc-path="%_sysconfdir" \
|
||||
--with-skel-path="%_sysconfdir/skel" \
|
||||
--with-tcl=%{_libdir} \
|
||||
--without-x
|
||||
make
|
||||
@ -93,9 +108,6 @@ ln -s ../share/Modules/%{version}/bin/mkroot .
|
||||
ln -s ../share/Modules/%{version}/bin/modulecmd .
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog LICENSE.GPL NEWS README TODO
|
||||
|
Loading…
Reference in New Issue
Block a user