aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.spec
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-28 08:58:51 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-28 08:58:51 +0000
commitde81b8ffe85f63f185f5f2ce747eb00429147d75 (patch)
tree7b57495234f7ee88198bbe262215cb846a826ddf /rpmtools.spec
parent6e0d2fff13c6ae9b97ca9e32c28c09bd2e2e8f67 (diff)
downloadrpmtools-de81b8ffe85f63f185f5f2ce747eb00429147d75.tar
rpmtools-de81b8ffe85f63f185f5f2ce747eb00429147d75.tar.gz
rpmtools-de81b8ffe85f63f185f5f2ce747eb00429147d75.tar.bz2
rpmtools-de81b8ffe85f63f185f5f2ce747eb00429147d75.tar.xz
rpmtools-de81b8ffe85f63f185f5f2ce747eb00429147d75.zip
*** empty log message ***
Diffstat (limited to 'rpmtools.spec')
-rw-r--r--rpmtools.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 5857f03..9d6653c 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 2mdk
+%define release 3mdk
# do not modify here, see Makefile in the CVS
%define version 1.2
@@ -40,11 +40,14 @@ rpmtools package.
%setup
%build
-make CFLAGS="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL
+%{make} -f Makefile_core OPTIMIZE="$RPM_OPT_FLAGS"
+%{make} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
-make install PREFIX=$RPM_BUILD_ROOT
+%{make} install PREFIX=$RPM_BUILD_ROOT
+%{make} -f Makefile_core install PREFIX=$RPM_BUILD_ROOT%{_prefix}
# compability tools, based upon parsehdlist ones.
ln -s parsehdlist $RPM_BUILD_ROOT%{_bindir}/hdlist2names
@@ -96,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Aug 28 2000 François Pons <fpons@mandrakesoft.com> 1.2-3mdk
+- fixed ugly arch specific optimization in Makefile.PL.
+
* Fri Aug 25 2000 François Pons <fpons@mandrakesoft.com> 1.2-2mdk
- added rpmtools perl module.
- added genbasefiles to build compss, depslist.ordered and provides files