- Update to upstream 2.9.1.

- Fix merge review comments rhbz #225942.
This commit is contained in:
Alexander Kurtakov 2010-01-09 08:51:10 +00:00
parent f8c40ce121
commit 4d80a59b8c
2 changed files with 20 additions and 17 deletions

View File

@ -28,15 +28,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
Name: jdepend Name: jdepend
Version: 2.9 Version: 2.9.1
Release: 1%{?dist} Release: 1%{?dist}
Epoch: 0 Epoch: 0
Summary: Java Design Quality Metrics Summary: Java Design Quality Metrics
License: BSD License: BSD
URL: http://www.clarkware.com/ URL: http://www.clarkware.com/
Group: Development/Libraries/Java Group: Development/Libraries
Source0: %{url}software/%{name}-%{version}.zip #Downloaded from http://github.com/clarkware/jdepend/tarball/2.9.1
Source0: clarkware-jdepend-5798059.tar.gz
BuildRequires: ant BuildRequires: ant
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@ -49,26 +50,23 @@ extensibility, reusability, and maintainability to effectively manage
and control package dependencies. and control package dependencies.
%package javadoc %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Group: Development/Documentation Group: Documentation
# for /bin/rm and /bin/ln Requires: %{name} = %{version}-%{release}
Requires(post): coreutils
Requires(postun): coreutils
%description javadoc %description javadoc
Javadoc for %{name}. Javadoc for %{name}.
%package demo %package demo
Summary: Demos for %{name} Summary: Demos for %{name}
Group: Development/Libraries/Java Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description demo %description demo
Demonstrations and samples for %{name}. Demonstrations and samples for %{name}.
%prep %prep
rm -rf $RPM_BUILD_ROOT %setup -q -n clarkware-jdepend-5798059
%setup -q
# remove all binary libs # remove all binary libs
find . -name "*.jar" -exec rm -f {} \; find . -name "*.jar" -exec rm -f {} \;
# fix strange permissions # fix strange permissions
@ -78,6 +76,7 @@ find . -type d -exec chmod 755 {} \;
ant jar javadoc ant jar javadoc
%install %install
rm -rf $RPM_BUILD_ROOT
# jars # jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@ -107,6 +106,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.9.1-1
- Update to upstream 2.9.1.
- Fix merge review comments rhbz #225942.
* Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.9-1 * Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.9-1
- Update to upstream 2.9. - Update to upstream 2.9.
- Drop gcj support. - Drop gcj support.

View File

@ -1 +1 @@
4e979c0dda766ba1dd719905ca975c7b jdepend-2.9.zip 4ca18dac911aa1342a2a26f6ae34fcc5 clarkware-jdepend-5798059.tar.gz