public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-libtiff] f43: Fix %%files, modernize spec
Date: Tue, 14 Jul 2026 06:01:11 GMT	[thread overview]
Message-ID: <178400887148.1.7097387867857900390.rpms-mingw-libtiff-867a59f08b82@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mingw-libtiff
Branch : f43
Commit : 867a59f08b82a2dda5ca4ed20cb467657b30c952
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2025-12-08T12:36:35+01:00
Stats  : +22/-20 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-libtiff/c/867a59f08b82a2dda5ca4ed20cb467657b30c952?branch=f43

Log:
Fix %%files, modernize spec

---
diff --git a/mingw-libtiff.spec b/mingw-libtiff.spec
index 818a679..c73eb9c 100644
--- a/mingw-libtiff.spec
+++ b/mingw-libtiff.spec
@@ -1,4 +1,4 @@
-%?mingw_package_header
+%{?mingw_package_header}
 
 Summary:        MinGW Windows port of the LibTIFF library
 Name:           mingw-libtiff
@@ -10,17 +10,17 @@ Source:         https://download.osgeo.org/libtiff/tiff-%{version}.tar.xz
 
 BuildArch:      noarch
 
-BuildRequires: make
+BuildRequires:  make
 BuildRequires:  mingw32-zlib
 BuildRequires:  mingw32-libjpeg-turbo
-BuildRequires:  mingw32-filesystem >= 95
+BuildRequires:  mingw32-filesystem
 BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-gcc-c++
 BuildRequires:  mingw32-binutils
 
 BuildRequires:  mingw64-zlib
 BuildRequires:  mingw64-libjpeg-turbo
-BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw64-filesystem
 BuildRequires:  mingw64-gcc
 BuildRequires:  mingw64-gcc-c++
 BuildRequires:  mingw64-binutils
@@ -77,11 +77,11 @@ Requires:       mingw64-libtiff = %{version}-%{release}
 Static version of the MinGW Windows LibTIFF library.
 
 
-%?mingw_debug_package
+%{?mingw_debug_package}
 
 
 %prep
-%setup -q -n tiff-%{version}
+%autosetup -p1 -n tiff-%{version}
 
 
 %build
@@ -92,27 +92,28 @@ export MINGW64_CFLAGS="%{mingw64_cflags} -fno-strict-aliasing"
 
 
 %install
-%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
+%mingw_make_install DESTDIR=%{buildroot}
 
 # remove docs
-rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/doc
-rm -rf $RPM_BUILD_ROOT%{mingw32_mandir}
-rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/doc
-rm -rf $RPM_BUILD_ROOT%{mingw64_mandir}
+rm -rf %{buildroot}%{mingw32_datadir}/doc
+rm -rf %{buildroot}%{mingw32_mandir}
+rm -rf %{buildroot}%{mingw64_datadir}/doc
+rm -rf %{buildroot}%{mingw64_mandir}
 
 # remove binaries
-rm -f $RPM_BUILD_ROOT%{mingw32_bindir}/*.exe
-rm -f $RPM_BUILD_ROOT%{mingw64_bindir}/*.exe
+rm -f %{buildroot}%{mingw32_bindir}/*.exe
+rm -f %{buildroot}%{mingw64_bindir}/*.exe
 
 # Drop all .la files
-find $RPM_BUILD_ROOT -name "*.la" -delete
+find %{buildroot} -name "*.la" -delete
 
 
 # Win32
 %files -n mingw32-libtiff
-%doc COPYRIGHT README.md RELEASE-DATE VERSION TODO ChangeLog
-%{mingw32_bindir}/libtiff-5.dll
-%{mingw32_bindir}/libtiffxx-5.dll
+%doc README.md RELEASE-DATE VERSION TODO ChangeLog
+%license LICENSE.md
+%{mingw32_bindir}/libtiff-6.dll
+%{mingw32_bindir}/libtiffxx-6.dll
 %{mingw32_includedir}/*
 %{mingw32_libdir}/libtiff.dll.a
 %{mingw32_libdir}/libtiffxx.dll.a
@@ -124,9 +125,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
 
 # Win64
 %files -n mingw64-libtiff
-%doc COPYRIGHT README.md RELEASE-DATE VERSION TODO ChangeLog
-%{mingw64_bindir}/libtiff-5.dll
-%{mingw64_bindir}/libtiffxx-5.dll
+%doc README.md RELEASE-DATE VERSION TODO ChangeLog
+%license LICENSE.md
+%{mingw64_bindir}/libtiff-6.dll
+%{mingw64_bindir}/libtiffxx-6.dll
 %{mingw64_includedir}/*
 %{mingw64_libdir}/libtiff.dll.a
 %{mingw64_libdir}/libtiffxx.dll.a

                 reply	other threads:[~2026-07-14  6:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178400887148.1.7097387867857900390.rpms-mingw-libtiff-867a59f08b82@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox