Merge pull request #1512 from ertugerata/master

for fix build
This commit is contained in:
Ertuğrul Erata
2016-04-01 20:26:52 +03:00
2 changed files with 8 additions and 7 deletions
+5 -5
View File
@@ -12,23 +12,23 @@ from pisi.actionsapi import get
def setup():
shelltools.export("CFLAGS", "%s -fPIC -fno-strict-aliasing -fPIE -DPIE " % get.CFLAGS())
shelltools.export("LDFLAGS", "%s -pie -Wl,-z,now" % get.LDFLAGS())
autotools.autoreconf("-fi")
autotools.configure("--disable-static \
--disable-dependency-tracking \
--disable-rpath \
--localstatedir=/var \
--enable-slpv1 \
--enable-slpv2-security")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("all docs")
autotools.make()
def install():
autotools.install()
pisitools.dohtml("doc/doc/html/*")
pisitools.dodoc("AUTHORS", "FAQ", "ChangeLog", "NEWS", "README", "THANKS")
+3 -2
View File
@@ -18,14 +18,15 @@
<Dependency>zlib-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>doxygen</Dependency>
</BuildDependencies>
<Dependency>docbook-xsl</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>openslp</Name>
<RuntimeDependencies>
<Dependency>openssl</Dependency>
</RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/slp.conf</Path>
<Path fileType="executable">/usr/bin</Path>