]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
libselinux: Create package for python-bindings.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 28 Nov 2011 21:29:41 +0000 (22:29 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 24 Mar 2012 07:34:10 +0000 (08:34 +0100)
Conflicts:

libselinux/libselinux.nm

libselinux/libselinux.nm

index 08af1b1b0995334068b77345e2eb409d85dee97c..52b4dc936587033f66d219a2486e269b0c687583 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = libselinux
 version    = 2.1.7
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.selinuxproject.org
@@ -57,16 +57,12 @@ build
 
                # Move binaries from /sbin to /usr/sbin
                mv %{BUILDROOT}/sbin/* %{BUILDROOT}/usr/sbin
-
-               # Remove python module
-               rm -rvf %{BUILDROOT}/usr/lib/python*
        end
 end
 
 packages
        package %{name}
-       end
-
+       
        package %{name}-devel
                template DEVEL
        end
@@ -83,18 +79,16 @@ packages
                end
        end
 
-       #package python-selinux
-       #       summary =  SELinux python bindings.
-       #       description = SELinux python bindings for libselinux.
-       #
-       #       def files
-       #               /usr/lib/python*
-       #       end
-       #end
-
-
-
        package %{name}-debuginfo
                template DEBUGINFO
        end
+       
+       package python-selinux
+               summary =  SELinux python bindings.
+               description = SELinux python bindings for libselinux.
+       
+               def files
+                       /usr/lib/python*
+               end
+       end
 end