rpms/bti/EL-5 bti.spec,1.6,1.7
Michel Alexandre Salim
salimma at fedoraproject.org
Thu Aug 20 05:30:15 UTC 2009
- Previous message: rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.40, 1.41 nouveau-bicubic-2x.patch, 1.7, 1.8 nouveau-multiple-xserver.patch, 1.9, 1.10 nouveau-transition-hack.patch, 1.10, 1.11 sources, 1.41, 1.42 xorg-x11-drv-nouveau.spec, 1.50, 1.51
- Next message: rpms/bti/F-10 bti.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/pkgs/rpms/bti/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3836/EL-5
Modified Files:
bti.spec
Log Message:
Adjust build process to use bti's new configure system
Index: bti.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bti/EL-5/bti.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- bti.spec 20 Aug 2009 01:34:26 -0000 1.6
+++ bti.spec 20 Aug 2009 05:30:15 -0000 1.7
@@ -10,7 +10,7 @@ Source0: http://www.kernel.org/pu
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# still supporting EL-5, rename to libcurl-devel once this changes
-BuildRequires: curl-devel readline-devel libxml2-devel
+BuildRequires: curl-devel readline-devel libxml2-devel pcre-devel
#Requires:
%description
@@ -23,14 +23,13 @@ and fast manner to annoy the whole world
%build
-CFLAGS=$RPM_OPT_FLAGS make %{?_smp_mflags}
+%configure
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1
-cp -p bti $RPM_BUILD_ROOT%{_bindir}/
-cp -p bti.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+make install DESTDIR=$RPM_BUILD_ROOT
# bash completion
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
cp -p bti-bashcompletion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/bti
@@ -42,11 +41,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc bti.example ChangeLog COPYING HACKING README RELEASE-NOTES
+%doc bti.example ChangeLog COPYING README RELEASE-NOTES
# Own the directory so that we do not need to Require:
# bash-completion just for one file
-%config %{_sysconfdir}/bash_completion.d
+%dir %{_sysconfdir}/bash_completion.d
+%config(noreplace) %{_sysconfdir}/bash_completion.d/bti
%{_bindir}/bti
+%{_bindir}/bti-shrink-urls
%{_mandir}/man1/*
- Previous message: rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.40, 1.41 nouveau-bicubic-2x.patch, 1.7, 1.8 nouveau-multiple-xserver.patch, 1.9, 1.10 nouveau-transition-hack.patch, 1.10, 1.11 sources, 1.41, 1.42 xorg-x11-drv-nouveau.spec, 1.50, 1.51
- Next message: rpms/bti/F-10 bti.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list