From 6bb7d97b28407bd3b0cf50e7ef00e98f7bd42386 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 18 May 2015 03:57:49 +0200 Subject: [PATCH] Cleanup package --- plexus-cipher.spec | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/plexus-cipher.spec b/plexus-cipher.spec index f96ba66..6b640cc 100644 --- a/plexus-cipher.spec +++ b/plexus-cipher.spec @@ -1,42 +1,24 @@ Name: plexus-cipher Version: 1.7 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Plexus Cipher: encryption/decryption Component - License: ASL 2.0 # project moved to GitHub and it looks like there is no official website anymore URL: https://github.com/codehaus-plexus/plexus-cipher +BuildArch: noarch + # git clone https://github.com/sonatype/plexus-cipher.git # cd plexus-cipher/ # note this is version 1.7 + our patches which were incorporated by upstream maintainer # git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz Source0: %{name}-%{version}.tar.gz -BuildArch: noarch - -BuildRequires: java-devel >= 1:1.6.0 -BuildRequires: maven-local -BuildRequires: maven-plugin-plugin -BuildRequires: maven-compiler-plugin -BuildRequires: maven-install-plugin -BuildRequires: maven-jar-plugin -BuildRequires: maven-javadoc-plugin -BuildRequires: maven-resources-plugin -BuildRequires: maven-surefire-plugin -BuildRequires: maven-surefire-provider-junit -BuildRequires: maven-doxia-sitetools -BuildRequires: forge-parent -BuildRequires: spice-parent -BuildRequires: plexus-containers-component-metadata -BuildRequires: junit -BuildRequires: maven-shared-reporting-impl -BuildRequires: plexus-digest -BuildRequires: sisu-mojos -# needed instead of sisu-inject-bean -BuildRequires: atinject -BuildRequires: cdi-api1 - - +BuildRequires: maven-local +BuildRequires: mvn(javax.enterprise:cdi-api) +BuildRequires: mvn(javax.inject:javax.inject) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.sonatype.plugins:sisu-maven-plugin) +BuildRequires: mvn(org.sonatype.spice:spice-parent:pom:) %description Plexus Cipher: encryption/decryption Component @@ -47,7 +29,6 @@ Summary: Javadoc for %{name} %description javadoc API documentation for %{name}. - %prep %setup -q @@ -76,6 +57,9 @@ API documentation for %{name}. %doc LICENSE.txt NOTICE.txt %changelog +* Tue Apr 14 2015 Mikolaj Izdebski - 1.7-9 +- Cleanup package + * Wed Apr 1 2015 Mikolaj Izdebski - 1.7-8 - Update upstream URL