Hello community,

here is the log from the commit of package mono-nat for openSUSE:Factory 
checked in at 2015-02-11 16:46:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mono-nat (Old)
 and      /work/SRC/openSUSE:Factory/.mono-nat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mono-nat"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mono-nat/mono-nat.changes        2012-09-11 
09:12:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mono-nat.new/mono-nat.changes   2015-02-11 
16:46:20.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Feb  1 15:53:33 UTC 2015 - [email protected]
+
+- use en.opensuse.org/SourceUrls
+- make this a noarch package to silence rpmlint
+- adhere to the Mono packaging guidelines
+- automatic spec file cleanup
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mono-nat.spec ++++++
--- /var/tmp/diff_new_pack.7n0dOv/_old  2015-02-11 16:46:21.000000000 +0100
+++ /var/tmp/diff_new_pack.7n0dOv/_new  2015-02-11 16:46:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package mono-nat (Version 1.0.2)
+# spec file for package mono-nat
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,17 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           mono-nat
 Version:        1.1.0
-Release:        1
-License:        MIT
+Release:        0
 Summary:        A .NET library for automatic port forwarding
+License:        MIT
 Group:          Development/Languages/Mono
 Url:            http://projects.qnetp.net/projects/show/mono-nat
-Source0:        %{name}-%{version}.tar.gz
+Source:         
http://projects.qnetp.net/attachments/download/76/%{name}-%{version}.tar.gz
+BuildArch:      noarch
 BuildRequires:  mono-core
 BuildRequires:  mono-data
 BuildRequires:  mono-devel
@@ -33,11 +32,9 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %package devel
-License:        MIT
 Summary:        A .NET library for automatic port forwarding
 Group:          Development/Languages/Mono
 Requires:       %{name} = %{version}
-# NOTE: Ignore RPMLINT no-binary warning
 
 %description
 A .NET library for automatic port forwarding using either uPnP or nat-pmp
@@ -49,21 +46,21 @@
 %setup -q
 
 %build
-%configure
-%__make
+./configure --libdir=%{_prefix}/lib
+make
 
 %install
-%__make install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot}
 
-%clean
-%__rm -rf "%{buildroot}"
+mkdir -p %{buildroot}%{_datadir}/pkgconfig/
+mv %{buildroot}%{_prefix}/lib/pkgconfig/mono.nat.pc 
%{buildroot}%{_datadir}/pkgconfig/mono.nat.pc
 
 %files
 %defattr(-,root,root)
-%{_libdir}/mono-nat
+%{_prefix}/lib/mono-nat
 
 %files devel
 %defattr(-,root,root)
-%{_libdir}/pkgconfig/mono.nat.pc
+%{_datadir}/pkgconfig/mono.nat.pc
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to