public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hyphen] rawhide: Remove unnecessary BuildRequires from SPEC
@ 2026-06-08  6:57 Parag Nemade
  0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-06-08  6:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hyphen
            Branch : rawhide
            Commit : 45d33af80e085b4ed3922074fc57c04fd74e2873
            Author : Parag Nemade <panemade AT redhat DOT com>
            Date   : 2026-06-05T08:16:21+05:30
            Stats  : +25/-20 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/hyphen/c/45d33af80e085b4ed3922074fc57c04fd74e2873?branch=rawhide

            Log:
            Remove unnecessary BuildRequires from SPEC

Re-write SPEC file

---
diff --git a/hyphen.spec b/hyphen.spec
index ed5f332..83d3812 100644
--- a/hyphen.spec
+++ b/hyphen.spec
@@ -1,50 +1,45 @@
-Name:      hyphen
-Summary:   A text hyphenation library
-Version:   2.8.8
-Release:   28%{?dist}
-Source:    http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
-URL:       http://hunspell.sf.net
-License:   GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1
-BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
+Name:          hyphen
+Summary:       A text hyphenation library
+Version:       2.8.8
+Release:       29%{?dist}
+Source:        https://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
+URL:           https://sourceforge.net/projects/hunspell/
+License:       GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1
+BuildRequires: perl-interpreter
+BuildRequires: libtool
+BuildRequires: make
 %ifarch %{valgrind_arches}
 BuildRequires: valgrind
 %endif
-BuildRequires: make
 
 %description
 Hyphen is a library for high quality hyphenation and justification.
 
 %package devel
-Requires: hyphen = %{version}-%{release}
 Summary: Files for developing with hyphen
+Requires: hyphen = %{version}-%{release}
 
 %description devel
 Includes and definitions for developing with hyphen
 
 %package en
-Requires: hyphen
 Summary: English hyphenation rules
 BuildArch: noarch
+Requires: hyphen
 
 %description en
 English hyphenation rules.
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %configure --disable-static
 make %{?_smp_mflags}
-
-%check
-make check
-%ifarch %{valgrind_arches}
-VALGRIND=memcheck make check
-%endif
+%make_build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+%make_install
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 
 pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
@@ -54,11 +49,17 @@ for lang in $en_US_aliases; do
 done
 popd
 
+%check
+make check V=1
+%ifarch %{valgrind_arches}
+VALGRIND=memcheck make check
+%endif
 
 %ldconfig_scriptlets
 
 %files
 %doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
+%license COPYING
 %{_libdir}/*.so.*
 %dir %{_datadir}/hyphen
 
@@ -71,6 +72,10 @@ popd
 %{_bindir}/substrings.pl
 
 %changelog
+* Thu Jun 04 2026 Parag Nemade <panemade AT redhat DOT com> - 2.8.8-29
+- Remove unnecessary BuildRequires from SPEC
+- Re-write SPEC file
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-28
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-08  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08  6:57 [rpms/hyphen] rawhide: Remove unnecessary BuildRequires from SPEC Parag Nemade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox