Fix source URL to be stable
This commit is contained in:
parent
1eedb2111d
commit
4db9460305
@ -34,14 +34,12 @@
|
|||||||
|
|
||||||
Name: %{parent}-%{subname}
|
Name: %{parent}-%{subname}
|
||||||
Version: 2.4
|
Version: 2.4
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Plexus Classworlds Classloader Framework
|
Summary: Plexus Classworlds Classloader Framework
|
||||||
License: ASL 2.0 and Plexus
|
License: ASL 2.0 and Plexus
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://plexus.codehaus.org/
|
URL: http://plexus.codehaus.org/
|
||||||
# git clone git://github.com/sonatype/plexus-classworlds.git
|
Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz
|
||||||
# git archive --prefix="plexus-classworlds/" --format=tar plexus-classworlds-2.4 > plexus-classworlds-2.4.tar.gz
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -84,7 +82,7 @@ Requires: jpackage-utils
|
|||||||
API documentation for %{name}.
|
API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
for j in $(find . -name "*.jar" | grep -v /test-data/ | grep -v /test-jars/); do
|
for j in $(find . -name "*.jar" | grep -v /test-data/ | grep -v /test-jars/); do
|
||||||
rm $j
|
rm $j
|
||||||
done
|
done
|
||||||
@ -134,6 +132,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-8
|
||||||
|
- Fix source URL to be stable
|
||||||
|
|
||||||
* Tue Aug 7 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-7
|
* Tue Aug 7 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-7
|
||||||
- Export only proper OSGI packages
|
- Export only proper OSGI packages
|
||||||
- Do not generate "uses" OSGI clauses
|
- Do not generate "uses" OSGI clauses
|
||||||
|
Loading…
Reference in New Issue
Block a user