diff --git a/win/mingw32/_service b/win/mingw32/_service
new file mode 100644
index 0000000..9ecda6f
--- /dev/null
+++ b/win/mingw32/_service
@@ -0,0 +1,27 @@
+
+
+
+
+ enable
+ disable
+ @PARENT_TAG@
+ http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git
+ git
+
+
+
+
+
+
+ *.tar
+ xz
+
+
+
+
+
+
diff --git a/win/mingw32/_service.xml b/win/mingw32/_service.xml
deleted file mode 100644
index 6613752..0000000
--- a/win/mingw32/_service.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
- enable
- disable
- %ct
-
- http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git
- git
- mingw32-libv3270-5_2
-
-
-
-
- *.tar
- */win/mingw32-libv3270.spec
- mingw32-libv3270-5_2.spec
-
-
-
- *.tar
- xz
-
-
-
-
-
-
diff --git a/win/mingw32/libv3270.spec b/win/mingw32/libv3270.spec
index 5928d5a..dd2492d 100644
--- a/win/mingw32/libv3270.spec
+++ b/win/mingw32/libv3270.spec
@@ -37,15 +37,15 @@ Version: 5.2
Release: 0
License: GPL-2.0
-Source: %{name}-%{version}.tar.xz
+Source: libv3270-%{version}.tar.xz
-Url: https://portal.softwarepublico.gov.br/social/pw3270/
+Url: https://portal.softwarepublico.gov.br/social/pw3270/
-Group: Development/Libraries/C and C++
-BuildRoot: /var/tmp/%{name}-%{version}
+Group: Development/Libraries/C and C++
+BuildRoot: /var/tmp/%{name}-%{version}
-Provides: mingw32-libv3270
-Conflicts: otherproviders(mingw32-libv3270)
+Provides: mingw32-libv3270
+Conflicts: otherproviders(mingw32-libv3270)
Provides: mingw32(lib:v3270)
Provides: mingw32(lib:v3270-%{_libvrs})
@@ -119,7 +119,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
#---[ Build & Install ]-----------------------------------------------------------------------------------------------
%prep
-%setup
+%setup -n libv3270-%{version}
NOCONFIGURE=1 ./autogen.sh
diff --git a/win/mingw64/_service b/win/mingw64/_service
new file mode 100644
index 0000000..840b7a2
--- /dev/null
+++ b/win/mingw64/_service
@@ -0,0 +1,26 @@
+
+
+
+
+ enable
+ disable
+ @PARENT_TAG@
+ http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git
+ git
+
+
+
+
+
+
+ *.tar
+ xz
+
+
+
+
+
diff --git a/win/mingw64/_service.xml b/win/mingw64/_service.xml
deleted file mode 100644
index 4e84203..0000000
--- a/win/mingw64/_service.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
- enable
- disable
- %ct
-
- http://softwarepublico.gov.br/gitlab/pw3270/libv3270.git
- git
- mingw64-libv3270-5_2
-
-
-
-
- *.tar
- */win/mingw64-libv3270.spec
- mingw64-libv3270-5_2.spec
-
-
-
- *.tar
- xz
-
-
-
-
-
diff --git a/win/mingw64/libv3270.spec b/win/mingw64/libv3270.spec
index e4a239a..7d08fdf 100644
--- a/win/mingw64/libv3270.spec
+++ b/win/mingw64/libv3270.spec
@@ -31,21 +31,21 @@
#---[ Main package ]--------------------------------------------------------------------------------------------------
-Summary: 3270 Virtual Terminal for GTK
+Summary: 3270 Virtual Terminal for GTK
Name: mingw64-libv3270-%{_libvrs}
Version: 5.2
Release: 0
License: GPL-2.0
-Source: %{name}-%{version}.tar.xz
+Source: libv3270-%{version}.tar.xz
-Url: https://portal.softwarepublico.gov.br/social/pw3270/
+Url: https://portal.softwarepublico.gov.br/social/pw3270/
-Group: Development/Libraries/C and C++
-BuildRoot: /var/tmp/%{name}-%{version}
+Group: Development/Libraries/C and C++
+BuildRoot: /var/tmp/%{name}-%{version}
-Provides: mingw64-libv3270
-Conflicts: otherproviders(mingw64-libv3270)
+Provides: mingw64-libv3270
+Conflicts: otherproviders(mingw64-libv3270)
BuildRequires: autoconf
BuildRequires: automake
@@ -116,7 +116,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
#---[ Build & Install ]-----------------------------------------------------------------------------------------------
%prep
-%setup
+%setup -n libv3270-%{version}
NOCONFIGURE=1 ./autogen.sh
--
libgit2 0.21.2