Updated spec and scripts for 1.2.8.a1 release.
This commit is contained in:
parent
46941ffb1a
commit
50e6b488f2
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
DATE=`date +%Y%m%d`
|
DATE=`date +%Y%m%d`
|
||||||
# use a real tag name here
|
# use a real tag name here
|
||||||
VERSION=1.2.7.5
|
VERSION=1.2.8
|
||||||
PKGNAME=389-ds-base
|
PKGNAME=389-ds-base
|
||||||
TAG=${TAG:-$PKGNAME-$VERSION}
|
TAG=${TAG:-$PKGNAME-$VERSION}
|
||||||
#SRCNAME=$PKGNAME-$VERSION-$DATE
|
#SRCNAME=$PKGNAME-$VERSION-$DATE
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
DATE=`date +%Y%m%d`
|
DATE=`date +%Y%m%d`
|
||||||
# use a real tag name here
|
# use a real tag name here
|
||||||
VERSION=1.2.7.5
|
VERSION=1.2.8
|
||||||
PKGNAME=389-ds-base
|
PKGNAME=389-ds-base
|
||||||
TAG=${TAG:-$PKGNAME-$VERSION}
|
TAG=${TAG:-$PKGNAME-$VERSION}
|
||||||
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
|
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
# for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
|
# for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
|
||||||
# also remove the space between % and global - this space is needed because
|
# also remove the space between % and global - this space is needed because
|
||||||
# fedpkg verrel stupidly ignores comment lines
|
# fedpkg verrel stupidly ignores comment lines
|
||||||
# % global prerel .a5
|
%global prerel .a1
|
||||||
# also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
|
# also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
|
||||||
# % global relprefix 0.
|
%global relprefix 0.
|
||||||
|
|
||||||
%global use_openldap 1
|
%global use_openldap 1
|
||||||
|
|
||||||
Summary: 389 Directory Server (base)
|
Summary: 389 Directory Server (base)
|
||||||
Name: 389-ds-base
|
Name: 389-ds-base
|
||||||
Version: 1.2.7.5
|
Version: 1.2.8
|
||||||
Release: %{?relprefix}1%{?prerel}%{?dist}
|
Release: %{?relprefix}1%{?prerel}%{?dist}
|
||||||
License: GPLv2 with exceptions
|
License: GPLv2 with exceptions
|
||||||
URL: http://port389.org/
|
URL: http://port389.org/
|
||||||
@ -75,7 +75,7 @@ Requires: db4-utils
|
|||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# This is for the fedora-ds -> 389 run level hack
|
# This is for the fedora-ds -> 389 run level hack
|
||||||
Requires(posttrans): /sbin/service
|
Requires(post): /sbin/service
|
||||||
|
|
||||||
# for the init script
|
# for the init script
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig
|
||||||
@ -95,6 +95,7 @@ the LDAP server and command line utilities for server administration.
|
|||||||
Summary: Development libraries for 389 Directory Server
|
Summary: Development libraries for 389 Directory Server
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
%if %{use_openldap}
|
%if %{use_openldap}
|
||||||
Requires: openldap-devel
|
Requires: openldap-devel
|
||||||
%else
|
%else
|
||||||
@ -134,7 +135,6 @@ make DESTDIR="$RPM_BUILD_ROOT" install
|
|||||||
mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
|
mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
|
mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
|
mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{pkgname}
|
|
||||||
|
|
||||||
#remove libtool and static libs
|
#remove libtool and static libs
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.a
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.a
|
||||||
@ -142,10 +142,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.la
|
|||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.a
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.a
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.la
|
||||||
|
|
||||||
install -p -m 644 ldap/servers/slapd/slapi-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
|
|
||||||
install -p -m 644 ldap/servers/plugins/replication/winsync-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
|
|
||||||
install -p -m 644 ldap/servers/plugins/replication/repl-session-plugin.h $RPM_BUILD_ROOT%{_includedir}/%{pkgname}/
|
|
||||||
|
|
||||||
# make sure perl scripts have a proper shebang
|
# make sure perl scripts have a proper shebang
|
||||||
sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/script-templates/template-*.pl
|
sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/script-templates/template-*.pl
|
||||||
|
|
||||||
@ -297,8 +293,13 @@ end
|
|||||||
%doc LICENSE EXCEPTION LICENSE.GPLv2 README.devel
|
%doc LICENSE EXCEPTION LICENSE.GPLv2 README.devel
|
||||||
%{_includedir}/%{pkgname}
|
%{_includedir}/%{pkgname}
|
||||||
%{_libdir}/%{pkgname}/*.so
|
%{_libdir}/%{pkgname}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 21 2011 Nathan Kinder <nkinder@redhat.com> - 1.2.8-0.1.a1
|
||||||
|
- 1.2.8-0.1.a1 release
|
||||||
|
- many bug fixes
|
||||||
|
|
||||||
* Thu Dec 16 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.7.5-1
|
* Thu Dec 16 2010 Rich Megginson <rmeggins@redhat.com> - 1.2.7.5-1
|
||||||
- 1.2.7.5 release - git tag 389-ds-base-1.2.7.5
|
- 1.2.7.5 release - git tag 389-ds-base-1.2.7.5
|
||||||
- Bug 663597 - Memory leaks in normalization code
|
- Bug 663597 - Memory leaks in normalization code
|
||||||
|
Loading…
Reference in New Issue
Block a user