]> git.pld-linux.org Git - packages/astah-community.git/commitdiff
- bcond to build universal rpm-s (tested fc10) astah-6_3-1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 3 Dec 2010 13:38:46 +0000 (13:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    astah-community.spec -> 1.27

astah-community.spec

index 2e5515dcf5484bd60e2795f94b073b7f9763b00f..06d764b2f1ced5cb8694864cbded7ed0d2d1f544 100644 (file)
@@ -4,10 +4,11 @@
 #
 # Conditional build:
 %bcond_without javadoc         # don't build javadoc
+%bcond_without pld                     # don't include pld deps to build universal rpm
 
 %define                codename        community
 %define                ver             %(echo %{version} | tr . _)
-%include       /usr/lib/rpm/macros.java
+%{?with_pld:%include   /usr/lib/rpm/macros.java}
 Summary:       A New Java/UML Object-Oriented Design Tool
 Summary(pl.UTF-8):     Narzędzie wspomagające projektowanie oprogramowania w UML
 Name:          astah
@@ -30,7 +31,7 @@ BuildRequires:        rpmbuild(macros) >= 1.311
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): shared-mime-info
 BuildRequires: unzip
-Requires:      jre-X11
+%{?with_pld:Requires:  jre-X11}
 Obsoletes:     jude
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This page took 0.063856 seconds and 4 git commands to generate.