Changeset 1553
- Timestamp:
- 03/19/07 13:29:38
(2 years ago)
- Author:
- dsugar
- Message:
Now the build version is pulled directly from the feature version.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1552 |
r1553 |
|
| 2 | 2 | ExclusiveOS: linux |
|---|
| 3 | 3 | |
|---|
| 4 | | %define major 1 |
|---|
| 5 | | %define minor 2 |
|---|
| 6 | | %define micro 5 |
|---|
| 7 | 4 | %define eclipse_name eclipse |
|---|
| 8 | | %define version %{major}.%{minor}.%{micro} |
|---|
| 9 | 5 | %define eclipse_base %{_datadir}/%{eclipse_name} |
|---|
| 10 | 6 | %define eclipse_lib_base %{_libdir}/%{eclipse_name} |
|---|
| 11 | 7 | %define svnbase http://oss.tresys.com/repos/cdsframework/trunk/ |
|---|
| 12 | 8 | |
|---|
| | 9 | #get version numbers from eclipse plugin files |
|---|
| | 10 | %define version %(wget -q -O - %{svnbase}oss-feature/feature.xml | xpath /feature/@version 2> /dev/null | cut -d '"' -f 2) |
|---|
| 13 | 11 | %define plugin_ver %(wget -q -O - %{svnbase}framework-plugin/META-INF/MANIFEST.MF | grep Bundle-Version | cut -d : -f 2 | tr -d " ") |
|---|
| 14 | 12 | %define selinuxjava_ver %(wget -q -O - %{svnbase}libselinux.linux.%{arch}/META-INF/MANIFEST.MF | grep Bundle-Version | cut -d : -f 2 | tr -d " ") |
|---|
| … | … | |
| 35 | 33 | Name: CDSFramework |
|---|
| 36 | 34 | Version: %{version} |
|---|
| 37 | | Release: 2 |
|---|
| | 35 | Release: 1 |
|---|
| 38 | 36 | License: GPL2 |
|---|
| 39 | 37 | #BuildArch: noarch |
|---|
| … | … | |
| 54 | 52 | BuildRequires: libselinux >= 1.30 |
|---|
| 55 | 53 | BuildRequires: slide >= 1.1.6 |
|---|
| | 54 | BuildRequires: perl-XML-XPath |
|---|
| 56 | 55 | |
|---|
| 57 | 56 | BuildRoot: %{_tmppath}/%{name}-buildroot |
|---|
Download in other formats:
* Generating other formats may take time.