Changeset 616


Ignore:
Timestamp:
11/21/08 01:21:12 (5 years ago)
Author:
bruno
Message:
  • Fix spec file for fossology to allow rpm generation on mdv 2008.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/fossology/pbconf/trunk/fossology/rpm/fossology.spec

    r610 r616  
    22# $Id$ 
    33# 
    4 # Used if virtual name != real name (perl, ...) 
    5 #%define srcname    PBPKG 
    64 
    75Name:           PBREALPKG 
     
    1513BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 
    1614Requires:       postgresql php php-pear php-pgsql libxml2 binutils bzip2 cpio mkisofs poppler-utils rpm tar unzip gzip httpd PBDEP 
    17 BuildRequires:  postgresql-devel libxml2 gcc make perl PBBUILDDEP 
     15BuildRequires:  postgresql-devel libxml2 gcc make perl PBBUILDDEP 
    1816Summary:        FOSSology is a licenses exploration tool 
    1917Summary(fr):    FOSSology est un outil d'exploration de licenses 
     
    6159EOF 
    6260 
     61rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/default/PBPROJ 
     62 
    6363%clean 
    6464%{__rm} -rf $RPM_BUILD_ROOT 
     
    6969%doc COPYING COPYING.LGPL HACKING README INSTALL INSTALL.multi LICENSE  
    7070#AUTHORS NEWS 
    71 %dir %{_datadir}/* 
    72 %dir %{_localstatedir}/PBPROJ 
    73 %dir %{_libdir}/PBPROJ 
     71%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf 
     72%config(noreplace) %{_sysconfdir}/cron.d/* 
     73%config(noreplace) %{_sysconfdir}/PBPROJ/* 
    7474%dir %{_sysconfdir}/PBPROJ 
     75%dir %{_usr}/lib/PBPROJ 
    7576%dir %{_datadir}/PBPROJ 
    76 %{_sysconfdir}/PBPROJ/* 
     77%{_sysconfdir}/init.d/* 
    7778%{_usr}/lib/PBPROJ/* 
    78 %{_localstatedir}/PBPROJ/* 
    7979%{_datadir}/PBPROJ/* 
    80 %{_sysconfdir}/httpd/conf.d/*.conf 
    81 %{_sysconfdir}/cron.d/* 
    82 %{_sysconfdir}/init.d/* 
    8380%{_bindir}/* 
    8481%{_mandir}/man1/* 
Note: See TracChangeset for help on using the changeset viewer.