[mono-bouncycastle] Cleaned up the spec file for modern rpmbuild
Kalev Lember
kalev at fedoraproject.org
Sat Jun 25 22:07:48 UTC 2011
commit c8bfb657df05a9eae891bcbb4eab91845c4acacf
Author: Kalev Lember <kalev at smartlink.ee>
Date: Sun Jun 26 00:58:03 2011 +0300
Cleaned up the spec file for modern rpmbuild
mono-bouncycastle.spec | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/mono-bouncycastle.spec b/mono-bouncycastle.spec
index 64aa270..ce44565 100644
--- a/mono-bouncycastle.spec
+++ b/mono-bouncycastle.spec
@@ -11,7 +11,6 @@ Group: System Environment/Libraries
License: MIT and ASL 2.0
URL: http://www.bouncycastle.org/csharp/
Source0: http://www.bouncycastle.org/csharp/download/bccrypto-net-%{version}-src.zip
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: mono-devel, nant
BuildRequires: unzip
@@ -41,15 +40,10 @@ nant -D:use-strong-name=true compile-release
popd
%install
-rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mono/gac/
gacutil -i crypto/api/bin/release/BouncyCastle.Crypto.dll -f -package bouncycastle -root $RPM_BUILD_ROOT%{_libdir}
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc crypto/Contributors.html
%doc crypto/License.html
%doc crypto/Readme.html
@@ -59,6 +53,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Jun 26 2011 Kalev Lember <kalev at smartlink.ee> - 1.7-1
- Update to 1.7
+- Cleaned up the spec file for modern rpmbuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list