/[smecontribs]/rpms/smeserver-mailman/contribs10/smeserver-mailman.spec
ViewVC logotype

Diff of /rpms/smeserver-mailman/contribs10/smeserver-mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Mon Feb 22 17:02:30 2021 UTC Revision 1.3 by jpp, Mon Feb 22 17:16:35 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mailman.spec,v 1.1 2021/01/01 10:30:06 brianr Exp $  # $Id: smeserver-mailman.spec,v 1.2 2021/02/22 17:02:30 jpp Exp $
2  # Authority: gordonr  # Authority: gordonr
3  # Name: Gordon Rowell  # Name: Gordon Rowell
4    
# Line 342  rm -f e-smith-%{version}-filelist Line 342  rm -f e-smith-%{version}-filelist
342      --dir  '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \      --dir  '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \
343      $RPM_BUILD_ROOT > %{name}-%{version}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-filelist
344    
345  # SME8 build to avoid error  # SME10 to avoid error
346  #/usr/lib/rpm/brp-python-bytecompile  #/usr/lib/rpm/brp-python-bytecompile
347  #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc  # fix for unwanted listed compiled python files
348  #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo  # those pyc and pyo gets added by default by genfilelist, so need to filtering them out when we disable byte compile.
349  #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc  #"/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc"
350  #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo  #"/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo"
351  #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc  #/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc
 #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo  
 #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc  
 #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo  
 #rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc  
 #rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo  
 #rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc  
 #rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo  
   
 # fixe for unwanted listed compiled python files  
352  cat %{name}-%{version}-filelist |sed -r '/py[oc]"?$/d'>%{name}-%{version}-filelist.tmp  cat %{name}-%{version}-filelist |sed -r '/py[oc]"?$/d'>%{name}-%{version}-filelist.tmp
353  cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist  cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist
 #rm -rf %{name}-%{version}-filelist.tmp  
354    
355  %clean  %clean
356  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed