aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-11-20 14:44:06 +0000
committerFrancois Pons <fpons@mandriva.com>2000-11-20 14:44:06 +0000
commit2c647453679774d3cf44aa5f88a870a1036c66a3 (patch)
tree81e9e293bc141739aaba241b4aade400513911c8
parentace4fd398df0f287ff1016915a2453e3d87b65f6 (diff)
downloadrpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.gz
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.bz2
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.tar.xz
rpmtools-2c647453679774d3cf44aa5f88a870a1036c66a3.zip
*** empty log message ***
-rw-r--r--Makefile12
-rw-r--r--rpmtools.spec19
2 files changed, 11 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index e39211d..4886abb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-VERSION = 2.0
+VERSION = 2.1
NAME = rpmtools
FROMC = parsehdlist rpm2header #rpm-find-leaves
-FROMCC = gendepslist2 #hdlist2names hdlist2files hdlist2prereq hdlist2groups
+FROMCC = #gendepslist2 hdlist2names hdlist2files hdlist2prereq hdlist2groups
FROMC_STATIC = $(FROMC:%=%_static)
FROMCC_STATIC = $(FROMCC:%=%_static)
ALL = $(FROMC) $(FROMCC)
@@ -17,16 +17,16 @@ install: $(ALL)
install genhdlist_cz2 genhdlists genbasefiles genfilelist packdrake $(PREFIX)/usr/bin
$(FROMCC): %: %.cc
- $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CXX) $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMCC_STATIC): %_static: %.cc
- $(CXX) -s -static $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CXX) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMC): %: %.c
- $(CC) $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CC) $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMC_STATIC): %_static: %.c
- $(CC) -s -static $(CFLAGS) $< $(LIBRPM) -o $@
+ $(CC) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
clean:
rm -rf *~ $(ALL) $(ALL_STATIC)
diff --git a/rpmtools.spec b/rpmtools.spec
index 06e4701..9a42413 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -17,25 +17,18 @@ BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
BuildRequires: rpm-devel >= 4.0 bzip2 popt-devel zlib-devel
Requires: /usr/bin/perl rpm >= 4.0 bzip2 >= 1.0
+Obsoletes: rpmtools-compat <= 2.0 rpmtools-devel <= 2.0
%description
Various tools needed by urpmi and drakxtools for handling rpm files.
-%package devel
-Summary: Contains various rpm command-line tools for development
-Group: Development/Other
-Requires: %{name} = %{version}
-%description devel
-Various devel rpm tools which can be used to build a customized
-Linux-Mandrake distribution.
-
%prep
%setup
%build
%{__perl} Makefile.PL
%{make} -f Makefile_core OPTIMIZE="$RPM_OPT_FLAGS"
-%{make} CFLAGS="$RPM_OPT_FLAGS -DVERSION_STRING=\"%{version}\""
+%{make} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@@ -50,21 +43,19 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/packdrake
%{_bindir}/parsehdlist
%{_bindir}/rpm2header
+%{_bindir}/genhdlists
%{_bindir}/genhdlist_cz2
%{_bindir}/genbasefiles
%dir %{perl_sitearch}/auto/rpmtools
%{perl_sitearch}/auto/rpmtools/rpmtools.so
%{perl_sitearch}/rpmtools.pm
-%files devel
-%defattr(-,root,root)
-%{_bindir}/genhdlists
-%{_bindir}/genfilelist
-
%changelog
* Mon Nov 20 2000 François Pons <fpons@mandrakesoft.com> 2.1-1mdk
- removed rpmtools-compat which is now obsoleted.
+- obsoleted genfilelist is removed from rpmtools-devel package.
+- removed rpmtools-devel which will be obsoleted by merge on genhdlist*.
- add more complete parsehdlist tools, to be used by DrakX
in interactive mode.