rpms/ace/devel ace.spec,1.3,1.4
Bryan Kearney
bkearney at fedoraproject.org
Tue Dec 2 20:20:41 UTC 2008
- Previous message (by thread): rpms/ruby-qpid/F-10 .cvsignore, 1.3, 1.4 ruby-qpid.spec, 1.4, 1.5 sources, 1.3, 1.4
- Next message (by thread): rpms/ruby-qpid/F-9 .cvsignore, 1.3, 1.4 ruby-qpid.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bkearney
Update of /cvs/pkgs/rpms/ace/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5800
Modified Files:
ace.spec
Log Message:
Builds in koji with the appropriate directories
Index: ace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ace/devel/ace.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ace.spec 2 Dec 2008 19:31:49 -0000 1.3
+++ ace.spec 2 Dec 2008 20:20:11 -0000 1.4
@@ -1,4 +1,4 @@
-%define ruby_sitelibdir %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
+%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
%define pbuild %{_builddir}/%{name}-%{version}
%define binFile %{_bindir}/ace
%define initFile %{_initrddir}/ace
@@ -12,7 +12,7 @@
Summary: Appliance Configuration Engine
Name: ace
Version: 0.0.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Group: Applications/Internet
License: LGPLv2+
@@ -21,6 +21,8 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: ruby(abi) = 1.8
+BuildRequires: ruby-devel >= 1.8
+BuildRequires: ruby
Requires: yum
Requires: ruby(abi) = 1.8
Requires: puppet
@@ -34,7 +36,7 @@
%files
%defattr(-,root,root,-)
-%dir %{ruby_sitelibdir}
+%dir %{ruby_sitelib}
%dir %{modulehome}/appliance_base
%dir %{modulehome}/augeas
%dir %{modulehome}/firewall
@@ -49,7 +51,7 @@
%{acehome}/lenses/*
%{acehome}/manifests/*
%{acehome}/tools/*
-%{ruby_sitelibdir}/*
+%{ruby_sitelib}/*
%doc %{acehome}/COPYING
%{binFile}
%{initFile}
@@ -207,12 +209,12 @@
%install
rm -rf %{buildroot}
install -d %{buildroot}/%{acehome}
-install -d %{buildroot}/%{ruby_sitelibdir}
+install -d %{buildroot}/%{ruby_sitelib}
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_initrddir}
cp -pr %{pbuild}/COPYING %{buildroot}/%{acehome}
-cp -pr %{pbuild}/lib/ace.rb %{buildroot}/%{ruby_sitelibdir}
-cp -pr %{pbuild}/lib/ace %{buildroot}/%{ruby_sitelibdir}
+cp -pr %{pbuild}/lib/ace.rb %{buildroot}/%{ruby_sitelib}
+cp -pr %{pbuild}/lib/ace %{buildroot}/%{ruby_sitelib}
cp -pr %{pbuild}/bin/ace %{buildroot}/%{binFile}
cp -pr %{pbuild}/bin/ace-init %{buildroot}/%{initFile}
cp -pr %{pbuild}/modules %{buildroot}/%{acehome}
@@ -245,6 +247,9 @@
# Changelog
###########
%changelog
+* Tue Dec 2 2008 Bryan Kearney <bkearney at redhat.com> 0.0.3-7
+- Modify the build requires to include the ruby binary
+
* Tue Dec 2 2008 Bryan Kearney <bkearney at redhat.com> 0.0.3-6
- Modify the build requires to get the sitelibdir value
- Previous message (by thread): rpms/ruby-qpid/F-10 .cvsignore, 1.3, 1.4 ruby-qpid.spec, 1.4, 1.5 sources, 1.3, 1.4
- Next message (by thread): rpms/ruby-qpid/F-9 .cvsignore, 1.3, 1.4 ruby-qpid.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list