Bump.

Example Package: drupal6, currently in SJ's /pending
Spec file: attached

Question: when I install this pkg, and /release is my primary authority, 
why isn't SUNWapch22 pulled in?

Thx/ERR


Eric Reid - Sun ISV Engineering wrote:
> All,
>
> Is there some explanation as to what the 'Requires' operator 
> does/assumes in the spec file? The submitted Drupal packages have 
> dependencies on SUNWapch22, and therefore spec file has this line:
>
>     Requires:            SUNWapch22
>
>
> When the package is installed from SJ's /pending, however, SUNWapch22 
> isn't installed from /release (and, yes, /release is one of my valid 
> authorities).
>
> What might I be missing here?
>
> Thx/ERR
>

------------------------------------------------------------------------
#
# spec file for package: drupal6
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# include module(s): drupal6
#

Name:                drupal6
Summary:             An open-source content-management platform
Version:             6.10
License:             GPLv2
Source:              
http://ftp.drupal.org/files/projects/drupal-%{version}.tar.gz
Url:                 http://drupal.org
Group:               Applications
Distribution:        OpenSolaris
Vendor:              OpenSolaris Community

SUNW_Copyright:      drupal6.copyright

SUNW_BaseDir:        /
BuildRoot:           %{_tmppath}/%{name}-%{version}-build
Requires:            SUNWapch22

%description
Equipped with a powerful blend of features, Drupal is a Content Management 
System written in PHP that can support a variety of websites ranging from
personal weblogs to large community-driven websites.  Drupal is highly
configurable, skinnable, and secure.

This package contains Drupal 6, depends upon and installs in the Apache 2.x
DocumentRoot directory directly, and does *not* assume the existence of 
an RDBMS on the machine.

After installation, Apache 2.x should be started, and the installer's web
browser pointed to http://localhost/drupal6.

This package is covered under Sun OSR #8221 and ECCN EAR99.

%prep
%setup -q -n drupal-%version

#%build

#dummy - nothing to make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/var/apache2/2.2/htdocs/%name
cp -pr * $RPM_BUILD_ROOT/var/apache2/2.2/htdocs/%name

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_var}
%{_var}/apache2/2.2/htdocs/%name/*


%changelog
* Mon Mar 23 2009 - Eric Reid <eric.reid at sun.com>
- Fix build problems
* Tue Mar 17 2009 - Eric Reid <eric.reid at sun.com>
- Initial spec

-- 


        

   Eric Reid

   Staff Engineer, Software
   Sun Microsystems, Inc.

         
 

  Phone: +1 269.629.7238
  Cell:     +1 269.569.1042
  Fax:     +1 650.352.4428
  Blog:    http://blogs.sun.com/err
  AIM:     ereidsan
  Skype:    erreid
        


Reply via email to