[eclipse-mpc] Use upstream sources.

Alexander Kurtakov akurtakov at fedoraproject.org
Tue Jul 12 21:42:37 UTC 2011


commit af53fc5bc84f800c85ab28f39bbb4095fe58ea01
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Wed Jul 13 00:42:11 2011 +0300

    Use upstream sources.
    
    Adapt to current guidelines.

 .gitignore               |    1 +
 eclipse-mpc-fetch-src.sh |   27 ---------------------------
 eclipse-mpc.spec         |   16 +++++++---------
 sources                  |    2 +-
 4 files changed, 9 insertions(+), 37 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f5d74bb..1562b9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /eclipse-mpc-fetched-src-*.tar.xz
+R_1_1_0.tar.bz2
diff --git a/eclipse-mpc.spec b/eclipse-mpc.spec
index 4a16ba2..6c8d0eb 100644
--- a/eclipse-mpc.spec
+++ b/eclipse-mpc.spec
@@ -4,15 +4,13 @@
 
 Name:           eclipse-mpc
 Version:        1.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Eclipse Marketplace Client
 
 Group:          Development/Tools
 License:        EPL
 URL:            http://www.eclipse.org/mpc/
-Source0:        %{name}-fetched-src-%{src_repo_tag}.tar.xz
-Source1:        %{name}-fetch-src.sh
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://git.eclipse.org/c/mpc/org.eclipse.epp.mpc.git/snapshot/R_1_1_0.tar.bz2
 
 BuildArch: noarch
 
@@ -25,7 +23,7 @@ Requires: eclipse-p2-discovery >= 1.0.0
 The Eclipse Marketplace Client provides access to extension catalogs.
 
 %prep
-%setup -q -c
+%setup -q -n R_1_1_0
 
 %{__chmod} a-x org.eclipse.epp.mpc.feature/license.html
 
@@ -33,22 +31,22 @@ The Eclipse Marketplace Client provides access to extension catalogs.
 %{eclipse_base}/buildscripts/pdebuild -f org.eclipse.epp.mpc -d discovery
 
 %install
-%{__rm} -rf %{buildroot}
 install -d -m 755 %{buildroot}%{install_loc}
 
 %{__unzip} -q -d %{buildroot}%{install_loc} \
      build/rpmBuild/org.eclipse.epp.mpc.zip 
 
-%clean
-%{__rm} -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %{install_loc}
 %doc org.eclipse.epp.mpc.feature/epl-v10.html
 %doc org.eclipse.epp.mpc.feature/license.html
 
 %changelog
+* Wed Jul 13 2011 Alexander Kurtakov <akurtako at redhat.com> 1.1.0-2
+- Use upstream sources.
+- Adapt to current guidelines.
+
 * Thu Jun 02 2011 Chris Aniszczyk <zx at redhat.com> 1.1.0-1
 - Updating to the 1.1.0 release
 
diff --git a/sources b/sources
index a5474a7..e38501b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-119fe61c5e21a21cb6ec554abe928d5b  eclipse-mpc-fetched-src-R_1_1_0.tar.xz
+64cef48e18bc7bed824121dbd7202ac8  R_1_1_0.tar.bz2


More information about the scm-commits mailing list