diff options
author | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-01-21 01:58:19 +0000 |
---|---|---|
committer | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-01-21 01:58:19 +0000 |
commit | 832d7197cb13a0b7da6657f6be65383112052829 (patch) | |
tree | aed7bcc157804df17a2d93004c4861f0925fc2aa | |
parent | 66e2d3bd0be0bcf843bd98df3c44e24c30bfc943 (diff) | |
download | pki-832d7197cb13a0b7da6657f6be65383112052829.tar.gz pki-832d7197cb13a0b7da6657f6be65383112052829.tar.xz pki-832d7197cb13a0b7da6657f6be65383112052829.zip |
Bugzilla Bug #480679 - integrate latest selinux code with the rest of the build
infrastructure.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@179 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-rw-r--r-- | pki/dogtag/selinux/pki-selinux.spec | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/pki/dogtag/selinux/pki-selinux.spec b/pki/dogtag/selinux/pki-selinux.spec index 97968e90f..6109cb058 100644 --- a/pki/dogtag/selinux/pki-selinux.spec +++ b/pki/dogtag/selinux/pki-selinux.spec @@ -33,7 +33,7 @@ ## Package Header Definitions %define base_name %{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 1 +%define base_release 2 %define base_group System Environment/Shells %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -142,7 +142,7 @@ Selinux policies for the Pubic Key Infrastructure (PKI) components. %prep -%setup -q +%setup -q -n %{base_name}-%{base_version} ## This package currently contains no patches! @@ -156,7 +156,8 @@ Selinux policies for the Pubic Key Infrastructure (PKI) components. ############################################################################### %build -ant -Dspecfile=%{base_name}.spec +cd src +make @@ -165,8 +166,11 @@ ant -Dspecfile=%{base_name}.spec ############################################################################### %install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/doc/%{base_name}-%{base_version} +cp -p LICENSE ${RPM_BUILD_ROOT}%{_datadir}/doc/%{base_name}-%{base_version} +mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/selinux/targeted +cp -p src/pki.pp ${RPM_BUILD_ROOT}%{_datadir}/selinux/targeted @@ -224,7 +228,8 @@ fi ############################################################################### %files -%{_usr}/share/selinux/targeted/pki.pp +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/selinux/targeted/pki.pp @@ -233,7 +238,10 @@ fi ############################################################################### %changelog -* Mon Jan 16 2009 Ade Lee <alee@redhat.com> 1.0.0-1 -- Initial release +* Tue Jan 20 2009 Matthew Harmsen <mharmsen@redhat.com> 1.0.0-2 +- Bugzilla Bug #480679 - integrate latest selinux code with the rest + of the build infrastructure +* Mon Jan 19 2009 Ade Lee <alee@redhat.com> 1.0.0-1 +- Initial release |