[mingw-portablexdr: 9/10] Modernize the spec file
Kalev Lember
kalev at fedoraproject.org
Wed Mar 7 16:50:19 UTC 2012
commit 783faf5d8143e628249851b61b1d1312bc0708f1
Author: Kalev Lember <kalevlember at gmail.com>
Date: Wed Mar 7 18:48:28 2012 +0200
Modernize the spec file
mingw-portablexdr.spec | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/mingw-portablexdr.spec b/mingw-portablexdr.spec
index 0883c16..130118f 100644
--- a/mingw-portablexdr.spec
+++ b/mingw-portablexdr.spec
@@ -1,8 +1,5 @@
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
-%define _use_internal_dependency_generator 0
-%define __find_requires %{_mingw32_findrequires}
-%define __find_provides %{_mingw32_findprovides}
Name: mingw-portablexdr
Version: 4.9.1
@@ -13,10 +10,9 @@ License: LGPLv2+
Group: Development/Libraries
URL: http://et.redhat.com/~rjones/portablexdr/
Source0: http://et.redhat.com/~rjones/portablexdr/portablexdr-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 56
+BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
@@ -46,16 +42,10 @@ make %{?_smp_flags}
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files -n mingw32-portablexdr
-%defattr(-,root,root)
%doc COPYING.LIB
%{_mingw32_bindir}/portable-rpcgen.exe
%{_mingw32_bindir}/libportablexdr-0.dll
@@ -67,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 4.9.1-6
- Renamed the source package to mingw-portablexdr (#801016)
+- Modernize the spec file
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 4.9.1-5
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list