]> git.pld-linux.org Git - packages/Zope-Hotfix.git/commitdiff
- added security hotfix 050405 auto/ac/Zope-Hotfix-050405-1
authorciesiel <ciesiel@pld-linux.org>
Wed, 6 Apr 2005 11:29:09 +0000 (11:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-Hotfix.spec -> 1.1

Zope-Hotfix.spec [new file with mode: 0644]

diff --git a/Zope-Hotfix.spec b/Zope-Hotfix.spec
new file mode 100644 (file)
index 0000000..6ef6212
--- /dev/null
@@ -0,0 +1,63 @@
+%define        zope_subname    Hotfix
+Summary:       This hotfix product fixes a security bug in Page Templates on Zope
+Summary(pl):   Ta poprawka naprawia b³êdy bezpieczeñstwa w szablonach stron Zope
+Name:          Zope-%{zope_subname}
+Version:       050405
+Release:       1
+License:       ZPL 2.1
+Group:         Development/Tools
+Source0:       http://zope.org/Products/Zope/Hotfix-2005-04-05/%{zope_subname}-20050405/%{zope_subname}_20%{version}.tar.gz
+# Source0-md5: c91c6fa42bfcfed24826d0cd4d69419b
+URL:           http://www.zope.org/Products/Zope/Hotfix-2005-04-05/announce-Hotfix_20050405/
+BuildRequires: python
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires(post,postun): /usr/sbin/installzopeproduct
+Obsoletes:     Zope-Hotfix = 040713
+Obsoletes:     Zope-Hotfix = 040714
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This hotfix product fixes a security bug on Zope.
+
+%description -l pl
+Ta poprawka naprawia b³êdy bezpieczeñstwa w Zope.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af %{zope_subname}_20050405/* $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/LICENSE.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ "$1" = "0" ]; then
+       /usr/sbin/installzopeproduct -d %{zope_subname}
+       if [ -f /var/lock/subsys/zope ]; then
+               /etc/rc.d/init.d/zope restart >&2
+       fi
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{zope_subname}_20050405/README.txt
+%{_datadir}/%{name}
This page took 0.055549 seconds and 4 git commands to generate.