Mailinglist Archive: opensuse-packaging (250 mails)

< Previous Next >
[opensuse-packaging] Re: need help with bugzilla 3.4.1 .spec file
  • From: Philipp Thomas <pth@xxxxxxx>
  • Date: Thu, 20 Aug 2009 14:04:57 +0200
  • Message-id: <20090820120457.GL11418@xxxxxxxxxxxxxxxx>
* doiggl@xxxxxxxxxxxxxxxxxx (doiggl@xxxxxxxxxxxxxxxxxx) [20090820 03:14]:


For all entries in the %files section I'd recommed using rpm's variables in
the pathes which make it easier should either the prefix or the directories
change. Something like this:

%dir %{_datadir}/%{name}/extensions
%dir %{_datadir}/%{name}/lib
%dir %{_datadir}/%{name}/docs

Set to in %files section. Question: Is this the correct syntax to use ?

No, leave out %{buildroot}. Entries in the %files section always name the
position in the destination system.

3. What should be done with these entries as they are directories not owned
by a package ?
- /etc/httpd
- /etc/httpd/conf.d

4. How can this line be fixed, where should the file be moved to ?
bugzilla: "/etc/httpd/conf.d/bugzilla.conf" is not allowed anymore in SuSE

As the log tells you, /etc/httpd is not allowed anymore, use /etc/apache2.


Anything whose specification is too complicated to explain easily probably
needs to be redesigned.
-- David Abrahams on boost
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >