[halberd] * Mon Jan 07 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.2.4-6 - Minor changes to match updat

Fabian Affolter fab at fedoraproject.org
Mon Jan 7 19:52:19 UTC 2013


commit 1209a97ee0a979205d14ab2a22ff3d4abac86f0e
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Mon Jan 7 20:52:05 2013 +0100

    * Mon Jan 07 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.2.4-6
    - Minor changes to match updated guidelines

 halberd.spec |   21 ++++-----------------
 1 files changed, 4 insertions(+), 17 deletions(-)
---
diff --git a/halberd.spec b/halberd.spec
index 9d7ba19..bc0af8e 100644
--- a/halberd.spec
+++ b/halberd.spec
@@ -1,10 +1,6 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-
 Name:           halberd
 Version:        0.2.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Tool to discover HTTP load balancers
 
 Group:          Applications/Internet
@@ -12,12 +8,10 @@ License:        GPLv2+
 URL:            http://halberd.superadditive.com
 Source0:        http://halberd.superadditive.com/dist/%{name}-%{version}.tar.gz
 Patch0:         %{name}-sslwrap.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
 
-
 %description
 Halberd discovers HTTP load balancers. It is useful for web application
 security auditing and for load balancer configuration testing.
@@ -26,28 +20,18 @@ security auditing and for load balancer configuration testing.
 %setup -q
 %patch0 -p1 -b .sslwrap
 
-
 %build
 %{__python} setup.py build
 
-
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 mkdir -p %{buildroot}%{_mandir}/man1
 mv %{buildroot}/usr/man/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
- 
-%clean
-rm -rf %{buildroot}
-
-
 %check
 %{__python} setup.py test
 
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog LICENSE README THANKS
 %{_mandir}/man*/*.*
 %{_bindir}/%{name}
@@ -56,6 +40,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jan 07 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.2.4-6
+- Minor changes to match updated guidelines
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list