rpms/mantis/FC-5 .cvsignore, 1.4, 1.5 mantis-httpd.conf, 1.1, 1.2 mantis.spec, 1.15, 1.16 sources, 1.10, 1.11 mantis-1.0.6-private_history.patch, 1.1, NONE

Gianluca Sforna (giallu) fedora-extras-commits at redhat.com
Thu Apr 5 10:44:33 UTC 2007


Author: giallu

Update of /cvs/extras/rpms/mantis/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31421

Modified Files:
	.cvsignore mantis-httpd.conf mantis.spec sources 
Removed Files:
	mantis-1.0.6-private_history.patch 
Log Message:
* Thu Apr  5 2007 Gianluca Sforna <giallu gmail com> - 1.0.7-1
- new upstream release
- drop upstreamed patch
- fix (most) rpmlint issues
- tweak Source0 URL
- remove config_inc.php symlink (config is now found via the MANTIS_CONFIG 
  environment variable)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mantis/FC-5/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	2 Nov 2006 22:32:35 -0000	1.4
+++ .cvsignore	5 Apr 2007 10:43:59 -0000	1.5
@@ -1 +1 @@
-mantis-1.0.6.tar.gz
+mantis-1.0.7.tar.gz


Index: mantis-httpd.conf
===================================================================
RCS file: /cvs/extras/rpms/mantis/FC-5/mantis-httpd.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mantis-httpd.conf	8 Nov 2004 04:50:58 -0000	1.1
+++ mantis-httpd.conf	5 Apr 2007 10:43:59 -0000	1.2
@@ -1,3 +1,5 @@
+SetEnv MANTIS_CONFIG /etc/mantis/config_inc.php
+
 Alias /mantis		/usr/share/mantis
 
 <Directory /usr/share/mantis>


Index: mantis.spec
===================================================================
RCS file: /cvs/extras/rpms/mantis/FC-5/mantis.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mantis.spec	10 Jan 2007 17:16:22 -0000	1.15
+++ mantis.spec	5 Apr 2007 10:43:59 -0000	1.16
@@ -6,19 +6,18 @@
 
 Summary:    Web-based bugtracking system
 Name:       mantis
-Version:    1.0.6
-Release:    2%{dist}
+Version:    1.0.7
+Release:    1%{?dist}
 License:    GPL
 Group:      Applications/Internet
 URL:        http://www.mantisbt.org/
 BuildArch:  noarch
-Source0:    http://download.sourceforge.net/sourceforge/mantisbt/%{name}-%{version}.tar.gz
+Source0:    http://downloads.sourceforge.net/mantisbt/%{name}-%{version}.tar.gz
 Source1:    mantis-README.Fedora
 
 Patch0:     mantis-1.0.0a3-iis.patch
 Patch1:     mantis-0.19.2-noexamplecom.patch
 Patch2:     mantis-1.0.0rc2-noadmin.patch
-Patch3:     mantis-1.0.6-private_history.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: diffutils
@@ -52,14 +51,13 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .iis
-%patch1 -p1 -b .noexamplecom
-%patch2 -p1 -b .noadmin
-%patch3 -p0 -b .privatenotes
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 cp %{SOURCE1} ./README.Fedora
 
-chmod -x *.php
+chmod -x *.php *.sample
 rm -rf packages
 
 
@@ -70,13 +68,13 @@
 rm -rf "${RPM_BUILD_ROOT}"
 
 %{__install} -d -m755 ${RPM_BUILD_ROOT}%{pkgdir}
-%{__install} -d -m750 ${RPM_BUILD_ROOT}%{cfgdir}
+%{__install} -d -m755 ${RPM_BUILD_ROOT}%{cfgdir}
 
 tar cf - . | tar xf - -C ${RPM_BUILD_ROOT}%{pkgdir}
 
 
 find ${RPM_BUILD_ROOT} \( \
-    -name '*.noexamplecom' -o -name '*.iis' -o -name '*.noadmin' -o -name '*.#.*' -o \
+    -name '*.orig' -o -name '*.#.*' -o \
     -name '.cvsignore' \
     \) -print0 | xargs -0 rm -f
 
@@ -99,9 +97,10 @@
     esac
 done
 
+chmod -x doc/* 
 chmod -x ${RPM_BUILD_ROOT}%{pkgdir}/{doc/*,core/phpmailer/{README,LICENSE}}
 
-ln -s %{cfgdir}/config_inc.php     ${RPM_BUILD_ROOT}%{pkgdir}/config_inc.php
+# Dangling symlink: when /etc/mantis/mantis_offline.php is present mantis is put offline
 ln -s %{cfgdir}/mantis_offline.php ${RPM_BUILD_ROOT}%{pkgdir}/mantis_offline.php
 
 
@@ -132,8 +131,9 @@
 %files
 %defattr(-,root,root,-)
 %{pkgdir}
-%attr(-,root,apache) %dir %{cfgdir}
-%attr(0640,root,apache) %config(noreplace) %{cfgdir}/*
+%exclude %{pkgdir}/core/adodb/adodb-time.zip
+%dir %{cfgdir}
+%config(noreplace) %{cfgdir}/*
 %doc doc/{LICENSE,ChangeLog,CREDITS,CUSTOMIZATION} README.Fedora
 
 %files config-httpd
@@ -142,6 +142,14 @@
 
 
 %changelog
+* Thu Apr  5 2007 Gianluca Sforna <giallu gmail com> - 1.0.7-1
+- new upstream release
+- drop upstreamed patch
+- fix (most) rpmlint issues
+- tweak Source0 URL
+- remove config_inc.php symlink (config is now found via the MANTIS_CONFIG 
+  environment variable)
+
 * Wed Jan 10 2007 Gianluca Sforna <giallu gmail com> - 1.0.6-2
 - Add some docs
 - Add patch for BZ #219937


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mantis/FC-5/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	2 Nov 2006 22:32:35 -0000	1.10
+++ sources	5 Apr 2007 10:43:59 -0000	1.11
@@ -1 +1 @@
-64af171288bad777d6a1bba493e4a88b  mantis-1.0.6.tar.gz
+242f127edfc487889c9089d6b0fbf737  mantis-1.0.7.tar.gz


--- mantis-1.0.6-private_history.patch DELETED ---




More information about the fedora-extras-commits mailing list